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/)
-   -   writing phi as postProcessing (https://www.cfd-online.com/Forums/openfoam-post-processing/119191-writing-phi-postprocessing.html)

immortality June 11, 2013 14:27

writing phi as postProcessing
 
Hi
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: http://www.cfd-online.com/Forums/ope...tml#post418191 - 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,
Bruno

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 10:15.