38 namespace porosityModels
48 Foam::porosityModels::solidification::solidification
51 const word& modelType,
58 TName_(coeffs_.getOrDefault<
word>(
"T",
"T")),
59 alphaName_(coeffs_.getOrDefault<
word>(
"alpha",
"none")),
60 rhoName_(coeffs_.getOrDefault<
word>(
"rho",
"rho")),
154 dict_.writeEntry(name_,
os);
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
defineTypeNameAndDebug(powerLawLopesdaCosta, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
addToRunTimeSelectionTable(porosityModel, powerLawLopesdaCosta, mesh)
static void apply(bitSet &selection, const Detail::parcelSelection::actionType action, const Predicate &accept, const UList< Type > &list, const AccessOp &aop)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Macros for easy insertion into run-time selection tables.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
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.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dimensionSet dimForce
OBJstream os(runTime.globalPath()/outputName)
const dimensionedScalar mu
Atomic mass unit.
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
bool writeData(Ostream &os) const
Write.
Top level model for porosity models.
static constexpr const zero Zero
Global zero (0)