Tag Archives: Fluent error

[Solved] Fluent error: invalid command [initialize-flow

Fluent error reporting record

1. invalid command [initialize-flow

. Two files are needed to calculate fluent on the cluster, *.jou and *.cas;
In *.jou, you can input and output file information and execute commands

/file/read-case *.cas
/solve/initialize/initialize-flow 
/solve/iterate 10000
/file/write-data out.dat
exit
yes

Job script, take LSF as an example *.lsf:

#!/bin/sh
APP_NAME=fluent
NP=12
NP_PER_NODE=12
RUN="fluent 3d -g -i input.jou"

Error 1 after submission:

Solution: Check the format of input.jou file, type: set ff after vim, see whether the file is in dos format or unix format, the problem I encountered on my side was caused by the wrong format, and the calculation was normal after changing to unix format.