100 #ifndef interRegionExplicitPorositySource_H 101 #define interRegionExplicitPorositySource_H 120 class interRegionExplicitPorositySource
122 public interRegionOption
150 TypeName(
"interRegionExplicitPorositySource");
159 const word& modelType,
virtual ~interRegionExplicitPorositySource()=default
Destructor.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
virtual bool read(const dictionary &dict)
Read dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Vector.
void operator=(const interRegionExplicitPorositySource &)=delete
No copy assignment.
A class for handling words, derived from Foam::string.
word UName_
Name of operand velocity field.
interRegionExplicitPorositySource(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.
const word & name() const noexcept
Return const access to the source name.
void initialise()
Initialise.
TypeName("interRegionExplicitPorositySource")
Runtime type information.
word muName_
Name of operand dynamic viscosity field (compressible case only)
autoPtr< porosityModel > porosityPtr_
Run-time selectable porosity model.
Applies inter-region explicit porosity source.
Mesh data needed to do the Finite Volume discretisation.
bool firstIter_
First iteration.