39 namespace regionModels
41 namespace surfaceFilmModels
69 c_(
"c",
pow(
dimTime, d_.value() - scalar(1)), coeffDict_),
71 muInf_(
"muInf", mu0_.dimensions(), coeffDict_),
72 BinghamPlastic_(coeffDict_.found(
"tauy")),
79 K_(1 -
sqrt(muInf_/mu0_)),
84 IOobject::modelName(
"lambda", typeName),
98 mu_.correctBoundaryConditions();
153 )/(alphaRho + alphaRho0),
Base class for surface film viscosity models.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
Base class for surface film models.
virtual ~thixotropicViscosity()
Destructor.
Kinematic form of single-cell layer surface film model.
A list of keyword definitions, which are a keyword followed by any number of values (e...
volScalarField & mu_
Reference to the viscosity field.
thixotropicViscosity(surfaceFilmRegionModel &film, const dictionary &dict, volScalarField &mu)
Construct from surface film model.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const dimensionSet dimPressure
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionSet dimless
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
dimensionedScalar mu0_
Limiting viscosity when lambda = 1.
tmp< volVectorField::Internal > Us() const
Return the film surface velocity [m/s].
volScalarField::Internal & rhoSp()
Mass [kg/m^2/s].
Macros for easy insertion into run-time selection tables.
dimensionedScalar b_
Model `b' coefficient.
dimensionedScalar d_
Model `d' coefficient.
addToRunTimeSelectionTable(ejectionModel, BrunDrippingEjection, dictionary)
dimensionedScalar K_
Model coefficient.
tmp< volVectorField::Internal > Uw() const
Return the film wall velocity [m/s].
const dimensionSet dimTime
const dimensionSet & dimensions() const
Return dimensions.
volScalarField lambda_
Structural parameter.
const surfaceScalarField & phiU() const
Return the film velocity flux [m^3/s].
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Calculate the matrix for the first temporal derivative.
const dimensionedScalar & deltaSmall() const
Return small delta.
const volScalarField & coverage() const
Return the film coverage, 1 = covered, 0 = uncovered [].
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
dimensionedScalar a_
Model `a' coefficient.
void min(const dimensioned< Type > &)
virtual void correct(const volScalarField &p, const volScalarField &T)
Correct.
dimensionedScalar muInf_
Limiting viscosity when lambda = 0.
Calculate the divergence of the given field.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const volScalarField & delta() const
Return const access to the film thickness [m].
Internal & ref()
Return a reference to the dimensioned internal field.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Calculate the matrix for the divergence of the given field and flux.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
void max(const dimensioned< Type > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return const reference to dimensions.
void correctBoundaryConditions()
Correct boundary field.
dimensionedScalar c_
Model `c' coefficient (read after d since dims depend on d value)
dimensioned< scalar > mag(const dimensioned< Type > &)
const doubleScalar e
Elementary charge.
const volScalarField & rho() const
Return the film density [kg/m^3].
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
defineTypeNameAndDebug(kinematicSingleLayer, 0)
Calculate the matrix for implicit and explicit sources.
const volScalarField & alpha() const
Return const access to the film volume fraction [].