CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

writing phi as postProcessing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2013, 14:27
Default writing phi as postProcessing
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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.
immortality is offline   Reply With Quote

Old   June 15, 2013, 16:59
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   June 15, 2013, 17:48
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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.
immortality is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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