CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Interrupting a Journal File

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

LinkBack Thread Tools Display Modes
Old   December 30, 2010, 14:25
Default Interrupting a Journal File
New Member
Join Date: Dec 2010
Posts: 16
Rep Power: 8
svp is on a distinguished road
Hi All,

I am working with the legacy version of FLUENT and have been trying to use journal files for automating my simulations. I had a small question with regards to usage of journal files.

Is there a way to interrupt a journal file while it is running, check a few things (verify contours etc.) and continue running the journal file from where it was interrupted?

I do understand that pressing Ctrl+C would interrupt the process but how do I revive the journal file from the point of interruption?

I would appreciate your response.

svp is offline   Reply With Quote

Old   February 16, 2011, 08:10
New Member
Martin Knob
Join Date: Feb 2011
Posts: 6
Rep Power: 8
makula is on a distinguished road
somewhat helpful to you could be placing a scheme command (cx-pause), which will wait for you to press any key (as was described in This, however does not allow you to check contours or anything (GUI is inactive).
As I am now solving the same problem now, I found a command
(if (= (read) 1) (display "...continue simualtion") (ti-menu-load-string "/exit"))
which could be helpful eg. after Grid check (if anything goes wrong, you simply quit Fluent and can then fix the problem). HOWEVER- this works good, if you simply type this to Fluent's command line. If you on the other hand write exactly the same in a journal file, it does not work. I tried a more complicated version of
(rp-var-define 'a 0 'integer #f)
(display "One for continue, other for exit")
(rpsetvar 'a (read))
(if (= (rpgetvar 'a) 1) (display "...continue simulation") (ti-menu-load-string "/exit"))
but again- typing it works, but reading it from journal causes error.
So, I recommend you (cx-pause), but if anyone could make this (if) sequence work, I would also be grateful;-)
makula is offline   Reply With Quote

Old   February 16, 2011, 09:00
New Member
Join Date: Dec 2010
Posts: 16
Rep Power: 8
svp is on a distinguished road
Thank you for your reply. I shall give it a try and see.
svp is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47
Problem with Boundary Conditions using a journal file T.S. FLUENT 3 July 27, 2009 08:31
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Gambit Journal File Scripts, Public Database Needed? Jonas Larsson Main CFD Forum 13 March 2, 1999 08:25

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