This boundary condition provides a turbulence kinetic energy wall function condition for low- and high-Reynolds number turbulent flow cases. More...


Public Member Functions | |
| TypeName ("kLowReWallFunction") | |
| Runtime type information. More... | |
| kLowReWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, fvMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| kLowReWallFunctionFvPatchScalarField (const kLowReWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, fvMesh > &, const fieldMapper &) | |
| Construct by mapping given kLowReWallFunctionFvPatchScalarField. More... | |
| kLowReWallFunctionFvPatchScalarField (const kLowReWallFunctionFvPatchScalarField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| kLowReWallFunctionFvPatchScalarField (const kLowReWallFunctionFvPatchScalarField &, const DimensionedField< scalar, fvMesh > &) | |
| Copy constructor setting internal field reference. More... | |
| virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, fvMesh > &iF) const |
| Construct and return a clone setting internal field reference. More... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
Protected Attributes | |
| scalar | Ceps2_ |
| Ceps2 coefficient. More... | |
This boundary condition provides a turbulence kinetic energy wall function condition for low- and high-Reynolds number turbulent flow cases.
The model operates in two modes, based on the computed laminar-to-turbulent switch-over y+ value derived from kappa and E specified in the corresponding nutWallFunction.
| Property | Description | Required | Default value |
|---|---|---|---|
Ceps2 | model coefficient | no | 1.9 |
Example of the boundary condition specification:
<patchName>
{
type kLowReWallFunction;
}Definition at line 80 of file kLowReWallFunctionFvPatchScalarField.H.
| kLowReWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, fvMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 38 of file kLowReWallFunctionFvPatchScalarField.C.
Referenced by kLowReWallFunctionFvPatchScalarField::clone().

| kLowReWallFunctionFvPatchScalarField | ( | const kLowReWallFunctionFvPatchScalarField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, fvMesh > & | iF, | ||
| const fieldMapper & | mapper | ||
| ) |
Construct by mapping given kLowReWallFunctionFvPatchScalarField.
onto a new patch
Definition at line 50 of file kLowReWallFunctionFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
| kLowReWallFunctionFvPatchScalarField | ( | const kLowReWallFunctionFvPatchScalarField & | kwfpsf, |
| const DimensionedField< scalar, fvMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 63 of file kLowReWallFunctionFvPatchScalarField.C.
| TypeName | ( | "kLowReWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 132 of file kLowReWallFunctionFvPatchScalarField.H.
References kLowReWallFunctionFvPatchScalarField::kLowReWallFunctionFvPatchScalarField().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 76 of file kLowReWallFunctionFvPatchScalarField.C.
References kLowReWallFunctionFvPatchScalarField::Ceps2_, forAll, k, momentumTransportModel::k(), Foam::log(), Foam::max(), momentumTransportModel::nu(), nutWallFunctionFvPatchScalarField::nutw(), patchi, Foam::pow025(), Foam::pow3(), Foam::sqr(), Foam::sqrt(), uTau, y, momentumTransportModel::yb(), and yPlus.

|
virtual |
Write.
Definition at line 137 of file kLowReWallFunctionFvPatchScalarField.C.
References kLowReWallFunctionFvPatchScalarField::Ceps2_, Foam::vtkWriteOps::write(), and Foam::writeEntry().

|
protected |
Ceps2 coefficient.
Definition at line 89 of file kLowReWallFunctionFvPatchScalarField.H.
Referenced by kLowReWallFunctionFvPatchScalarField::updateCoeffs(), and kLowReWallFunctionFvPatchScalarField::write().