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",
tmp< volScalarField > deltaMass() const
Return the change in film mass due to sources/sinks.
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 > &)
tmp< fvMatrix< Type > > Sp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensionedScalar sqrt(const dimensionedScalar &ds)
virtual const volVectorField & U() const
Return the film velocity [m/s].
virtual const volVectorField & Uw() const
Return the film wall velocity [m/s].
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
bool writeTime() const
Return true if this is a write time.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
const fvMesh & regionMesh() const
Return the region mesh database.
dimensionedScalar b_
Model `b' coefficient.
dimensionedScalar d_
Model `d' coefficient.
dimensionedScalar K_
Model coeffiicient.
volScalarField lambda_
Structural parameter.
addToRunTimeSelectionTable(surfaceFilmModel, kinematicSingleLayer, mesh)
tmp< fvMatrix< Type > > SuSp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
const volScalarField & delta() const
Return const access to the film thickness / [m].
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Calulate the matrix for the first temporal derivative.
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.
const dimensionSet & dimensions() const
Return dimensions.
Calculate the divergence of the given field.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
virtual const volScalarField & deltaRho() const
Return the film thickness*density (helper field) [kg/m3].
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)
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.
tmp< volScalarField > netMass() const
Return the net film mass available over the next integration.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensionedScalar deltaT() const
Return time step.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const volScalarField & alpha() const
Return the film coverage, 1 = covered, 0 = uncovered / [].
void max(const dimensioned< Type > &)
const surfaceFilmModel & owner() const
Return const access to the owner surface film model.
Base class for surface film models.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual bool write() const
Write using setting from DB.
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 > &)
virtual const surfaceScalarField & phi() const
Return the film flux [kg.m/s].
const dimensionedScalar & deltaSmall() const
Return small delta.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
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)
Calculate the matrix for implicit and explicit sources.
const Time & time() const
Return the top-level database.