Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Fluids HPC – Fluent error Reply To: HPC – Fluent error

pv00170
Subscriber

When I try to run it using PyFluent (script) instead of the HPC (Sbatch + script) it works well. 

The pyFluent script is similar:

import ansys.fluent.core as pyfluent
solver = pyfluent.launch_fluent(precision=”double”, version=”2d”, processor_count=6, mode=”solver”)
solver.tui.file.read_case(‘URANS.cas.h5’)
solver.tui.file.read_data(‘URANS.dat.h5’)
solver.tui.define.models.unsteady_2nd_order(“yes”)
solver.tui.solve.dual_time_iterate(1, 2)
solver.tui.file.write_case(‘Results.cas.h5’, overwrite=True)
solver.tui.file.write_data(‘Results.dat.h5’, overwrite=True)
print(“Done!”)

The only difference is that HPC fails to compile whereas pyFluent works.

[bingo_chatbox]