Go to the documentation of this file.
57 #ifndef surfaceTensionModel_H
58 #define surfaceTensionModel_H
76 class surfaceTensionModel
92 return dict.subDict(
"sigma");
surfaceTensionModel(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
A class for managing temporary objects.
Abstract base-class for surface tension models which return the surface tension coefficient field.
static const dimensionSet dimSigma
Coefficient dimensions.
TypeName("surfaceTensionModel")
Runtime type information.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
bool writeData(Ostream &os) const
Dummy write for regIOobject.
static const dictionary & sigmaDict(const dictionary &dict)
static autoPtr< surfaceTensionModel > New(const dictionary &dict, const phasePair &pair)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
declareRunTimeSelectionTable(autoPtr, surfaceTensionModel, dictionary,(const dictionary &dict, const phasePair &pair, const bool registerObject),(dict, pair, registerObject))
OBJstream os(runTime.globalPath()/outputName)
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual bool readDict(const dictionary &dict)=0
Update surface tension coefficient from given dictionary.
Macros to ease declaration of run-time selection tables.
const fvMesh & mesh_
Reference to mesh.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual ~surfaceTensionModel()=default
Destructor.
virtual tmp< volScalarField > sigma() const =0
Aspect ratio.