wallDependentModel Class Reference

A class which provides on-demand creation and caching of wall distance and wall normal fields for use by multiple models. More...

Inheritance diagram for wallDependentModel:

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 volScalarFieldyWall () const
 Return the wall distance, creating and storing it if necessary. More...
 
const volVectorFieldnWall () const
 Return the wall normal, creating and storing it if necessary. More...
 
void operator= (const wallDependentModel &)=delete
 Disallow default bitwise assignment. More...
 

Detailed Description

A class which provides on-demand creation and caching of wall distance and wall normal fields for use by multiple models.

Source files

Definition at line 50 of file wallDependentModel.H.

Constructor & Destructor Documentation

◆ wallDependentModel() [1/2]

wallDependentModel ( const fvMesh mesh)

Construct from a mesh.

Definition at line 31 of file wallDependentModel.C.

◆ wallDependentModel() [2/2]

wallDependentModel ( const wallDependentModel )
delete

Disallow default bitwise copy construction.

◆ ~wallDependentModel()

~wallDependentModel ( )
virtual

Destructor.

Definition at line 39 of file wallDependentModel.C.

Member Function Documentation

◆ yWall()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nWall()

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().

Here is the call graph for this function:

◆ operator=()

void operator= ( const wallDependentModel )
delete

Disallow default bitwise assignment.


The documentation for this class was generated from the following files: