static wallDist & New(const word &name, const fvMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
Generic GeometricField class.
Mesh data needed to do the Finite Volume discretisation.
const volScalarField & yWall() const
Return the wall distance, creating and storing it if necessary.
const volVectorField & nWall() const
Return the wall normal, creating and storing it if necessary.
wallDependentModel(const fvMesh &mesh)
Construct from a mesh.
virtual ~wallDependentModel()
Destructor.
const volScalarField & y() const
Return reference to cached distance-to-wall field.
const volVectorField & n() const
Return reference to cached normal-to-wall field.