I am trying to launch Fluent from Python while using the journal_filepath keyword, but it seems like the use of that keyword is not implemented internally.
I will read the journal in a separate command for now.
Traceback (most recent call last):
File "/home/srn/.conda/envs/PyFluent/lib/python3.8/site-packages/ansys/fluent/core/launcher/launcher.py", line 677, in launch_fluent
session.file.read_journal(journal_filepath)
TypeError: call() takes 1 positional argument but 2 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "../fluent_schleife.py", line 102, in
run_fluent(kerne,f"/CFD_NAS/Ablage_Werkzeuge/Entwicklung/PyQueue/2_Laeuft/{FALL_AKTUELL}")
File "../fluent_schleife.py", line 41, in run_fluent
solver=pyfluent.launch_fluent(
File "/home/srn/.conda/envs/PyFluent/lib/python3.8/site-packages/ansys/fluent/core/launcher/launcher.py", line 690, in launch_fluent
raise LaunchFluentError(launch_string) from ex
ansys.fluent.core.launcher.launcher.LaunchFluentError:
Fluent Launch string: /ansys_inc/v232/fluent/bin/fluent 3ddp -t36 -mpi=intel -platform=intel -nm -ssh -pshmem -sifile="/tmp/serverinfo-tb61h_ld.txt" -nm
π Before submitting the issue
π Description of the bug
I am trying to launch Fluent from Python while using the journal_filepath keyword, but it seems like the use of that keyword is not implemented internally. I will read the journal in a separate command for now.
Traceback (most recent call last): File "/home/srn/.conda/envs/PyFluent/lib/python3.8/site-packages/ansys/fluent/core/launcher/launcher.py", line 677, in launch_fluent session.file.read_journal(journal_filepath) TypeError: call() takes 1 positional argument but 2 were given
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "../fluent_schleife.py", line 102, in
run_fluent(kerne,f"/CFD_NAS/Ablage_Werkzeuge/Entwicklung/PyQueue/2_Laeuft/{FALL_AKTUELL}")
File "../fluent_schleife.py", line 41, in run_fluent
solver=pyfluent.launch_fluent(
File "/home/srn/.conda/envs/PyFluent/lib/python3.8/site-packages/ansys/fluent/core/launcher/launcher.py", line 690, in launch_fluent
raise LaunchFluentError(launch_string) from ex
ansys.fluent.core.launcher.launcher.LaunchFluentError:
Fluent Launch string: /ansys_inc/v232/fluent/bin/fluent 3ddp -t36 -mpi=intel -platform=intel -nm -ssh -pshmem -sifile="/tmp/serverinfo-tb61h_ld.txt" -nm
π Steps to reproduce
solver=pyfluent.launch_fluent( precision="double", version="3d", processor_count=kerne, mode="solver", show_gui=True, additional_arguments="-mpi=intel -platform=intel -nm -ssh -pshmem", journal_filepath=journal
π» Which operating system are you using?
Linux
π Which ANSYS version are you using?
23R2
π Which Python version are you using?
3.8
π¦ Installed packages