This boundary condition provides a turbulent kinematic viscosity for atmospheric velocity profiles. It is designed to be used in conjunction with the atmosphericBoundaryLayerVelocity boundary condition. The values are calculated using: More...


Public Member Functions | |
| TypeName ("nutAtmosphericBoundaryLayerWallFunction") | |
| Runtime type information. More... | |
| nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, fvMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField (const nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, fvMesh > &, const fieldMapper &) | |
| Construct by mapping given. More... | |
| nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField (const nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField (const nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField &, 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 | write (Ostream &) const |
| Write. More... | |
Public Member Functions inherited from nutkWallFunctionFvPatchScalarField | |
| TypeName ("nutkWallFunction") | |
| Runtime type information. More... | |
| nutkWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, fvMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| nutkWallFunctionFvPatchScalarField (const nutkWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, fvMesh > &, const fieldMapper &) | |
| Construct by mapping given. More... | |
| nutkWallFunctionFvPatchScalarField (const nutkWallFunctionFvPatchScalarField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| nutkWallFunctionFvPatchScalarField (const nutkWallFunctionFvPatchScalarField &, const DimensionedField< scalar, fvMesh > &) | |
| Copy constructor setting internal field reference. More... | |
| virtual tmp< scalarField > | yPlus () const |
| Calculate and return the yPlus at the boundary. More... | |
Public Member Functions inherited from nutWallFunctionFvPatchScalarField | |
| TypeName ("nutWallFunction") | |
| Runtime type information. More... | |
| nutWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, fvMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| nutWallFunctionFvPatchScalarField (const nutWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, fvMesh > &, const fieldMapper &) | |
| Construct by mapping given. More... | |
| nutWallFunctionFvPatchScalarField (const nutWallFunctionFvPatchScalarField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| nutWallFunctionFvPatchScalarField (const nutWallFunctionFvPatchScalarField &, const DimensionedField< scalar, fvMesh > &) | |
| Copy constructor setting internal field reference. More... | |
| scalar | Cmu () const |
| Return Cmu. More... | |
| scalar | kappa () const |
| Return kappa. More... | |
| scalar | E () const |
| Return E. More... | |
| scalar | yPlusLam () const |
| Return the Y+ at the edge of the laminar sublayer. More... | |
| virtual void | map (const fvPatchScalarField &, const fieldMapper &) |
| Map the given fvPatchField onto this fvPatchField. More... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
Protected Member Functions | |
| virtual tmp< scalarField > | nut () const |
| Calculate the turbulence viscosity. More... | |
Protected Member Functions inherited from nutWallFunctionFvPatchScalarField | |
| virtual void | checkType () |
| Check the type of the patch. More... | |
| virtual void | writeLocalEntries (Ostream &) const |
| Write local wall function variables. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from nutWallFunctionFvPatchScalarField | |
| static const nutWallFunctionFvPatchScalarField & | nutw (const momentumTransportModel &turbModel, const label patchi) |
| Return the nut patchField for the given wall patch. More... | |
| static scalar | yPlusLam (const scalar kappa, const scalar E) |
| Calculate the Y+ at the edge of the laminar sublayer. More... | |
Protected Attributes inherited from nutWallFunctionFvPatchScalarField | |
| scalar | Cmu_ |
| Cmu coefficient. More... | |
| scalar | kappa_ |
| Von Karman constant. More... | |
| scalar | E_ |
| E coefficient. More... | |
| scalar | yPlusLam_ |
| Y+ at the edge of the laminar sublayer. More... | |
This boundary condition provides a turbulent kinematic viscosity for atmospheric velocity profiles. It is designed to be used in conjunction with the atmosphericBoundaryLayerVelocity boundary condition. The values are calculated using:
where
| = | frictional velocity | |
| = | Von Karman's constant | |
| = | surface roughness length | |
| = | vertical co-ordinate |
Definition at line 85 of file nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField.H.
| nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, fvMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 90 of file nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField.C.
| nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField | ( | const nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, fvMesh > & | iF, | ||
| const fieldMapper & | mapper | ||
| ) |
Construct by mapping given.
nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField onto a new patch
Definition at line 102 of file nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
| nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField | ( | const nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField & | rwfpsf, |
| const DimensionedField< scalar, fvMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 115 of file nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField.C.
|
protectedvirtual |
Calculate the turbulence viscosity.
Reimplemented from nutkWallFunctionFvPatchScalarField.
Definition at line 39 of file nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField.C.
References atmosphericBoundaryLayer::Cmu(), Foam::e, Foam::endl(), forAll, Foam::Info, k, momentumTransportModel::k(), atmosphericBoundaryLayer::kappa(), nutWallFunctionFvPatchScalarField::kappa(), Foam::log(), Foam::max(), atmosphericBoundaryLayer::New(), momentumTransportModel::nu(), nutWallFunctionFvPatchScalarField::nutw(), patchi, Foam::pow025(), tmp< T >::ref(), Foam::sqrt(), y, momentumTransportModel::yb(), nutkWallFunctionFvPatchScalarField::yPlus(), and atmosphericBoundaryLayer::z0().

| TypeName | ( | "nutAtmosphericBoundaryLayerWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from nutkWallFunctionFvPatchScalarField.
Definition at line 138 of file nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField.H.
|
virtual |
Write.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 128 of file nutAtmosphericBoundaryLayerWallFunctionFvPatchScalarField.C.
References fvPatchField< Type >::write(), Foam::writeEntry(), and nutWallFunctionFvPatchScalarField::writeLocalEntries().
