CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   writing phi as postProcessing (

immortality June 11, 2013 14:27

writing phi as postProcessing
how can write phi after the run in folders.
I use rhoCentralFoam that has phi in itself.
@ Bruno: dear Bruno is it applicable by the same function as "rho" field in prism case?

wyldckat June 15, 2013 16:59

Hi Ehsan,

This is a bit more complicated than using a function object.

The problem is that you no longer want to run a solver, which leads to the need to use another application for re-calculating "phi". Worst is that calculating "phi" depends on whether it's done in compressible or incompressible form...

In theory, the idea would be to base ourselves on the specificHeat application that was done some time ago: - post #17

Then use the code from the solver that you used... was it rhoCentralFoam?

Anyway, I don't know exactly what you need here and if you still need it.

Best regards,

immortality June 15, 2013 17:48

dear Bruno I used it in replace of rho and it works now(I started from begining!).:D

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