CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   How to divide all entries in 0/p by rho (http://www.cfd-online.com/Forums/openfoam/86176-how-divide-all-entries-0-p-rho.html)

lentschi March 16, 2011 09:03

How to divide all entries in 0/p by rho
 
Hello,

as you can read in my title, I want to manipulate all entries in the 0/p-file - aspecially I am going to divide all entries by rho.
cgnsToFoam creates a p-file and changes the unit from Pa to mē/sē perfectly but does not divide the entires by rho. So all enties are too high.
I have confirmed it by comparing the entries of the 0/p-file with the CFX-data in post - and they are identically!

Does anyone know, how I can reach this to divide all entires by rho??

I hope, anybody can help me!

Regards Markus

lentschi March 16, 2011 14:42

Ok, I just see the option -rho value in cgnsToFoam.

Sorry.


All times are GMT -4. The time now is 04:48.