37namespace surfaceTensionModels
54 const dictionary&
dict,
58 surfaceTensionModel(
mesh),
59 phaseName_(
dict.
get<word>(
"phase"))
76 tmp<volScalarField> tsigma
83 mesh_.time().timeName(),
104 sigmai[celli] = liquid.sigma(pi[celli], Ti[celli]);
119 sigmaPf[facei] = liquid.sigma(pPf[facei], TPf[facei]);
129 const dictionary&
dict
141 if (surfaceTensionModel::writeData(
os))
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
DimensionedField< scalar, volMesh > Internal
The internal field type from which this GeometricField is derived.
GeometricBoundaryField< scalar, fvPatchField, volMesh > Boundary
Type of boundary fields.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
static const word dictName
The thermophysical properties of a liquid.
virtual bool writeData(Ostream &os) const
Write in dictionary format.
virtual bool readDict(const dictionary &dict)
Update surface tension coefficient from given dictionary.
virtual tmp< volScalarField > sigma() const
Surface tension coefficient.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
constexpr scalar pi(M_PI)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
heRhoThermo< rhoThermo, pureMixture< species::thermo< thermophysicalPropertiesSelector< liquidProperties >, sensibleInternalEnergy > > > heRhoThermopureMixtureliquidProperties
#define forAll(list, i)
Loop across all elements in list.