CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   How to divide all entries in 0/p by rho (

lentschi March 16, 2011 09:03

How to divide all entries in 0/p by rho

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.


All times are GMT -4. The time now is 12:52.