35 namespace porosityModels
48 const word& modelType,
51 const word& cellZoneName
55 TName_(coeffs_.lookupOrDefault<
word>(
"T",
"T")),
56 alphaName_(coeffs_.lookupOrDefault<
word>(
"alpha",
"none")),
57 rhoName_(coeffs_.lookupOrDefault<
word>(
"rho",
"rho")),
85 apply(Udiag, V,
rho,
U);
107 apply(Udiag, V,
rho,
U);
Macros for easy insertion into run-time selection tables.
Run-time selectable general function of one variable.
Generic GeometricField class.
static word groupName(Name name, const word &group)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Ostream & write(const char)=0
Write character.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
Top level model for porosity models.
Simple solidification porosity model.
virtual void calcForce(const volVectorField &U, const volScalarField &rho, const volScalarField &mu, vectorField &force) const
Calculate the porosity force.
bool writeData(Ostream &os) const
Write.
solidification(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName)
virtual ~solidification()
Destructor.
virtual void correct(fvVectorMatrix &UEqn) const
Add resistance.
virtual void calcTransformModelData()
Transform the model data wrt mesh changes.
A class for handling words, derived from string.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const dimensionedScalar mu
Atomic mass unit.
addToRunTimeSelectionTable(porosityModel, powerLawLopesdaCosta, mesh)
defineTypeNameAndDebug(powerLawLopesdaCosta, 0)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimless
const dimensionSet dimTemperature
const dimensionSet dimForce
const dimensionSet dimTime
Ostream & indent(Ostream &os)
Indent stream.