Go to the documentation of this file.
83 #ifndef nutURoughWallFunctionFvPatchScalarField_H
84 #define nutURoughWallFunctionFvPatchScalarField_H
97 class nutURoughWallFunctionFvPatchScalarField
99 public nutWallFunctionFvPatchScalarField
106 scalar roughnessHeight_;
109 scalar roughnessConstant_;
112 scalar roughnessFactor_;
116 const label maxIter_;
119 const scalar tolerance_;
128 virtual tmp<scalarField> calcNut()
const;
131 virtual void writeLocalEntries(Ostream&)
const;
210 return roughnessHeight_;
216 return roughnessHeight_;
222 return roughnessConstant_;
228 return roughnessConstant_;
234 return roughnessFactor_;
241 return roughnessFactor_;
248 virtual tmp<scalarField>
yPlus()
const;
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
scalar & roughnessHeight()
Return reference to the roughness height to allow adjustment.
A class for managing temporary objects.
This boundary condition provides a wall constraint on the turbulent viscosity, i.e....
TypeName("nutURoughWallFunction")
Runtime type information.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
scalar roughnessConstant() const
Return the roughness constant scale.
virtual void write(Ostream &os) const
Write.
scalar roughnessFactor() const
Return the roughness scale factor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
nutURoughWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
OBJstream os(runTime.globalPath()/outputName)
scalar & roughnessConstant()
Return reference to the roughness constant to allow adjustment.
virtual tmp< scalarField > yPlus() const
Calculate and return the yPlus at the boundary.
scalar & roughnessFactor()
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
The class nutWallFunction is a base class that parents the derived boundary conditions which provide ...
scalar roughnessHeight() const
Return the roughness height.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...