CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Reading LESModel & Thermophysical Properties In Similar Manner to Function Object (https://www.cfd-online.com/Forums/openfoam/78602-reading-lesmodel-thermophysical-properties-similar-manner-function-object.html)

deji July 27, 2010 10:54

Reading LESModel & Thermophysical Properties In Similar Manner to Function Object
 
Good morning everyone. I really hope someone can help me here. Okay, I am writing a post-processor and would like to read the LESProperties, thermophysicalProperties, and the temperature in a similar manner as it is read in the function object that I utilize. This is the way it is read in the function object

const Foam::compressible::LESModel & sgs = obr_.lookupObject<compressible::LESModel>("LESProp erties");

const Foam::basicThermo& thermo = obr_.lookupObject<basicThermo>("thermophysicalProp erties");

const volScalarField & Ttmp = obr_.lookupObject<volScalarField>("T");

Where obr_ (object registry). I would like to read the data if possible in a way similar to this. Any one knows how?


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