34 namespace surfaceTensionModels
73 if (
dict.isDict(
"sigma"))
75 dict.subDict(
"sigma").lookup(
"sigma") >> sigma_;
79 dict.lookup(
"sigma") >> sigma_;
Macros for easy insertion into run-time selection tables.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
bool good() const
Return true if next operation might succeed.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
Abstract base-class for surface tension models which return the surface tension coefficient field.
virtual bool writeData(Ostream &os) const =0
Write in dictionary format.
Uniform constant surface tension model.
virtual bool writeData(Ostream &os) const
Write in dictionary format.
virtual bool readDict(const dictionary &dict)
Update surface tension coefficient from given dictionary.
virtual tmp< volScalarField > sigma() const
Surface tension coefficient.
constant(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
virtual ~constant()
Destructor.
A class for managing temporary objects.
addToRunTimeSelectionTable(surfaceTensionModel, liquidProperties, dictionary)
defineTypeNameAndDebug(liquidProperties, 0)