CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Examine A dimensionedScalar at Boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2010, 15:35
Default Examine A dimensionedScalar at Boundary
  #1
Senior Member
 
n/a
Join Date: Sep 2009
Posts: 199
Rep Power: 16
deji is on a distinguished road
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 is offline   Reply With Quote

Old   July 30, 2010, 18:45
Default
  #2
Senior Member
 
n/a
Join Date: Sep 2009
Posts: 199
Rep Power: 16
deji is on a distinguished road
i get the following error pertaining to alphaw:

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

can someone help regarding this small matter.
deji is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
CFX doesn't continue calculation... mactech001 CFX 6 November 15, 2009 21:25
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 6, 2008 23:17
Boundary conditions? Tom Main CFD Forum 0 November 5, 2002 01:54
Boundary Conditions Jan Ramboer Main CFD Forum 11 August 16, 1999 08:59


All times are GMT -4. The time now is 22:58.