118 const word& modelType,
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Finite volume model abstract base class.
const fvMesh & mesh() const
Return const access to the mesh database.
const word & name() const
Return const access to the source name.
Base fvModel for forcing functions.
void readCoeffs()
Non-virtual read.
vectorField directions_
Directions of increasing scaling coordinate.
bool writeForceFields_
Optionally write the forcing fields.
TypeName("forcing")
Runtime type information.
void readLambda()
Read the forcing coefficients.
void writeForceFields() const
Optionally write the forcing fields:
virtual ~forcing()
Destructor.
dimensionedScalar lambda_
Forcing coefficient [1/s].
vectorField origins_
Origins of the scaling coordinate.
dimensionedScalar lambdaBoundary_
Optional boundary forcing coefficient [1/s].
forcing(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual tmp< volScalarField::Internal > forceCoeff() const
Return the force coefficient.
dimensionedScalar regionLength() const
Calculate and return the volume average forcing region length.
virtual tmp< volScalarField::Internal > scale() const
Return the scale distribution.
autoPtr< Function1< scalar > > scale_
The scaling function.
A class for managing temporary objects.
A class for handling words, derived from string.