33 namespace regionModels
35 namespace surfaceFilmModels
46 distributionContactAngleForce::distributionContactAngleForce
53 rndGen_(
label(0), -1),
58 coeffDict_.subDict(
"distribution"),
95 thetai[celli] = distribution_->sample();
106 thetaf[facei] = distribution_->sample();
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const Time & time() const
Return the reference to the time database.
surfaceFilmModel & filmModel_
Reference to the film surface film model.
Macros for easy insertion into run-time selection tables.
addToRunTimeSelectionTable(surfaceFilmModel, kinematicSingleLayer, mesh)
bool isCoupledPatch(const label regionPatchi) const
Return true if patchi on the local region is a coupled.
const fvMesh & regionMesh() const
Return the region mesh database.
static autoPtr< distributionModel > New(const dictionary &dict, cachedRandom &rndGen)
Selector.
Internal & ref()
Return a reference to the dimensioned internal field.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Base class for surface film models.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
defineTypeNameAndDebug(kinematicSingleLayer, 0)