34 namespace surfaceTensionModels
79 dict.
lookup(
"sigma") >> sigma_;
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool writeData(Ostream &os) const
Write in dictionary format.
constant(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
bool good() const
Return true if next operation might succeed.
Macros for easy insertion into run-time selection tables.
bool isDict(const word &) const
Check if entry is a sub-dictionary.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Dimension set for the base types.
Uniform constant surface tension model.
virtual bool readDict(const dictionary &dict)
Update surface tension coefficient from given dictionary.
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...
virtual tmp< volScalarField > sigma() const
Surface tension coefficient.
Mesh data needed to do the Finite Volume discretisation.
defineTypeNameAndDebug(constant, 0)
addToRunTimeSelectionTable(surfaceTensionModel, constant, dictionary)
virtual ~constant()
Destructor.
A class for managing temporary objects.
Abstract base-class for surface tension models which return the surface tension coefficient field...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.