Slurm submits Fluent and CFX calculation scripts
1. Fluent
First, write the Fluent jou script:
/file/read-case "small_fan.cas.h5"
/solve/initialize/hyb-initialization
/solve/iterate 100
/file/write-case "small_fan_results.cas.h5" ok
/file/write-data "small_fan_results.dat.h5" ok
/exit ok
This jou file is very simple. It tells Fluent which file to read, how to initialize, how many steps to iterate, and how to save until the final exit. If the calculation is more complicated, such as involving UDF loading or special condition initialization settings, you need to add corresponding command lines. If you are not familiar with how to write TUI commands, you can record scripts through the command line window under the Fluent graphical interface.