Public Member Functions | List of all members
atmBoundaryLayerInletEpsilonFvPatchScalarField Class Reference

This boundary condition specifies an inlet value for the turbulence dissipation, $\epsilon$, appropriate for atmospheric boundary layers. More...

Inheritance diagram for atmBoundaryLayerInletEpsilonFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for atmBoundaryLayerInletEpsilonFvPatchScalarField:
Collaboration graph
[legend]

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< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 atmBoundaryLayerInletEpsilonFvPatchScalarField (const atmBoundaryLayerInletEpsilonFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (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 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 &)
 Construct as copy. More...
 
const vectorflowDir () const
 Return flow direction. More...
 
const vectorzDir () const
 Return z-direction. More...
 
const scalarFieldUstar () 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< vectorFieldU (const vectorField &p) const
 Return the velocity distribution for the ATM. More...
 
tmp< scalarFieldk (const vectorField &p) const
 Return the turbulent kinetic energy distribution for the ATM. More...
 
tmp< scalarFieldepsilon (const vectorField &p) const
 Return the turbulent dissipation rate distribution for the ATM. More...
 
void write (Ostream &) const
 Write. More...
 

Detailed Description

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;
}
See also
Foam::atmBoundaryLayer, Foam::atmBoundaryLayerInletVelocityFvPatchVectorField, Foam::atmBoundaryLayerInletKFvPatchScalarField
Source files

Definition at line 74 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ atmBoundaryLayerInletEpsilonFvPatchScalarField() [1/4]

Construct from patch and internal field.

Definition at line 41 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.

Referenced by atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ atmBoundaryLayerInletEpsilonFvPatchScalarField() [2/4]

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, and Field< scalar >::operator=().

Here is the call graph for this function:

◆ atmBoundaryLayerInletEpsilonFvPatchScalarField() [3/4]

Construct by mapping given.

atmBoundaryLayerInletEpsilonFvPatchScalarField onto a new patch

Definition at line 68 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.

References atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField().

Here is the call graph for this function:

◆ atmBoundaryLayerInletEpsilonFvPatchScalarField() [4/4]

Construct as copy setting internal field reference.

Definition at line 82 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.

References atmBoundaryLayerInletEpsilonFvPatchScalarField::autoMap().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "atmBoundaryLayerInletEpsilon"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 114 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.H.

References atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [2/2]

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

Map (and resize as needed) from self given a mapping object.

Definition at line 95 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.

References atmBoundaryLayer::autoMap(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::rmap().

Referenced by atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rmap()

void rmap ( const fvPatchScalarField psf,
const labelList addr 
)
virtual

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 105 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.

References atmBoundaryLayer::rmap().

Referenced by atmBoundaryLayerInletEpsilonFvPatchScalarField::autoMap(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 119 of file atmBoundaryLayerInletEpsilonFvPatchScalarField.C.

References Foam::makePatchTypeField(), atmBoundaryLayer::write(), and fvPatchField< Type >::write().

Referenced by atmBoundaryLayerInletEpsilonFvPatchScalarField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: