Error when launching fluent? #2657
alialmakhmari
started this conversation in
General
Replies: 1 comment
-
The preferred way of launching Fluent is to use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am launching fluent by the following two lines:
from ansys.fluent.core.launcher.launcher import create_launcher
from ansys.fluent.core.launcher.pyfluent_enums import LaunchMode
standalone_solver_launcher = create_launcher(LaunchMode.STANDALONE,product_version="22.2.0",precision="double", version="3d", processor_count=50, mode="solver",ui_mode="hidden_gui",graphics_driver="FluentWindowsGraphicsDriver")
standalone_solver_session = standalone_solver_launcher()
However, the first line makes me the following error:
File ~\AppData\Roaming\Python\Python39\site-packages\ansys\fluent\core\launcher\standalone_launcher.py:201 in init
self.new_session = self.mode.value[0]
AttributeError: 'str' object has no attribute 'value'
Any help is appreciated
Beta Was this translation helpful? Give feedback.
All reactions