Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add doc for journal conversion [skip tests] #3791

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hpohekar
Copy link
Collaborator

@hpohekar hpohekar commented Feb 28, 2025

closes #3785

image

@github-actions github-actions bot added the documentation Documentation related (improving, adding, etc) label Feb 28, 2025
@hpohekar hpohekar enabled auto-merge (squash) February 28, 2025 14:48
>>> solver = pyfluent.launch_fluent(topy="my_journal.jou")
>>> solver.exit()
>>> solver = pyfluent.launch_fluent(topy=["my_journal1.jou", "my_journal2.jou"])
>>> solver.exit()
Copy link
Contributor

@mkundu1 mkundu1 Feb 28, 2025

Choose a reason for hiding this comment

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

@hpohekar topy should be used in conjunction with journal_file_names argument.

  1. launch_fluent(journal_file_names="x.jou", topy=True) will write the converted Python commands from x.jou to x.py.
  2. launch_fluent(journal_file_names="x.jou", topy="a.py") will write the converted Python commands from x.jou to a.py.
  3. launch_fluent(journal_file_names=["x.jou", "y.jou"], topy=True) will write the converted Python commands from x.jou and then from y.jou to a single file x_y.py.
  4. launch_fluent(journal_file_names=["x.jou", "y.jou"], topy="a.py") will write the converted Python commands from x.jou and then from y.jou to a.py.

Corresponding Fluent doc: https://ansyshelp.ansys.com/public/account/secured?returnurl=//Views/Secured/corp/v251/en/fluent_beta_doc/flu_ug_sec_python_console_interactive.html

@seanpearsonuk seanpearsonuk self-requested a review February 28, 2025 17:17
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.

Fluent TUI Journal -> PyFluent Settings Command Conversion Doc
4 participants