45 void Foam::fv::verticalDamping::add
56 eqn -= forceCoeff()*(gg & alphaRhoU());
65 const word& modelType,
70 damping(name, modelType, dict, mesh)
102 const word& fieldName
105 add(alpha*rho*eqn.
psi(), eqn);
defineTypeNameAndDebug(fixedTemperatureConstraint, 0)
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
UniformDimensionedField< vector > uniformDimensionedVectorField
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void addSup(fvMatrix< vector > &eqn, const word &fieldName) const
Source term to momentum equation.
const GeometricField< Type, fvPatchField, volMesh > & psi() const
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
GeometricField< vector, fvPatchField, volMesh > volVectorField
Macros for easy insertion into run-time selection tables.
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.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensioned< symmTensor > dimensionedSymmTensor
Dimensioned tensor obtained from generic dimensioned type.
addToRunTimeSelectionTable(fvConstraint, fixedTemperatureConstraint, dictionary)
verticalDamping(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
Base fvModel for damping functions.
Mesh data needed to do the Finite Volume discretisation.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
Class containing mesh-to-mesh mapping information.
virtual bool movePoints()
Update for mesh motion.