36 namespace regionModels
38 namespace surfaceFilmModels
47 perturbedTemperatureDependentContactAngleForce,
54 perturbedTemperatureDependentContactAngleForce::
55 perturbedTemperatureDependentContactAngleForce
62 thetaPtr_(
Function1<scalar>::
New(
"theta", coeffDict_, &film.regionMesh())),
68 coeffDict_.subDict(
"distribution"),
94 auto& thetaIf = ttheta.ref().internalFieldRef();
95 auto& thetaBf = ttheta.ref().boundaryFieldRef();
100 thetaIf.
field() = thetaPtr_->value(
T());
105 thetaIf[celli] += distribution_->sample();
115 thetaf = thetaPtr_->value(
T.boundaryField()[patchi]);
120 thetaf[facei] += distribution_->sample();
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Base class for surface film models.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
const dimensionSet dimless
Dimensionless.
addToRunTimeSelectionTable(surfaceFilmRegionModel, kinematicSingleLayer, mesh)
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
bool isCoupledPatch(const label regionPatchi) const
True if patchi on the local region is a coupled patch to the primary region.
const fvMesh & regionMesh() const
Return the region mesh database.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const Field< Type > & field() const noexcept
Return const-reference to the field values.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A library of runtime-selectable doubly-truncated probability distribution models. Returns random samp...
surfaceFilmRegionModel & filmModel_
Reference to the film surface film model.
A class for managing temporary objects.
defineTypeNameAndDebug(kinematicSingleLayer, 0)
Do not request registration (bool: false)
static constexpr const zero Zero
Global zero (0)
virtual const volScalarField & T() const =0
Return the film mean temperature [K].