39 namespace regionModels
41 namespace surfaceFilmModels
58 thixotropicViscosity::thixotropicViscosity
69 c_(
"c",
pow(
dimTime, d_.value() - scalar(1)), coeffDict_),
71 muInf_(
"muInf", mu0_.dimensions(), coeffDict_),
91 mu_.correctBoundaryConditions();
138 "thixotropicViscosity:filmMass",
143 "thixotropicViscosity:deltaMass",
const surfaceFilmModel & film() const
Return const access to the film surface film model.
virtual const volVectorField & U() const
Return the film velocity [m/s].
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
virtual const volScalarField & deltaRho() const
Return the film thickness*density (helper field) [kg/m3].
virtual ~thixotropicViscosity()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensionedScalar sqrt(const dimensionedScalar &ds)
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
const Time & time() const
Return the top-level database.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
tmp< volScalarField > deltaMass() const
Return the change in film mass due to sources/sinks.
dimensionedScalar b_
Model `b' coefficient.
dimensionedScalar d_
Model `d' coefficient.
bool writeTime() const
Return true if this is a write time.
dimensionedScalar K_
Model coeffiicient.
const dimensionSet & dimensions() const
Return dimensions.
volScalarField lambda_
Structural parameter.
addToRunTimeSelectionTable(surfaceFilmModel, kinematicSingleLayer, mesh)
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Calulate the matrix for the first temporal derivative.
const dimensionedScalar & deltaSmall() const
Return small delta.
virtual const surfaceScalarField & phi() const
Return the film flux [kg.m/s].
const fvMesh & regionMesh() const
Return the region mesh database.
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.
const dimensionSet dimPressure
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).
volScalarField & mu_
Reference to the viscosity field.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const volScalarField & delta() const
Return const access to the film thickness [m].
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Calculate the matrix for the divergence of the given field and flux.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
virtual const volVectorField & Uw() const
Return the film wall velocity [m/s].
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
void max(const dimensioned< Type > &)
Base class for surface film models.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
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 dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
virtual bool write(const bool valid=true) const
Write using setting from DB.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
defineTypeNameAndDebug(kinematicSingleLayer, 0)
dimensionedScalar deltaT() const
Return time step.
Calculate the matrix for implicit and explicit sources.
const volScalarField & alpha() const
Return the film coverage, 1 = covered, 0 = uncovered [].
tmp< volScalarField > netMass() const
Return the net film mass available over the next integration.