CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   journal file:write-case-data (

Lilly July 18, 2012 06:11

journal file:write-case-data
Dear all,

I want to start a transient Fluent-simulation as a batch job and therefore wrote a journal file.

/file/read-case-data/ D:\TestFile.cas
/solve/set/time-step 0.01
/solve/dual-time-iterate 50 200
/file/write-case-data/ D:\TestFileComplete.cas

But for any reason I cannot make fluent save the final case and data files as denoted in the last lines of my journal file. I don't get any error message, but fluent just stops after the calculation. I already tried a lot of variations of the last lines.
Does anybody have an idea?
Thanks a million for all ideas and help!

Marion July 18, 2012 06:46

It won't help you a lot but I just tried your last command line in Fluent and it worked fine for me.
Are you sure you have the writing rights on your D:\ directory?


Andrew.Coughtrie July 18, 2012 10:14

don't bother telling fluent where to put the file, it will put it in the working directory if you just give it a file name, also needs quotes, this should work (see below), if not then try making your working directory something other than the root of D:\ say D:\Test\ root permissions can sometimes cause problems.

/file/write-case-data "solution.cas.gz"


manuels September 9, 2012 02:51

I also write a journal file. It can read the case- and the dat-data but when it wants to initialize the calculation it stops. Can someone help me?

; Read case file
rc propellerviskosimeterFluent.cas
rd propellerviskosimeterFluent.dat
; Initialize the solution
; Calculate 50 iterations
it 50
; Write data file
wd example50.dat
; Calculate another 50 iterations
it 50
; Write another data file
wd example100.dat


Bionico September 10, 2012 02:14

Hi manuels,
in the journal you posted here I see the semicolon before the command:


maybe you have forgotten to cancel it :)

All times are GMT -4. The time now is 18:32.