|
[Sponsors] |
June 11, 2013, 14:27 |
writing phi as postProcessing
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
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?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
June 15, 2013, 16:59 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
June 15, 2013, 17:48 |
|
#3 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
dear Bruno I used it in replace of rho and it works now(I started from begining!).
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. Last edited by immortality; June 16, 2013 at 05:42. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Mix AIR and WATER | Elvis1991 | FLUENT | 12 | December 1, 2016 12:28 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 09:34 |
Summing phi over all faces in patch | NewtoFOAM | OpenFOAM Programming & Development | 2 | May 8, 2013 05:37 |
Turbulence Model phi vs phi_ | doug | OpenFOAM Running, Solving & CFD | 4 | November 10, 2009 04:33 |