CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Data manipulation (https://www.cfd-online.com/Forums/openfoam-post-processing/136551-data-manipulation.html)

superian May 30, 2014 17:33

Data manipulation
 
Hello everyone,

I am trying to plot dimensionless temperature vs a height ratio at the center of my 2D mesh. I want both the height ratio and dimensionless temperature to be between 0 and 1. To do this I need to define a term, theta, which is calculated from temperature.

theta=(T - Tmin) / (Tmax - Tmin)
where T has been solved for, and Tmin and Tmax are constants.

I'm thinking I should use foamCalc for this but am unsure. If anyone can help that would be great!

Thank you,

Ian


All times are GMT -4. The time now is 14:16.