CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Examine A dimensionedScalar at Boundary (https://www.cfd-online.com/Forums/openfoam/78726-examine-dimensionedscalar-boundary.html)

deji July 30, 2010 15:35

Examine A dimensionedScalar at Boundary
 
I have been going through Doxygen hoping to find a way to examine a dimensioned scalar at the boundary (patch), but thus far no luck. Can anyone please give me an insight to this particular question:

Code:

IOdictionary LESProperties
    (
        IOobject
        (
            "LESProperties",
            runTime.constant(),
            mesh,
            IOobject::MUST_READ,
            IOobject::NO_WRITE
        )
    );
    dimensionedScalar alpha(fireFoamProperties.lookup("alpha"));
    scalarField alphaw = alpha.boundaryField()[patchi] <----- ??? :confused:

the last line in the code posted is where my problem lies. can anyone assist?

deji July 30, 2010 18:45

i get the following error pertaining to alphaw:

error: ‘struct Foam::dimensionedScalar’ has no member named ‘boundaryField’

can someone help regarding this small matter. :confused:


All times are GMT -4. The time now is 02:52.