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

Name of the CFX temporary working directory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2013, 05:22
Default Name of the CFX temporary working directory
  #1
New Member
 
Robert
Join Date: Apr 2013
Posts: 24
Rep Power: 12
Axlex is on a distinguished road
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
Axlex is offline   Reply With Quote

Old   June 3, 2013, 09:12
Default
  #2
Senior Member
 
Join Date: Dec 2009
Posts: 131
Rep Power: 19
mjgraf is on a distinguished road
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:
Originally Posted by Axlex View Post
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
mjgraf is offline   Reply With Quote

Old   June 4, 2013, 03:54
Default
  #3
New Member
 
Robert
Join Date: Apr 2013
Posts: 24
Rep Power: 12
Axlex is on a distinguished road
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
Axlex is offline   Reply With Quote

Reply


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
[CGNS] CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 137 December 14, 2018 04:20
[swak4Foam] is this pattern and message of compiling groovyBC 0.2.1 ok? immortality OpenFOAM Community Contributions 3 May 13, 2013 10:15
Re : Problem Installing OpenFOAM on Centos -5.3 mohanphy OpenFOAM Installation 1 February 7, 2010 19:09
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 09:50
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43


All times are GMT -4. The time now is 13:36.