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
122 film.regionMesh().time().
timeName(),
136 coeffDict_.subDict(
"muWax"),
144 typeName +
":muSolvent",
145 film.regionMesh().time().
timeName(),
159 coeffDict_.subDict(
"muSolvent"),
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
const word zeroGradientType
A zeroGradient patch field type.
Base class for surface film models.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
volScalarField muSolvent_
Solvent viscosity.
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.
Template invariant parts for fvPatchField.
UniformDimensionedField< scalar > uniformDimensionedScalarField
const dimensionSet dimDynamicViscosity
addToRunTimeSelectionTable(surfaceFilmRegionModel, kinematicSingleLayer, mesh)
Macros for easy insertion into run-time selection tables.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
autoPtr< filmViscosityModel > muWaxModel_
Wax viscosity model.
Base class for surface film viscosity models.
const fvMesh & regionMesh() const
Return the region mesh database.
autoPtr< filmViscosityModel > muSolventModel_
Solvent viscosity model.
volScalarField & mu_
Reference to the viscosity field.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const dimensionedScalar mu
Atomic mass unit.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual void correct(const volScalarField &p, const volScalarField &T)
Correct.
volScalarField muWax_
Wax viscosity.
void correctBoundaryConditions()
Correct boundary field.
Defines the attributes of an object for which implicit objectRegistry management is supported...
defineTypeNameAndDebug(kinematicSingleLayer, 0)
static constexpr const zero Zero
Global zero (0)