CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   storing variable value at a particular point (http://www.cfd-online.com/Forums/cfx/22728-storing-variable-value-particular-point.html)

prabhu June 19, 2006 05:41

storing variable value at a particular point
 
Hi, How can we store a variable value for a particular point in the domain, at different time steps? The CFX-Pre stores the variable values for all points.

Thanks

Joe June 19, 2006 07:14

Re: storing variable value at a particular point
 
User fortran. Create your own variables. Read the "Memory management" section of the manual.

Robin June 19, 2006 08:37

Re: storing variable value at a particular point
 
What exactly are you trying to do?

prabhu June 19, 2006 23:33

Re: storing variable value at a particular point
 
I have to store the values of pressure and velocity, only at a point (monitor point) on the axis at the inlet of a nozzle for each timestep. So that i can plot the variables with respect to time. I think that values at monitor points(created) will not be stored for post processing. Values are stored for the whole domain and it amounts to lot of memory.


Robin June 20, 2006 19:50

Re: storing variable value at a particular point
 
Values at monitor points are stored to the MON file at every iteration. At the end of the run, the mon file is embedded into the res file (which is in fact an archive). When you open the RES file in the Solver Manager, it plots the contents of the MON file.

So... create your monitor point and monitor the data you are interested in. After the run has finished, right click on the plot in the Solver Manager and you can output your data to a .csv file.

Just keep in mind that if you do not include the trn files and you see something interesting in the monitor data, you will not be able to go back and view the results at those timesteps. At the very least, I recommend calculating transient statistics.

Regards, Robin


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