Go to the documentation of this file.
42 interRegionExplicitPorositySource,
69 cz.setSize(zoneID + 1);
88 <<
"Unable to create porous cellZone " << zoneName
89 <<
": zone already exists"
113 const word& modelType,
121 UName_(coeffs_.lookupOrDefault<
word>(
"UName",
"U")),
122 muName_(coeffs_.lookupOrDefault<
word>(
"muName",
"thermo:mu"))
126 fieldNames_.setSize(1, UName_);
127 applied_.setSize(1,
false);
161 meshInterp().mapSrcToTgt
170 porosityPtr_->addResistance(nbrEqn);
177 Udiag.setSize(eqn.diag().size(), 0.0);
215 meshInterp().mapSrcToTgt
256 meshInterp().mapSrcToTgt
264 meshInterp().mapSrcToTgt
271 porosityPtr_->addResistance(nbrEqn, rhoNbr, muNbr);
278 Udiag.setSize(eqn.diag().size(), 0.0);
292 coeffs_.readIfPresent(
"UName", UName_);
293 coeffs_.readIfPresent(
"muName", muName_);
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
word nbrRegionName_
Name of the neighbour region to map.
A class for handling words, derived from string.
const dimensionedScalar mu
Atomic mass unit.
const dimensionSet dimDensity
const dimensionSet & dimensions() const
bool firstIter_
First iteration.
const cellZoneMesh & cellZones() const
Return cell zone mesh.
const word name_
Source name.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldI)
Vector.
const GeometricField< Type, fvPatchField, volMesh > & psi() const
const fvMesh & mesh_
Reference to the mesh database.
virtual bool read(const dictionary &dict)
Read dictionary.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
Base class for inter-region exchange.
dictionary coeffs_
Dictionary containing source coefficients.
InternalField & internalField()
Return internal field.
autoPtr< porosityModel > porosityPtr_
Run-time selectable porosity model.
const dimensionSet dimViscosity
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
label findZoneID(const word &zoneName) const
Find zone index given a name.
defineTypeNameAndDebug(option, 0)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
interRegionExplicitPorositySource(const interRegionExplicitPorositySource &)
Disallow default bitwise copy construct.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
const Time & time() const
Return the top-level database.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
static autoPtr< porosityModel > New(const word &name, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName=word::null)
Selector.
void clearAddressing()
Clear addressing.
void initialise()
Initialise.
Generic GeometricField class.
virtual bool read(const dictionary &dict)
Read dictionary.
word name(const complex &)
Return a string representation of a complex.
virtual const labelList & faceNeighbour() const
Return face neighbour.