36 namespace regionModels
38 namespace surfaceFilmModels
49 distributionContactAngleForce::distributionContactAngleForce
61 coeffDict_.subDict(
"distribution"),
85 auto& thetaIf = ttheta.ref().internalFieldRef();
86 auto& thetaBf = ttheta.ref().boundaryFieldRef();
90 thetaIf[celli] = distribution_->sample();
101 thetaf[facei] = distribution_->sample();
Base class for surface film models.
Base class for film (stress-based) force 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...
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)