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

Interrupting a Journal File

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 30, 2010, 14:25
Default Interrupting a Journal File
  #1
svp
New Member
 
Join Date: Dec 2010
Posts: 16
Rep Power: 15
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.

Thanks
svp is offline   Reply With Quote

Old   February 16, 2011, 08:10
Default
  #2
New Member
 
Martin Knob
Join Date: Feb 2011
Posts: 6
Rep Power: 15
makula is on a distinguished road
Hi,
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 http://www.cfd-online.com/Forums/flu...ent-batch.html). 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")
(newline)
(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
Default
  #3
svp
New Member
 
Join Date: Dec 2010
Posts: 16
Rep Power: 15
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

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
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 12:47
Problem with Boundary Conditions using a journal file T.S. FLUENT 3 July 27, 2009 09:31
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 07:43
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15: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 10:43.