42 explicitPorositySource,
51 Foam::fv::explicitPorositySource::explicitPorositySource
54 const word& modelType,
86 porosityPtr_->addResistance(porosityEqn);
99 porosityPtr_->addResistance(porosityEqn);
113 porosityPtr_->addResistance(porosityEqn);
114 eqn -= alpha*porosityEqn;
122 if (coeffs_.found(
"UNames"))
124 coeffs_.lookup(
"UNames") >> fieldNames_;
126 else if (coeffs_.found(
"U"))
128 word UName(coeffs_.lookup(
"U"));
136 applied_.setSize(fieldNames_.size(),
false);
defineTypeNameAndDebug(option, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const GeometricField< Type, fvPatchField, volMesh > & psi() const
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
virtual bool read(const dictionary &dict)
Read source dictionary.
Macros for easy insertion into run-time selection tables.
bool read(const char *, int32_t &)
A class for handling words, derived from string.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Add implicit contribution to momentum equation.
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.
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.
Cell-set options abtract base class. Provides a base set of controls, e.g.:
static autoPtr< porosityModel > New(const word &name, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName=word::null)
Selector.
const dimensionSet & dimensions() const