36 namespace surfaceTensionModels
90 dict.readEntry(
"sigma", sigma_);
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool writeData(Ostream &os) const
Write in dictionary format.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
constant(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
Macros for easy insertion into run-time selection tables.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect...
Uniform constant surface tension model.
virtual bool readDict(const dictionary &dict)
Update surface tension coefficient from given dictionary.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
virtual tmp< volScalarField > sigma() const
Surface tension coefficient.
Mesh data needed to do the Finite Volume discretisation.
defineTypeNameAndDebug(constant, 0)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
addToRunTimeSelectionTable(surfaceTensionModel, constant, dictionary)
virtual ~constant()
Destructor.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
Do not request registration (bool: false)