Skip to content

Conversation

@prmukherj
Copy link
Collaborator

Context

What was the situation or problem before this change?

Change Summary

What changes were made?

Rationale

Why was this approach taken?

Impact

What parts of the system or workflows are affected?

@github-actions github-actions bot added the documentation Documentation related (improving, adding, etc) label Nov 25, 2025
@mayankansys mayankansys self-assigned this Dec 19, 2025
@seanpearsonuk
Copy link
Collaborator

As it stand the cheat-sheet looks good to me. Some minor suggestions:

  1. Please have a look at the styling, i.e. line lengths, etc. of the rendered sheet.
  2. I think it will be better to move all the built-in settings import to a single: from ansys.fluent.core.solver import *, let's take other's view on this as well and decide.
  3. Some aliases needs to be implemented as discussed.
  4. Have a final look into the consistency of the rendered doc.

Finally when done please publish the PR so that others can view as well. Thank you
cc. @seanpearsonuk, @mkundu1, @hpohekar

cheat_sheet.pdf

I like point 2. If we can maximse use of import *, it can also make some of the Python more compact.

@seanpearsonuk
Copy link
Collaborator

seanpearsonuk commented Jan 20, 2026

I have just mentioned to @mayankansys that wherever a comment is removed, a blank line should be retained in its place. This applies to all sections, including meshing workflow.

@prmukherj prmukherj marked this pull request as ready for review January 22, 2026 05:30
@prmukherj prmukherj requested a review from mkundu1 as a code owner January 22, 2026 05:30
Copilot AI review requested due to automatic review settings January 22, 2026 05:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the PyFluent cheat sheet documentation to provide a more streamlined and modernized reference guide.

Changes:

  • Restructured the cheat sheet into focused sections (Quick Start, Session Management, Meshing Workflow, Physics Setup, Solution, Post-Processing)
  • Simplified code examples to use modern PyFluent APIs with shorter, more practical snippets
  • Added imports section demonstrating the use of ansys.units.VariableCatalog for field references

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
doc/source/cheatsheet/cheat_sheet.qmd Comprehensive reorganization and modernization of the cheat sheet with condensed examples and improved structure
doc/changelog.d/4640.documentation.md Added changelog entry for the cheat sheet upgrade

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mayankansys mayankansys linked an issue Jan 22, 2026 that may be closed by this pull request
Copilot AI review requested due to automatic review settings January 22, 2026 07:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mayankansys mayankansys enabled auto-merge (squash) January 22, 2026 08:00
@mayankansys mayankansys merged commit 527d8b6 into main Jan 22, 2026
33 checks passed
@mayankansys mayankansys deleted the docs/upgrade_cheatsheet branch January 22, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation related (improving, adding, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cheat sheet improvements

7 participants