57#ifndef surfaceTensionModel_H
58#define surfaceTensionModel_H
92 return dict.subDict(
"sigma");
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Mesh data needed to do the Finite Volume discretisation.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
virtual ~surfaceTensionModel()=default
Destructor.
surfaceTensionModel(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
virtual tmp< volScalarField > sigma() const =0
Surface tension.
static autoPtr< surfaceTensionModel > New(const dictionary &dict, const phasePair &pair)
regIOobject(const IOobject &io, const bool isTimeObject=false)
Construct from IOobject. The optional flag adds special handling if the object is the top-level regIO...
const fvMesh & mesh_
Reference to mesh.
virtual bool readDict(const dictionary &dict)=0
Update surface tension coefficient from given dictionary.
static const dictionary & sigmaDict(const dictionary &dict)
virtual ~surfaceTensionModel()
Destructor.
static const dimensionSet dimSigma
Surface tension coefficient dimensions.
surfaceTensionModel(const fvMesh &mesh)
declareRunTimeSelectionTable(autoPtr, surfaceTensionModel, dictionary,(const dictionary &dict, const fvMesh &mesh),(dict, mesh))
virtual bool writeData(Ostream &os) const =0
Write in dictionary format.
virtual tmp< volScalarField > sigma() const =0
Surface tension coefficient.
TypeName("surfaceTensionModel")
Runtime type information.
A class for managing temporary objects.
OBJstream os(runTime.globalPath()/outputName)
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Forwards and collection of common volume field types.