Go to the documentation of this file.
216 #ifndef atmBoundaryLayer_H
217 #define atmBoundaryLayer_H
232 class atmBoundaryLayer
266 const polyPatch& patch_;
269 autoPtr<Function1<vector>> flowDir_;
272 autoPtr<Function1<vector>> zDir_;
275 autoPtr<Function1<scalar>> Uref_;
278 autoPtr<Function1<scalar>> Zref_;
281 autoPtr<PatchFunction1<scalar>> z0_;
284 autoPtr<PatchFunction1<scalar>> d_;
299 const dictionary&
dict
306 const fvPatch&
patch,
307 const fvPatchFieldMapper& mapper
331 void autoMap(
const fvPatchFieldMapper&);
353 void write(Ostream&)
const;
List< label > labelList
A List of labels.
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.
Base class to set log-law type ground-normal inlet boundary conditions for wind velocity and turbulen...
vector flowDir() const
Return flow direction.
Field< vector > vectorField
Specialisation of Field<T> for vector.
tmp< scalarField > k(const vectorField &pCf) const
Return the turbulent kinetic energy distribution for the ATM.
tmp< vectorField > U(const vectorField &pCf) const
Return the velocity 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.
tmp< scalarField > omega(const vectorField &pCf) const
Return the specific dissipation rate distribution for the ATM.
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.
tmp< scalarField > epsilon(const vectorField &pCf) const
Return the turbulent dissipation rate distribution for the ATM.
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.
vector zDir() const
Return the ground-normal 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,...