Go to the documentation of this file.
38 namespace porosityModels
48 Foam::porosityModels::powerLaw::powerLaw
51 const word& modelType,
54 const word& cellZoneName
58 C0_(coeffs_.
get<scalar>(
"C0")),
59 C1_(coeffs_.
get<scalar>(
"C1")),
60 rhoName_(coeffs_.getOrDefault<
word>(
"rho",
"rho"))
155 dict_.writeEntry(name_,
os);
A class for handling words, derived from Foam::string.
const dimensionedScalar mu
static constexpr const zero Zero
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
const dimensionSet dimForce
A special matrix type and solver, designed for finite volume solutions of scalar equations.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Generic templated field type.
bool writeData(Ostream &os) const
defineTypeNameAndDebug(powerLawLopesdaCosta, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual void calcTransformModelData()
Mesh data needed to do the Finite Volume discretisation.
Top level model for porosity models.
static void apply(bitSet &selection, const Detail::parcelSelection::actionType action, const Predicate &accept, const UList< Type > &list, const AccessOp &aop)
A special matrix type and solver, designed for finite volume solutions of scalar equations....
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
word name(const expressions::valueTypeCode typeCode)
addToRunTimeSelectionTable(porosityModel, powerLawLopesdaCosta, mesh)
static word groupName(StringType base, const word &group)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
virtual void correct(fvVectorMatrix &UEqn) const