118#ifndef Foam_explicitPorositySource_H
119#define Foam_explicitPorositySource_H
137class explicitPorositySource
139 public fv::cellSetOption
161 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.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
Applies an explicit porosity source to the momentum equation within a specified region.
explicitPorositySource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
virtual bool read(const dictionary &dict)
Read dictionary.
void operator=(const explicitPorositySource &)=delete
No copy assignment.
autoPtr< porosityModel > porosityPtr_
Run-time selectable porosity model.
explicitPorositySource(const explicitPorositySource &)=delete
No copy construct.
virtual ~explicitPorositySource()=default
Destructor.
TypeName("explicitPorositySource")
Runtime type information.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Add implicit contribution to momentum equation.
const porosityModel & model() const noexcept
Access to the porosityModel.
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.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.