CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   journal file - problem in initialization (https://www.cfd-online.com/Forums/fluent/115296-journal-file-problem-initialization.html)

hadian March 27, 2013 14:46

journal file - problem in initialization
 
i want to create a small journal file to
1- read case and data
2-initialize a surface (which is my air inlet and the name is air_inlet)
3- do the iteration
4- save the case and data
5- exit
here is my journal file. but it does not work well and give me an error in initialization part.

/file/read-case-data /home/hadian/1.cas
/solve/initialize/compute-defaults/air_inlet
/solve/iterate 10
/file/write-case-data /home/hadian/2
yes
/exit yes
/exit
/quit

blackmask March 28, 2013 02:36

It seems that the command for 2 is missing, see below. I have a vague impression that FLUENT will initialize the flow automatically upon iteration. But you should try to manually add this line to check whether it makes any difference.

Quote:

Originally Posted by hadian (Post 416831)
i want to create a small journal file to
1- read case and data
2-initialize a surface (which is my air inlet and the name is air_inlet)
3- do the iteration
4- save the case and data
5- exit
here is my journal file. but it does not work well and give me an error in initialization part.

/file/read-case-data /home/hadian/1.cas
/solve/initialize/compute-defaults/air_inlet

ONE LINE MISSING HERE
/solve/initialize/initialize-flow


/solve/iterate 10
/file/write-case-data /home/hadian/2
yes
/exit yes
/exit
/quit


hadian March 31, 2013 05:38

it seems that the command "/solve/initialize/compute-defaults/air_inlet" does not initialize on air_inlet surface. i do not know if the command is correct it something should be add to it!!!

blackmask March 31, 2013 20:54

/solve/initialize/compute-defaults/velocity-inlet air_inlet
if you name your inlet boundary "air_inlet"

hadian April 1, 2013 02:16

this is the result:
> /solve/initialize/compute-defaults air_inlet
invalid command [air_inlet]

so there is something wrong!


All times are GMT -4. The time now is 09:50.