Go to the documentation of this file.
59 a = a || this->operator[](i).active();
62 if (warn && this->size() && !a)
64 Info<<
"No porosity models active" <<
endl;
108 allOk = (allOk && ok);
119 this->operator[](i).writeData(os);
133 this->operator[](i).addResistance(
UEqn);
147 this->operator[](i).addResistance(
UEqn,
rho,
mu);
161 this->operator[](i).addResistance(
UEqn, AU, correctAUprocBC);
174 models.writeData(os);
points setSize(newPointi)
A class for handling words, derived from string.
const dimensionedScalar mu
Atomic mass unit.
#define forAll(list, i)
Loop across all elements in list.
const word & name() const
Return const access to the porosity model name.
void addResistance(fvVectorMatrix &UEqn)
Add resistance.
Ostream & endl(Ostream &os)
Add newline and flush stream.
~porosityModelList()
Destructor.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
List container for porosity models.
void reset(const dictionary &dict)
Reset the source list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< fvVectorMatrix > UEqn(fvm::div(phi, U)+MRF.DDt(U)+turbulence->divDevReff(U)==fvOptions(U))
A list of keyword definitions, which are a keyword followed by any number of values (e....
bool read(const dictionary &dict)
Read dictionary.
Mesh data needed to do the Finite Volume discretisation.
Top level model for porosity models.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
bool writeData(Ostream &os) const
Write data to Ostream.
virtual bool read(const dictionary &dict)
Read porosity dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static autoPtr< porosityModel > New(const word &name, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName=word::null)
Selector.
bool good() const
Return true if next operation might succeed.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Generic GeometricField class.
porosityModelList(const porosityModelList &)
Disallow default bitwise copy construct.
bool active(const bool active=false) const
Return active status.
word name(const complex &)
Return a string representation of a complex.