Go to the documentation of this file.
42 const label patchi =
patch().index();
49 internalField().
group()
66 const label celli =
patch().faceCells()[facei];
68 const scalar
yPlus = Cmu25*
y[facei]*
sqrt(
k[celli])/nuw[facei];
71 const scalar nutVis = 0.0;
143 const label patchi =
patch().index();
150 internalField().
group()
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
constexpr const char *const group
Group name for atomic constants.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
static const word propertiesName
Default name of the turbulence properties dictionary.
const nearWallDist & y() const
Return the near wall distances.
virtual tmp< scalarField > calcNut() const
Calculate the turbulent viscosity.
#define forAll(list, i)
Loop across all elements in list.
scalar kappa_
von Kármán constant
dimensionedScalar pow025(const dimensionedScalar &ds)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< scalarField > yPlus() const
Calculate and return the yPlus at the boundary.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Abstract base class for turbulence models (RAS, LES and laminar).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar E_
Wall roughness parameter.
dimensionedScalar log(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
scalar Cmu_
Empirical model coefficient.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
nutkWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
scalar blend(const scalar nutVis, const scalar nutLog, const scalar yPlus) const
Return the blended nut according to the chosen blending treatment.
const std::string patch
OpenFOAM patch number as a std::string.
static const nutWallFunctionFvPatchScalarField & nutw(const turbulenceModel &turbModel, const label patchi)
Return the nut patchField for the given wall patch.
dimensionedScalar sqrt(const dimensionedScalar &ds)
label k
Boltzmann constant.
const dimensionedScalar e
Elementary charge.
Foam::fvPatchFieldMapper.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
The class nutWallFunction is a base class that parents the derived boundary conditions which provide ...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This boundary condition provides a wall constraint on the turbulent viscosity, i.e....