34 namespace surfaceTensionModels
40 constantSurfaceTensionCoefficient,
52 const dictionary&
dict,
53 const phasePair& pair,
54 const bool registerObject
57 surfaceTensionModel(dict, pair, registerObject),
58 sigma_(
"sigma", dimSigma, dict)
74 const fvMesh&
mesh(this->pair_.phase1().mesh());
90 const fvMesh&
mesh(this->pair_.phase1().mesh());
92 return tmp<scalarField>
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
constantSurfaceTensionCoefficient(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
Macros for easy insertion into run-time selection tables.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual tmp< volScalarField > sigma() const
Surface tension.
virtual ~constantSurfaceTensionCoefficient()
Destructor.
defineTypeNameAndDebug(constant, 0)
addToRunTimeSelectionTable(surfaceTensionModel, constant, dictionary)
A class for managing temporary objects.