CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Monitor Values in Dos prompt (https://www.cfd-online.com/Forums/cfx/68919-monitor-values-dos-prompt.html)

Luk_Fiz October 6, 2009 08:23

Monitor Values in Dos prompt
 
Hi all,
I am performing series of steady-state simulations with changing pressures (to take the characterization of some fluid arrangement). I am observing some output paramaeters set as monitors. I am starting solver from dos prompt in win xp, for different .def files.
I am wondering if it is possible to observe the value of the moniotr points in dos (not to start solver in manula mode) during iterations and possibly write the values into some txt file?. I know that it is possible to extract the monitor points from .out files with cfx5dfile but it would be much more convinient to automatically see the monitor point value on screen during solving.

Thanks.
Luk

longbow October 6, 2009 13:50

CFX-12 has a new command to extract any monitor point you want to a text file. The name of command is: cfx5mondata.

Saima June 13, 2012 18:08

Hello Guys,


I want to do the smae thing but instead of user define wants to know the U momentum and mass residual.


I have found command:


"C:\Program Files\ANSYS Inc\v130\CFX\bin\cfx5mondata" -res R67_150k_001.res-varlist "RESIDUAL, RMS, U-Mom; RESIDUAL, RMS, V-Mom" >variables.csv


But iot is giving me follwoing error:


Exporter error:
data::notFound: MonitorDataExporter::outputData - Requested variable(s) not found:
RESIDUAL, RMS, U-Mom
RESIDUAL, RMS, V-Mom
An error has occurred in cfx5mondata:

C:\Program Files\ANSYS Inc\v130\CFX\bin\winnt-amd64\MonitorDataExporter.exe
could not be started, or exited with return code 255: .



Kindly let me know the right way to get all residuals.


Regards,


Quote:

Originally Posted by longbow (Post 231662)
CFX-12 has a new command to extract any monitor point you want to a text file. The name of command is: cfx5mondata.


longbow June 14, 2012 14:59

It's more than likely that the name of variable used in -varlist field does not match with the data saved in result file. You can use this command:
cfx5dfile xxx.res -read-monitor >mon
to find out the name which should be used in -varlist field. It may look like this:
RESIDUAL, RMS, (domain name), U-Mom, Momentum and Mass


All times are GMT -4. The time now is 06:17.