A class which provides on-demand creation and caching of wall distance and wall normal fields for use by multiple models. More...
Public Member Functions | |
wallDependentModel (const fvMesh &mesh) | |
Construct from a mesh. More... | |
wallDependentModel (const wallDependentModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~wallDependentModel () |
Destructor. More... | |
const volScalarField & | yWall () const |
Return the wall distance, creating and storing it if necessary. More... | |
const volVectorField & | nWall () const |
Return the wall normal, creating and storing it if necessary. More... | |
void | operator= (const wallDependentModel &)=delete |
Disallow default bitwise assignment. More... | |
A class which provides on-demand creation and caching of wall distance and wall normal fields for use by multiple models.
Definition at line 50 of file wallDependentModel.H.
wallDependentModel | ( | const fvMesh & | mesh | ) |
Construct from a mesh.
Definition at line 31 of file wallDependentModel.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 39 of file wallDependentModel.C.
const Foam::volScalarField & yWall | ( | ) | const |
Return the wall distance, creating and storing it if necessary.
Definition at line 45 of file wallDependentModel.C.
References DemandDrivenMeshObject< fvMesh, DeletableMeshObject, wallDist >::New(), and wallDist::y().
Referenced by cosine::limiter(), linear::limiter(), and sine::limiter().
const Foam::volVectorField & nWall | ( | ) | const |
Return the wall normal, creating and storing it if necessary.
Definition at line 51 of file wallDependentModel.C.
References wallDist::n(), and DemandDrivenMeshObject< fvMesh, DeletableMeshObject, wallDist >::New().
|
delete |
Disallow default bitwise assignment.