57void waxSolventViscosity::correctMu()
67 const auto& Wsolvent =
73 const auto& Ysolvent0 =
79 const auto& Ysolvent =
87 Ysolvent*Wsolvent/((1 - Ysolvent)*Wwax + Ysolvent*Wsolvent)
92 Ysolvent0*Wsolvent/((1 - Ysolvent0)*Wwax + Ysolvent0*Wsolvent)
96 mu_.correctBoundaryConditions();
102waxSolventViscosity::waxSolventViscosity
115 film.regionMesh().time().
timeName(),
116 film.regionMesh().thisDb(),
130 coeffDict_.subDict(
"muWax"),
139 film.regionMesh().time().
timeName(),
140 film.regionMesh().thisDb(),
154 coeffDict_.subDict(
"muSolvent"),
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void correctBoundaryConditions()
Correct boundary field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Template invariant parts for fvPatchField.
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 fvMesh & regionMesh() const
Return the region mesh database.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
const FilmType & filmType() const
Base class for surface film viscosity models.
volScalarField & mu_
Reference to the viscosity field.
static autoPtr< filmViscosityModel > New(surfaceFilmRegionModel &film, const dictionary &dict, volScalarField &mu)
Return a reference to the selected phase change model.
virtual void correct(const volScalarField &p, const volScalarField &T)=0
Correct.
Kinematic form of single-cell layer surface film model.
Base class for surface film models.
Wax solvent mixture viscosity model.
volScalarField muWax_
Wax viscosity.
virtual void correct(const volScalarField &p, const volScalarField &T)
Correct.
volScalarField muSolvent_
Solvent viscosity.
autoPtr< filmViscosityModel > muSolventModel_
Solvent viscosity model.
autoPtr< filmViscosityModel > muWaxModel_
Wax viscosity model.
const dictionary coeffDict_
Coefficients dictionary.
const dictionary & dict() const
Return const access to the cloud dictionary.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
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.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
UniformDimensionedField< scalar > uniformDimensionedScalarField
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
const dimensionSet dimDynamicViscosity
static constexpr const zero Zero
Global zero (0).
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)