|
[Sponsors] |
June 3, 2013, 06:22 |
Name of the CFX temporary working directory
|
#1 |
New Member
Robert
Join Date: Apr 2013
Posts: 24
Rep Power: 13 |
Hello,
i'm doing a simulation with Re-Mesh. While the Re-Mesh process i want to export the current Monitor data with cfx5mondata.exe. Therefor i have to specify the temporary CFX working path, but it alway changes. <specified temporary CFX directory>/<simulation name>_<CHANGING NUMBER>_Working/dp0/CFX-7/CFX/Work1 Is there any rule for the changing number? It seems like it changes every day. Regards Robert |
|
June 3, 2013, 10:12 |
|
#2 | |
Senior Member
Join Date: Dec 2009
Posts: 131
Rep Power: 20 |
That directory structure on the windows platform?
The Changing Number you mention should coincide with the number assigned to the current running def file in that folder. If the windows platform is behaving like the linux platform (stopped using Windows about 8 years ago), that number starts at 001 and if an .out file (or others, .dir, .res, .trn) already exists in the folder using the same def file name (or specified during the cfx5solve execution with -name or -fullname), the number is incremented sequentially. Easiest is to create a wrapper for the cxfx5mondata that parses the folder for the .dir folderd that exist and determines the latest by time. If you have more than one active run per folder, have fun doing it pragmatically unless you want them all. If other .dir folders exist and there is only a single, active calculation, the additional .dir folders are from abnormally terminated jobs. Quote:
|
||
June 4, 2013, 04:54 |
|
#3 |
New Member
Robert
Join Date: Apr 2013
Posts: 24
Rep Power: 13 |
Thank you for your reply.
I tried your method and it worked. But later i noticed, that the remeshing process takes place in this working directory. That's why the pwd command in the replay file is sufficient to get the path. Without your help, i couldnt have reached this solution. Thank you. Regards Robert |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 05:20 |
[swak4Foam] is this pattern and message of compiling groovyBC 0.2.1 ok? | immortality | OpenFOAM Community Contributions | 3 | May 13, 2013 11:15 |
Re : Problem Installing OpenFOAM on Centos -5.3 | mohanphy | OpenFOAM Installation | 1 | February 7, 2010 20:09 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 10:50 |
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise | mbeaudoin | OpenFOAM Installation | 20 | June 17, 2008 07:43 |