100#ifndef interRegionExplicitPorositySource_H
101#define interRegionExplicitPorositySource_H
150 TypeName(
"interRegionExplicitPorositySource");
159 const word& modelType,
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Applies inter-region explicit porosity source.
void initialise()
Initialise.
word UName_
Name of operand velocity field.
interRegionExplicitPorositySource(const interRegionExplicitPorositySource &)=delete
No copy construct.
void operator=(const interRegionExplicitPorositySource &)=delete
No copy assignment.
virtual bool read(const dictionary &dict)
Read dictionary.
word muName_
Name of operand dynamic viscosity field (compressible case only).
autoPtr< porosityModel > porosityPtr_
Run-time selectable porosity model.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Vector.
interRegionExplicitPorositySource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
virtual ~interRegionExplicitPorositySource()=default
Destructor.
TypeName("interRegionExplicitPorositySource")
Runtime type information.
bool firstIter_
First iteration.
Intermediate class for handling inter-region exchanges.
interRegionOption(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary.
const word & name() const noexcept
Return const access to the source name.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
Top level model for porosity models.
A class for handling words, derived from Foam::string.
Namespace for finite-volume.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.