111 const word& modelType,
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
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.
TypeName("forcing")
Runtime type information.
virtual ~forcing()
Destructor.
dimensionedScalar lambda_
Damping coefficient [1/s].
vectorField origins_
Origins of the scaling coordinate.
dimensionedScalar lambdaBoundary_
Optional boundary damping 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.
tmp< volScalarField::Internal > forceCoeff() const
Return the force coefficient.
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.