|
[Sponsors] |
December 30, 2010, 14:25 |
Interrupting a Journal File
|
#1 |
New Member
Join Date: Dec 2010
Posts: 16
Rep Power: 15 |
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 |
|
February 16, 2011, 08:10 |
|
#2 |
New Member
Martin Knob
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
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;-) |
|
February 16, 2011, 09:00 |
|
#3 |
New Member
Join Date: Dec 2010
Posts: 16
Rep Power: 15 |
Thank you for your reply. I shall give it a try and see.
|
|
|
|
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 |