CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

psi in rhoCentralFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2017, 08:51
Default psi in rhoCentralFoam
  #1
New Member
 
Vachan Potluri
Join Date: Jul 2017
Posts: 29
Rep Power: 8
vachan is on a distinguished road
Hello,

I am having a doubt in rhoCentralFoam. I want to know where does psi get updated. As far as I know, psi gets modified when thermo.correct() is called. In createFields.H, thermo is defined as follows.
Code:
psiThermo& thermo = pThermo();
psiThermo inherits from fluidThermo which inherits from basicThermo. In both psiThermo and fluidThermo, correct is not defined. But even in basicThermo.H, the function correct is left undefined as the code below shows.
Code:
virtual void correct() = 0;
So I am not able to figure out at what other instances can psi be modified. Please help me in this regard.

Thanks, Vachan
vachan 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
"unknown psi type" error in reactingFoam Speno93 OpenFOAM Running, Solving & CFD 2 May 25, 2021 09:15
Modify rhoCentralFoam: other equations of state fivos OpenFOAM Programming & Development 5 July 29, 2020 13:17
How to modify psi value from the solver level (based on reactingFoam)? xinyu OpenFOAM Programming & Development 1 March 30, 2017 23:33
Different define of psi uesd in pEqn.H zqlhzx OpenFOAM Running, Solving & CFD 0 December 24, 2013 08:45
rhoCentralFoam - Problem high difference pressure Nicolas_OF OpenFOAM Running, Solving & CFD 0 June 11, 2012 09:29


All times are GMT -4. The time now is 16:59.