CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   alphaEff scalarField (http://www.cfd-online.com/Forums/openfoam/78687-alphaeff-scalarfield.html)

deji July 29, 2010 13:40

alphaEff scalarField
 
I have a question, as I am gradually digging into OpenFOAM for my doctoral research and it is indeed interestingly challenging. So, subsequent to looking up the alphaEff (effective thermal diffusivity), I want these quantities at the wall and the following code is not working thus far:

Code:

IOdictionary LESProperties
    (
        IOobject
        (
            "LESProperties",
            runTime.constant(),
            mesh,
            IOobject::MUST_READ,
            IOobject::NO_WRITE
        )
    );
 dimensionedScalar alphaEff(LESProperties.lookup("alphaEff"));
 const scalarField alphaEffw = alphaEff().boundaryField()[patchI];


deji July 29, 2010 14:12

So can anyone kindly give me some feedback as to how I can read the alphaEff at the wall. Thanks.


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