Go to the documentation of this file.
118 #ifndef atmBoundaryLayer_H
119 #define atmBoundaryLayer_H
134 class atmBoundaryLayer
142 const polyPatch& patch_;
145 TimeFunction1<vector> flowDir_;
148 TimeFunction1<vector> zDir_;
157 TimeFunction1<scalar> Uref_;
160 TimeFunction1<scalar> Zref_;
163 autoPtr<PatchFunction1<scalar>> z0_;
166 autoPtr<PatchFunction1<scalar>> zGround_;
181 const dictionary&
dict
188 const fvPatch&
patch,
189 const fvPatchFieldMapper& mapper
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
tmp< scalarField > Ustar(const scalarField &z0) const
Return friction velocity.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for managing temporary objects.
tmp< vectorField > U(const vectorField &p) const
Return the velocity distribution for the ATM.
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
Light wrapper around Function1 to provide a mechanism to update time-based entries.
vector flowDir() const
Return flow direction.
tmp< scalarField > k(const vectorField &p) const
Return the turbulent kinetic energy distribution for the ATM.
void write(Ostream &) const
Write.
A patch is a list of labels that address the faces in the global face list.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Vector< scalar > vector
A scalar version of the templated Vector.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
atmBoundaryLayer(const Time &time, const polyPatch &pp)
Construct null from time.
const std::string patch
OpenFOAM patch number as a std::string.
void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
tmp< scalarField > epsilon(const vectorField &p) const
Return the turbulent dissipation rate distribution for the ATM.
vector zDir() const
Return z-direction.
void rmap(const atmBoundaryLayer &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...