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
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
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 mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
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.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
accelerationSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.
virtual bool movePoints()
Update for mesh motion.
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.
Class containing mesh-to-mesh mapping information.
This fvModel applies an explicit acceleration force to components of the velocity field...