48 fixedValueFvPatchScalarField(
p, iF,
dict)
60 fixedValueFvPatchScalarField(ptf,
p, iF, mapper)
70 fixedValueFvPatchScalarField(v2wfpsf, iF)
88 const v2fBase& v2fModel = refCast<const v2fBase>(turbModel);
114 label celli = patch().faceCells()[facei];
123 scalar v2c = v2[celli];
125 scalar kc =
k[celli];
127 f[facei] = N*v2c*epsc/(
sqr(kc) + rootVSmall);
136 fixedValueFvPatchScalarField::updateCoeffs();
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
This boundary condition provides a turbulence damping function, f, wall function condition for low- a...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
fWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, fvMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
Abstract base-class for v2-f models to provide BCs access to the v2 and f fields.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class for momentum transport models (RAS, LES and laminar).
const volScalarField::Boundary & yb() const
Return the near wall distance.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
virtual tmp< volScalarField > epsilon() const =0
Return the turbulence kinetic energy dissipation rate.
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions,...
static scalar yPlusLam(const scalar kappa, const scalar E)
Calculate the Y+ at the edge of the laminar sublayer.
static const nutWallFunctionFvPatchScalarField & nutw(const momentumTransportModel &turbModel, const label patchi)
Return the nut patchField for the given wall patch.
scalar Cmu() const
Return Cmu.
A class for managing temporary objects.
makePatchTypeField(fvPatchScalarField, fWallFunctionFvPatchScalarField)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void pow025(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
void sqrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)