CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

journal file:write-case-data

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2012, 06:11
Default journal file:write-case-data
  #1
Senior Member
 
Join Date: Feb 2011
Posts: 140
Rep Power: 15
Lilly is on a distinguished road
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
Lilly is offline   Reply With Quote

Old   July 18, 2012, 06:46
Default
  #2
Senior Member
 
Marion
Join Date: Jul 2012
Location: France
Posts: 122
Rep Power: 14
Marion is on a distinguished road
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.
Marion is offline   Reply With Quote

Old   July 18, 2012, 10:14
Default
  #3
Member
 
Andrew Coughtrie
Join Date: May 2011
Posts: 51
Rep Power: 14
Andrew.Coughtrie is on a distinguished road
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
Andrew.Coughtrie is offline   Reply With Quote

Old   September 9, 2012, 02:51
Default
  #4
New Member
 
manuel
Join Date: Mar 2012
Posts: 14
Rep Power: 14
manuels is on a distinguished road
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
manuels is offline   Reply With Quote

Old   September 10, 2012, 02:14
Default
  #5
Senior Member
 
Bionico's Avatar
 
Flavio
Join Date: Sep 2011
Location: Brescia, Italy
Posts: 181
Rep Power: 15
Bionico is on a distinguished road
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
Bionico is offline   Reply With Quote

Old   June 28, 2021, 16:17
Default
  #6
Member
 
Adithya
Join Date: May 2021
Posts: 73
Rep Power: 4
Adithya_11 is on a distinguished road
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
Adithya_11 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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