This boundary condition specifies an inlet value for the turbulence dissipation, \(\epsilon\), appropriate for atmospheric boundary layers. More...
Public Member Functions | |
TypeName ("atmBoundaryLayerInletEpsilon") | |
Runtime type information. More... | |
atmBoundaryLayerInletEpsilonFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
atmBoundaryLayerInletEpsilonFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
atmBoundaryLayerInletEpsilonFvPatchScalarField (const atmBoundaryLayerInletEpsilonFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
atmBoundaryLayerInletEpsilonFvPatchScalarField (const atmBoundaryLayerInletEpsilonFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &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 | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. More... | |
virtual void | rmap (const fvPatchScalarField &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Public Member Functions inherited from atmBoundaryLayer | |
atmBoundaryLayer (const Time &time, const polyPatch &pp) | |
Construct null from time. More... | |
atmBoundaryLayer (const Time &time, const polyPatch &pp, const dictionary &dict) | |
Construct from the time database and dictionary. More... | |
atmBoundaryLayer (const atmBoundaryLayer &abl, const fvPatch &patch, const fvPatchFieldMapper &mapper) | |
Construct by mapping given atmBoundaryLayer onto a new patch. More... | |
atmBoundaryLayer (const atmBoundaryLayer &) | |
Construct as copy. More... | |
vector | flowDir () const |
Return flow direction. More... | |
vector | zDir () const |
Return z-direction. More... | |
tmp< scalarField > | Ustar (const scalarField &z0) const |
Return friction velocity. More... | |
void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. More... | |
void | rmap (const atmBoundaryLayer &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField. More... | |
tmp< vectorField > | U (const vectorField &p) const |
Return the velocity distribution for the ATM. More... | |
tmp< scalarField > | k (const vectorField &p) const |
Return the turbulent kinetic energy distribution for the ATM. More... | |
tmp< scalarField > | epsilon (const vectorField &p) const |
Return the turbulent dissipation rate distribution for the ATM. More... | |
void | write (Ostream &) const |
Write. More... | |
This boundary condition specifies an inlet value for the turbulence dissipation, \(\epsilon\), appropriate for atmospheric boundary layers.
See Foam::atmBoundaryLayer for details.
Example of the boundary condition specification:
ground { type atmBoundaryLayerInletEpsilon; z (0 0 1); Uref 10.0; Zref 20.0; z0 uniform 0.1; zGround uniform 0.0; }
Definition at line 76 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.H.
atmBoundaryLayerInletEpsilonFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 43 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
Referenced by atmBoundaryLayerInletEpsilonFvPatchScalarField::clone().
atmBoundaryLayerInletEpsilonFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 55 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References dict, epsilon, dictionary::found(), dictionary::lookupOrDefault(), Field< scalar >::operator=(), p, and Foam::foamVersion::patch.
atmBoundaryLayerInletEpsilonFvPatchScalarField | ( | const atmBoundaryLayerInletEpsilonFvPatchScalarField & | psf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
atmBoundaryLayerInletEpsilonFvPatchScalarField onto a new patch
Definition at line 83 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
atmBoundaryLayerInletEpsilonFvPatchScalarField | ( | const atmBoundaryLayerInletEpsilonFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 97 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
TypeName | ( | "atmBoundaryLayerInletEpsilon" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 116 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.H.
References atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 133 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.H.
References atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 109 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References atmBoundaryLayer::epsilon(), and Foam::foamVersion::patch.
|
virtual |
Map (and resize as needed) from self given a mapping object.
Definition at line 123 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References atmBoundaryLayer::autoMap().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 133 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References atmBoundaryLayer::rmap().
|
virtual |
Write.
Definition at line 147 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References atmBoundaryLayer::write(), fvPatchField< scalar >::write(), and Ostream::writeEntryIfDifferent().