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