55 #ifndef surfaceTensionModel_H 56 #define surfaceTensionModel_H static const dictionary & sigmaDict(const dictionary &dict)
A list of keyword definitions, which are a keyword followed by any number of values (e...
static autoPtr< surfaceTensionModel > New(const dictionary &dict, const fvMesh &mesh)
declareRunTimeSelectionTable(autoPtr, surfaceTensionModel, dictionary,(const dictionary &dict, const fvMesh &mesh),(dict, mesh))
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
virtual ~surfaceTensionModel()
Destructor.
Dimension set for the base types.
virtual bool writeData(Ostream &os) const =0
Write in dictionary format.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
TypeName("surfaceTensionModel")
Runtime type information.
const fvMesh & mesh_
Reference to mesh.
static const dimensionSet dimSigma
Surface tension coefficient dimensions.
Mesh data needed to do the Finite Volume discretisation.
virtual bool readDict(const dictionary &dict)=0
Update surface tension coefficient from given dictionary.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
virtual tmp< volScalarField > sigma() const =0
Surface tension coefficient.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
surfaceTensionModel(const fvMesh &mesh)
A class for managing temporary objects.
Abstract base-class for surface tension models which return the surface tension coefficient field...