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

rhoThermo.correct()'s definition

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 28, 2015, 05:38
Default rhoThermo.correct()'s definition
  #1
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 675
Rep Power: 8
sharonyue is on a distinguished road
Hello guys,

Im looking for rhoThermo.correct()'s definition.

In class rhoThermo.H, fluidThermo.H, basicTHermo.H,C. I did not find the definition. I only find a declaration in basicThermo.H:

Code:
 virtual void correct() = 0;
Anyone know where is the definition of this function?

Thanks
__________________
Im the translator of OpenFOAM User Guide Chinese Edition! But always newbie on CFD.
Never too old to learn CFD. Worship these CFD experts.
sharonyue is offline   Reply With Quote

Old   June 30, 2015, 09:44
Default
  #2
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 675
Rep Power: 8
sharonyue is on a distinguished road
Hello?....

Okay, I solved this, There is an rhoThermos.C file, which use makeThermo.H to add runtime selection mechanism. If in the case, heRhoThermo is defined, it will look for this correct() function in heRhoThermo.C file.
__________________
Im the translator of OpenFOAM User Guide Chinese Edition! But always newbie on CFD.
Never too old to learn CFD. Worship these CFD experts.

Last edited by sharonyue; June 30, 2015 at 11:36.
sharonyue is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with residual and their definition! batta31 OpenFOAM Running, Solving & CFD 4 April 1, 2013 11:01
cannot find function definition in openfoam conceptone OpenFOAM 2 August 12, 2012 17:18
(AutoGRID 5) Problem in Geometry definition of propeller venkat_aero2007 NUMECA 14 July 31, 2012 14:05
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
OpenFOAM14 for Mac OSX Darwin 104 gschaider OpenFOAM Installation 118 July 20, 2008 05:19


All times are GMT -4. The time now is 12:30.