Skip to content

Conversation

prmukherj
Copy link
Collaborator

@prmukherj prmukherj commented Aug 11, 2022

Users / Developers will have option to either provide the fluent.exe file path or set the Ansys version manually.

Sample use case:

1. 
>>> pyfluent.set_ansys_version(version=pyfluent.FluentVersion.version_23R1)
>>> meshing = pyfluent.launch_fluent(precision="double", processor_count=2, mode="meshing")
2.
>>> pyfluent.set_fluent_path("---path---\fluent.exe")  # provide path in form of string or pathlib.Path
>>> solver = pyfluent.launch_fluent(precision="double", processor_count=2, mode="solver")

In a certain case where both "set_ansys_version()" and "set_fluent_path()" are used together, then the path set to fluent.exe will have precedence.

@prmukherj prmukherj linked an issue Aug 11, 2022 that may be closed by this pull request
@prmukherj prmukherj marked this pull request as ready for review August 11, 2022 09:55
@prmukherj prmukherj merged commit 6de8f84 into main Aug 11, 2022
@prmukherj prmukherj deleted the feat/set_fluent_version branch August 11, 2022 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set the fluent version programmatically

3 participants