Go to the documentation of this file.
66 label faceCellI = patch().faceCells()[faceI];
68 scalar
yPlus = Cmu25*
y[faceI]*
sqrt(
k[faceCellI])/nuw[faceI];
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
static word groupName(Name name, const word &group)
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
scalar yPlusLam_
Y+ at the edge of the laminar sublayer.
rDeltaT dimensionedInternalField()
static const word propertiesName
Default name of the turbulence properties dictionary.
const char *const group
Group name for atomic constants.
const nearWallDist & y() const
Return the near wall distances.
scalar kappa_
Von Karman constant.
dimensionedScalar pow025(const dimensionedScalar &ds)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class for turbulence models (RAS, LES and laminar).
A list of keyword definitions, which are a keyword followed by any number of values (e....
dimensionedScalar log(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
scalar Cmu_
Cmu coefficient.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
nutkWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
dimensionedScalar sqrt(const dimensionedScalar &ds)
This function object evaluates and outputs turbulence y+ for turbulence models. The field is stored o...
label k
Boltzmann constant.
Foam::fvPatchFieldMapper.
Generic GeometricField class.
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions,...
virtual tmp< scalarField > yPlus() const
Calculate and return the yPlus at the boundary.
virtual tmp< scalarField > calcNut() const
Calculate the turbulence viscosity.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions,...