|
[Sponsors] |
July 18, 2012, 06:11 |
journal file:write-case-data
|
#1 |
Senior Member
Join Date: Feb 2011
Posts: 140
Rep Power: 15 |
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 /q /solve/dual-time-iterate 50 200 /q /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! Lilly |
|
July 18, 2012, 06:46 |
|
#2 |
Senior Member
Marion
Join Date: Jul 2012
Location: France
Posts: 122
Rep Power: 14 |
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? Marion. |
|
July 18, 2012, 10:14 |
|
#3 |
Member
Andrew Coughtrie
Join Date: May 2011
Posts: 51
Rep Power: 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" Andy |
|
September 9, 2012, 02:51 |
|
#4 |
New Member
manuel
Join Date: Mar 2012
Posts: 14
Rep Power: 14 |
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 ;/solve/initialize/initialize-flow ; Calculate 50 iterations it 50 ; Write data file wd example50.dat ; Calculate another 50 iterations it 50 ; Write another data file wd example100.dat ; Exit FLUENT exit yes Greetings |
|
September 10, 2012, 02:14 |
|
#5 |
Senior Member
Flavio
Join Date: Sep 2011
Location: Brescia, Italy
Posts: 181
Rep Power: 15 |
Hi manuels,
in the journal you posted here I see the semicolon before the command: ;/solve/initialize/initialize-flow maybe you have forgotten to cancel it
__________________
Bionico |
|
June 28, 2021, 16:17 |
|
#6 |
Member
Adithya
Join Date: May 2021
Posts: 73
Rep Power: 4 |
Hello
I am also having this same problem. Basically, I have one script in which I just change the name of the case and data files. It works well for 2 other simulations but on one sim it doesn't write the data file. The solution converges and closes. JUst does not write |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reconstruction of the parallel case with dynamic mesh | makaveli_lcf | OpenFOAM Post-Processing | 7 | October 18, 2023 11:28 |
Pressure instabilities with interDyMFoam for the floatingObject case | nbadano | OpenFOAM Running, Solving & CFD | 15 | October 15, 2021 06:35 |
Exporting fluent case data to Ensight/paraview | aerogt3 | FLUENT | 8 | May 7, 2012 09:15 |
save PARTICLE information in CASE and DATA | Alex | FLUENT | 1 | September 1, 2010 10:01 |
Error in Saving either or both case and data files | Fascal | FLUENT | 4 | July 18, 2010 11:12 |