34 namespace regionModels
36 namespace surfaceFilmModels
59 T0_(coeffDict_.lookup<scalar>(
"T0")),
60 maxSolidificationFrac_
62 coeffDict_.lookupOrDefault(
"maxSolidificationFrac", 0.2)
64 maxSolidificationRate_
68 "maxSolidificationRate",
125 const scalar rateLimiter =
min 136 if (coverage[celli] > 0.5)
140 const scalar dm = rateLimiter*availableMass[celli];
147 dEnergy[celli] += dm*he[celli];
#define forAll(list, i)
Loop across all elements in list.
Base class for surface film models.
virtual ~solidification()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dimensionSet dimless
Generic dimensioned Type class.
const Time & time() const
Return the top-level database.
Macros for easy insertion into run-time selection tables.
const dimensionSet dimLength
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
Base class for surface film phase change models.
addToRunTimeSelectionTable(ejectionModel, BrunDrippingEjection, dictionary)
const dimensionSet dimTime
virtual void correctModel(const scalar dt, scalarField &availableMass, scalarField &dMass, scalarField &dEnergy)
Correct.
scalar maxSolidificationFrac_
Solidification limiter.
static word timeName(const scalar, const int precision=curPrecision_)
Return time name of given scalar time.
scalar deltaTValue() const
Return time step value.
const volScalarField & coverage() const
Return the film coverage, 1 = covered, 0 = uncovered [].
const fvMesh & regionMesh() const
Return the region mesh database.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar maxSolidificationRate_
Solidification limiter.
const rhoThermo & thermo() const
Film thermo.
solidification(surfaceFilmRegionModel &film, const dictionary &dict)
Construct from surface film model.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const dimensionSet dimMass
volScalarField::Internal thickness_
Accumulated solid thickness [m].
volScalarField::Internal mass_
Accumulated solid mass [kg].
scalar T0_
Temperature at which solidification starts.
const volScalarField::Internal & magSf() const
Return the face area magnitudes [m^2].
virtual const volScalarField & T() const =0
Temperature [K].
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
surfaceFilmRegionModel & filmModel_
Reference to the film surface film model.
const volScalarField & rho() const
Return the film density [kg/m^3].
static word modelName(Name name, const word &model)
Return the name of the object within the given model.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
defineTypeNameAndDebug(kinematicSingleLayer, 0)
Thermodynamic form of single-cell layer surface film model.