100 #ifndef nutUBlendedWallFunctionFvPatchScalarField_H 101 #define nutUBlendedWallFunctionFvPatchScalarField_H 114 class nutUBlendedWallFunctionFvPatchScalarField
116 public nutWallFunctionFvPatchScalarField
129 virtual tmp<scalarField>
calcNut()
const;
141 TypeName(
"nutUBlendedWallFunction");
212 virtual tmp<scalarField>
yPlus()
const;
218 virtual void write(Ostream&
os)
const;
virtual tmp< scalarField > calcNut() const
Calculate the turbulent viscosity.
virtual void write(Ostream &os) const
Write.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual tmp< scalarField > yPlus() const
Calculate and return the yPlus at the boundary.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
nutUBlendedWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
This boundary condition provides a wall function for the turbulent viscosity (i.e. nut) based on velocity (i.e. U) using a binomial-function wall-function blending method between the viscous and inertial sublayer predictions of nut for low- and high-Reynolds number applications.
tmp< scalarField > calcUTau(const scalarField &magGradU) const
Calculate the friction velocity.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
TypeName("nutUBlendedWallFunction")
Runtime type information.
OBJstream os(runTime.globalPath()/outputName)
scalar n_
Model coefficient; default = 4.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
void writeLocalEntries(Ostream &) const
Write local wall function variables.