32 template<
class DimensionedFieldType>
38 DimensionedFieldType& field
45 template<
class DimensionedFieldType>
51 DimensionedFieldType& field
58 template<
class DimensionedFieldType>
63 DimensionedFieldType& field
79 template<
class DimensionedFieldType>
86 this->field_.primitiveFieldRef() =
87 abl.
k(this->field_.mesh().C().primitiveField());
91 template<
class DimensionedFieldType>
Base class for run-time selectable internal and patch field initialisation evaluation and update with...
virtual autoPtr< DimensionedFieldFunction< DimensionedFieldType > > clone() const
Construct and return a clone for the specified field.
Runtime selectable DimensionedFieldFunction to set the turbulent kinetic energy, ,...
AtmosphericBoundaryLayerTurbulentKineticEnergy(const dictionary &dict, DimensionedFieldType &field)
Construct with dictionary to initialise given field.
virtual void evaluate()
Evaluate the function and set the field.
virtual void write(Ostream &os) const
Write data to dictionary stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This class provides functions to evaluate the velocity and turbulence distributions appropriate for a...
static const atmosphericBoundaryLayer & New(const objectRegistry &db)
Return a reference to the atmosphericBoundaryLayer.
tmp< scalarField > k(const vectorField &p) const
Return the turbulent kinetic energy field.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.