58 #ifndef accelerationSource_H 59 #define accelerationSource_H 98 template<
class AlphaRhoFieldType>
101 const AlphaRhoFieldType&
rho,
103 const word& fieldName
119 const word& modelType,
145 const word& fieldName
153 const word& fieldName
162 const word& fieldName
const word & name() const
Return const access to the source name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Cell-set fvConstraint abstract base class. Provides a base set of controls regarding the location whe...
virtual void updateMesh(const mapPolyMesh &)
Update for mesh changes.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
virtual void addSup(fvMatrix< vector > &eqn, const word &fieldName) const
Source term to momentum equation.
Finite volume model abstract base class.
const fvMesh & mesh() const
Return const access to the mesh database.
virtual ~accelerationSource()
Destructor.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.
TypeName("accelerationSource")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual bool read(const dictionary &dict)
Read dictionary.
This fvModel applies an explicit acceleration force to components of the velocity field...