This boundary condition specifies an inlet value for the turbulence dissipation, , 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... | |
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 | 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 () | |
Construct null. More... | |
atmBoundaryLayer (const vector &flowDir, const vector &zDir, const scalar Uref, const scalar Zref, const scalarField &z0, const scalarField &zGround, const scalar kappa=kappaDefault_, const scalar Cmu=CmuDefault_, const scalar ULower=0, const scalar kLower=0, const scalar epsilonLower=0) | |
Construct from components. More... | |
atmBoundaryLayer (const vectorField &p, const dictionary &) | |
Construct from the coordinates field and dictionary. More... | |
atmBoundaryLayer (const atmBoundaryLayer &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
atmBoundaryLayer (const atmBoundaryLayer &) | |
Copy constructor. More... | |
const vector & | flowDir () const |
Return flow direction. More... | |
const vector & | zDir () const |
Return z-direction. More... | |
const scalarField & | Ustar () 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, , 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 71 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.H.
atmBoundaryLayerInletEpsilonFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 41 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
Referenced by atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::clone().
atmBoundaryLayerInletEpsilonFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 53 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField(), epsilon, dictionary::found(), dictionary::lookupOrDefault(), Field< scalar >::operator=(), and fvPatch::size().
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 81 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField().
atmBoundaryLayerInletEpsilonFvPatchScalarField | ( | const atmBoundaryLayerInletEpsilonFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 95 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References atmBoundaryLayerInletEpsilonFvPatchScalarField::autoMap().
TypeName | ( | "atmBoundaryLayerInletEpsilon" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 119 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.H.
References atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField(), atmBoundaryLayerInletEpsilonFvPatchScalarField::autoMap(), atmBoundaryLayerInletEpsilonFvPatchScalarField::rmap(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::write().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Used to update fields following mesh topology change
Definition at line 108 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References atmBoundaryLayer::autoMap(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::rmap().
Referenced by atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::clone().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Definition at line 118 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References atmBoundaryLayer::rmap().
Referenced by atmBoundaryLayerInletEpsilonFvPatchScalarField::autoMap(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::clone().
|
virtual |
Write.
Definition at line 132 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.
References Foam::makePatchTypeField(), atmBoundaryLayer::write(), fvPatchField< Type >::write(), and Foam::writeEntry().
Referenced by atmBoundaryLayerInletEpsilonFvPatchScalarField::clone().