|
[Sponsors] |
Running two journal files in series (or calling another journal from within a journal |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 1, 2018, 09:56 |
Running two journal files in series (or calling another journal from within a journal
|
#1 |
Senior Member
nm
Join Date: Mar 2013
Posts: 100
Rep Power: 13 |
Is it possible? I have large number of files I want two run two scripts on. Instead of making one huge script I wrote two, one of which would call the other.
However fluent gives the following error message": "Error: A journal is currently open for input or output. You cannot read and write a journal at the same time, or read two journals simultaneously. Error Object: #f" Is there a workaround to tackle this? Thanks. |
|
August 1, 2018, 10:24 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
You cannot open a journal file inside a journal file using read journal.
I guess there are lots of hack but are you overthinking it? You simply need to merge the two journal files together before you run, which can be done with simple scripts in linux or windows. You still can write and maintain your .jou files separately the way you have been doing, just merge on-demand. Recursively using windows cmd or also check here basically some form of copy *.jou newjournal.jou if you have lots of journal files. If you have exactly 2 journal files you'd do something like this: copy "file1.jou"+"file2.jou" file3.jou |
|
August 1, 2018, 10:53 |
|
#3 |
Senior Member
nm
Join Date: Mar 2013
Posts: 100
Rep Power: 13 |
Thank you. That's what I ended up doing, but the file is just...200-300 lines now. Hard to debug. But fortunately it works and problem solved for now.
|
|
Tags |
fluent 14 to fluent 15., journal file, scheme files |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX-Build journal files | KG | CFX | 2 | November 18, 2002 08:03 |
help needed about phase change | Yanhu Guo | Main CFD Forum | 4 | January 24, 2001 00:16 |
Experimental Repository for UDFs, Journal Files and Scheme Scripts | Jonas Larsson | FLUENT | 0 | March 5, 2000 16:36 |
journal files with CFX4.3 | jy | CFX | 2 | December 16, 1999 07:54 |
Gambit Journal File Scripts, Public Database Needed? | Jonas Larsson | Main CFD Forum | 13 | March 2, 1999 08:25 |