46 void Foam::fv::accelerationSource::readCoeffs()
48 UName_ = coeffs().lookupOrDefault<word>(
"U",
"U");
59 const word& modelType,
64 fvModel(name, modelType, dict, mesh),
98 add(rho, eqn, fieldName);
107 const word& fieldName
110 add((alpha*rho)(), eqn, fieldName);
123 set_.topoChange(map);
138 set_.distribute(map);
defineTypeNameAndDebug(fixedTemperatureConstraint, 0)
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.
A list of keyword definitions, which are a keyword followed by any number of values (e...
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.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void addSup(fvMatrix< vector > &eqn, const word &fieldName) const
Source term to momentum equation.
Finite volume model abstract base class.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
Macros for easy insertion into run-time selection tables.
accelerationSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
static const word null
An empty word.
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.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
addToRunTimeSelectionTable(fvConstraint, fixedTemperatureConstraint, dictionary)
List< word > wordList
A List of words.
virtual bool movePoints()
Update for mesh motion.
Mesh data needed to do the Finite Volume discretisation.
virtual bool read(const dictionary &dict)
Read dictionary.
Class containing mesh-to-mesh mapping information.
static autoPtr< Function1< Type > > New(const word &name, const dictionary &dict)
Selector.