Go to the documentation of this file.
37 namespace regionModels
39 namespace surfaceFilmModels
56 void waxSolventViscosity::correctMu()
58 const kinematicSingleLayer&
film = filmType<kinematicSingleLayer>();
64 waxSolventEvaporation::typeName +
":Wwax"
72 waxSolventEvaporation::typeName +
":Wsolvent"
80 waxSolventEvaporation::typeName +
":Ysolvent0"
88 waxSolventEvaporation::typeName +
":Ysolvent"
94 Ysolvent*Wsolvent/((1 - Ysolvent)*Wwax + Ysolvent*Wsolvent)
99 Ysolvent0*Wsolvent/((1 - Ysolvent0)*Wwax + Ysolvent0*Wsolvent)
109 waxSolventViscosity::waxSolventViscosity
129 zeroGradientFvPatchScalarField::typeName
136 coeffDict_.subDict(
"muWax"),
144 typeName +
":muSolvent",
152 zeroGradientFvPatchScalarField::typeName
159 coeffDict_.subDict(
"muSolvent"),
174 muWaxModel_->correct(
p,
T);
175 muSolventModel_->correct(
p,
T);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual void correct(const volScalarField &p, const volScalarField &T)
Correct.
const dimensionedScalar mu
Atomic mass unit.
volScalarField muSolvent_
Solvent viscosity.
static constexpr const zero Zero
Global zero (0)
static word timeName(const scalar t, const int precision=precision_)
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
addToRunTimeSelectionTable(surfaceFilmRegionModel, kinematicSingleLayer, mesh)
Base class for surface film viscosity models.
Base class for surface film models.
volScalarField & mu_
Reference to the viscosity field.
const fvMesh & regionMesh() const
Return the region mesh database.
UniformDimensionedField< scalar > uniformDimensionedScalarField
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const Type & lookupObject(const word &name, const bool recursive=false) const
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dimensionSet dimDynamicViscosity
Macros for easy insertion into run-time selection tables.
void correctBoundaryConditions()
Correct boundary field.
defineTypeNameAndDebug(kinematicSingleLayer, 0)
const Time & time() const
Return the top-level database.
volScalarField muWax_
Wax viscosity.
static autoPtr< filmViscosityModel > New(surfaceFilmRegionModel &film, const dictionary &dict, volScalarField &mu)
Return a reference to the selected phase change model.