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