56 #ifndef accelerationSource_H 57 #define accelerationSource_H 86 template<
class AlphaRhoFieldType>
89 const AlphaRhoFieldType&
rho,
107 const word& modelType,
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const fvMesh & mesh() const
Return const access to the mesh database.
virtual ~accelerationSource()
Destructor.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Source term to momentum equation.
accelerationSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
A class for handling words, derived from string.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
const word & name() const
Return const access to the source name.
TypeName("accelerationSource")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
virtual bool read(const dictionary &dict)
Read dictionary.
This fvOption applies an explicit acceleration force to components of the velocity field...