OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

getPatchFieldScalar.H File Reference

Go to the source code of this file.


Functions

 if (nVar >=Num_variables-nSprayVariables)
IOobject fieldObjectPtr (fieldNames[var2field[nVar]], runTime.timeName(), mesh, IOobject::NO_READ)
 if (!fieldObjectPtr.headerOk())
IOobject fieldObject (fieldNames[var2field[nVar]], runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE)
volScalarField sf (fieldObject, mesh)
 if (which_type==Z_TRI03)

Variables

label patchi = which_part - 2
const scalarField & sfb = sf.boundaryField()[patchi]
const polyBoundaryMesh & bMesh = meshPtr->boundaryMesh()

Function Documentation

if ( nVar >=Num_variables nSprayVariables  ) 

Definition at line 3 of file getPatchFieldScalar.H.

IOobject fieldObjectPtr ( fieldNames [var2field[nVar],
runTime.  timeName(),
mesh  ,
IOobject::NO_READ   
)

if ( !fieldObjectPtr.  headerOk()  ) 

Definition at line 16 of file getPatchFieldScalar.H.

IOobject fieldObject ( fieldNames [var2field[nVar],
runTime.  timeName(),
mesh  ,
IOobject::MUST_READ  ,
IOobject::NO_WRITE   
)

volScalarField sf ( fieldObject  ,
mesh   
)

if ( which_type  = = Z_TRI03  ) 

Definition at line 39 of file getPatchFieldScalar.H.

References nPoints, and patchi.


Variable Documentation

const scalarField& sfb = sf.boundaryField()[patchi]

Definition at line 36 of file getPatchFieldScalar.H.

const polyBoundaryMesh& bMesh = meshPtr->boundaryMesh()

Definition at line 37 of file getPatchFieldScalar.H.

Copyright © 2000-2009 OpenCFD Ltd