|
[Sponsors] |
June 28, 2015, 05:38 |
rhoThermo.correct()'s definition
|
#1 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17 |
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; Thanks
__________________
My OpenFOAM algorithm website: http://dyfluid.com By far the largest Chinese CFD-based forum: http://www.cfd-china.com/category/6/openfoam We provide lots of clusters to Chinese customers, and we are considering to do business overseas: http://dyfluid.com/DMCmodel.html |
|
June 30, 2015, 09:44 |
|
#2 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17 |
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.
__________________
My OpenFOAM algorithm website: http://dyfluid.com By far the largest Chinese CFD-based forum: http://www.cfd-china.com/category/6/openfoam We provide lots of clusters to Chinese customers, and we are considering to do business overseas: http://dyfluid.com/DMCmodel.html Last edited by sharonyue; June 30, 2015 at 11:36. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with residual and their definition! | batta31 | OpenFOAM Running, Solving & CFD | 5 | July 18, 2016 10:39 |
cannot find function definition in openfoam | conceptone | OpenFOAM | 2 | August 12, 2012 17:18 |
(AutoGRID 5) Problem in Geometry definition of propeller | venkat_aero2007 | Fidelity CFD | 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 |