|
[Sponsors] |
November 5, 2011, 11:43 |
CFX - Monitor points - Automatic Export csv
|
#1 |
New Member
Nasir Mehmood
Join Date: Mar 2011
Posts: 10
Rep Power: 15 |
Is there any way to export monitor points plot automatically in csv format and name the file automatically.
I can define the required expressions in CFX PRE and run the solution, when the solution is complete then by clicking on the user point tab right click and press export results in csv and then name the file. I have more than 4000 result files so its time consuming to open every file in CFX POST and define expressions there and then note the values and put them manually in excel file. Can i do this process automatically through scripting ? Is scripting available for CFX solver ? Is there any file that is saved anywhere that has the values for monitor points already defined in CFX PRE ? Help me guys |
|
November 6, 2011, 05:59 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
I think the command line is "cfx5monitor". This allows you to extract monitor point data in a script.
|
|
November 8, 2011, 04:59 |
|
#3 |
New Member
Nasir Mehmood
Join Date: Mar 2011
Posts: 10
Rep Power: 15 |
Can you help me write the cfx5mondata command.
cfx5mondata -res Myresult File name : -dir Directory path where i have saved the res file -varrule "CATEGORY = USER POINT" -out name of the output file when i put the required file names and directory path it gives me error message that the file does not exist. I am running the cfx5mondata.exe by finding its location and then from cmd i go to that folder and run it there. Am i missing something ? |
|
November 8, 2011, 05:19 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
It is a pretty straight foward executable. No doubt you have a simple error like spaces in the file name or something like that.
|
|
November 9, 2011, 23:49 |
|
#5 |
New Member
Nasir Mehmood
Join Date: Mar 2011
Posts: 10
Rep Power: 15 |
Please help me solve this problem. I have more than 4000 files and i don't want to do it manually.
Let me explain in detail about what my current directory structure is. I made a folder c:\test this folder contain my mesh file, CCL file, test.wbpj and folder test_files. In test_files i have folders dp0 and user_files. In dp0 i have folder CFX and designpoint.wbdp file. in CFX folder i have two folders CFX and Post. In CFX folder i have CFX.cfx, CFX.def, CFX_001.res and CFX_001.out Here is how i change the directory and write commands Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\esided>cd C:\Program Files\ANSYS Inc\v130\CFX\bin C:\Program Files\ANSYS Inc\v130\CFX\bin>cfx5mondata -res CFX_001.res : -dir C:\Test\test_files\dp0\CFX\CFX : -varrule "CATEGORY = USER POINT" : -out testing An error has occurred in cfx5mondata: CFX-5 Results file CFX_001.res does not exist C:\Program Files\ANSYS Inc\v130\CFX\bin> I am attaching the screen shot of my folder where i have the result file. |
|
November 10, 2011, 05:32 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
You are running the executable and calling for CFX_001.res, but that file is in C:\Test\test_files... (etc).
I recommend you start the command line from the CFX5 launcher. Then the path is built in and you don't need to chase the executables. |
|
November 11, 2011, 22:52 |
|
#7 |
New Member
Nasir Mehmood
Join Date: Mar 2011
Posts: 10
Rep Power: 15 |
Thx a lot i have done it WOW ......
Now one more question can i make a plane in CFX-pre? I want to calculate mass flow rate inside my geometry. How can i define a expression to calculate mass flow rate, help me out plzzzzz |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] C-Mesh, Blocking works, but export and import (to CFX) does not | Karatix | ANSYS Meshing & Geometry | 15 | August 14, 2013 01:37 |
Pros and Cons for CFX, CFdesign, COMSOL | Val | Main CFD Forum | 3 | June 10, 2011 03:20 |
export mesh made in ICEM to cfx | Morten Andersen | Main CFD Forum | 2 | October 26, 2006 23:52 |
File export from CFX 5.3 | Sinjae Hyun | CFX | 1 | July 12, 2000 10:20 |
Automatic gridding in CFX | Oliver Breitfeld | Main CFD Forum | 4 | October 25, 1999 08:28 |