42 explicitPorositySource,
51 void Foam::fv::explicitPorositySource::readCoeffs()
53 if (coeffs().
found(
"UNames"))
59 UNames_ =
wordList(1, coeffs().lookupOrDefault<word>(
"U",
"U"));
81 const word& modelType,
86 fvModel(name, modelType, dict, mesh),
106 const word& fieldName
110 porosityPtr_->addResistance(porosityEqn);
119 const word& fieldName
123 porosityPtr_->addResistance(porosityEqn);
133 const word& fieldName
137 porosityPtr_->addResistance(porosityEqn);
138 eqn -= alpha*porosityEqn;
151 set_.topoChange(map);
166 set_.distribute(map);
defineTypeNameAndDebug(fixedTemperatureConstraint, 0)
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
A list of keyword definitions, which are a keyword followed by any number of values (e...
const GeometricField< Type, fvPatchField, volMesh > & psi() const
virtual bool read(const dictionary &dict)
Read source dictionary.
Finite volume model abstract base class.
Macros for easy insertion into run-time selection tables.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual void addSup(fvMatrix< vector > &eqn, const word &fieldName) const
Add implicit contribution to momentum equation.
stressControl lookup("compactNormalStress") >> compactNormalStress
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual bool movePoints()
Update for mesh motion.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual bool read(const dictionary &dict)
Read dictionary.
explicitPorositySource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
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.
word name(const complex &)
Return a string representation of a complex.
addToRunTimeSelectionTable(fvConstraint, fixedTemperatureConstraint, dictionary)
List< word > wordList
A List of words.
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
static autoPtr< porosityModel > New(const word &name, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName=word::null)
Selector.
Class containing mesh-to-mesh mapping information.
const dimensionSet & dimensions() const