34 namespace surfaceTensionModels
static const dictionary & sigmaDict(const dictionary &dict)
Run-time selectable general function of one variable.
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
virtual ~temperatureDependent()
Destructor.
bool good() const
Return true if next operation might succeed.
Macros for easy insertion into run-time selection tables.
temperatureDependent(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
virtual bool writeData(Ostream &os) const
Write in dictionary format.
A class for handling words, derived from string.
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...
const Field< Type > & field() const
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
virtual bool readDict(const dictionary &dict)
Update surface tension coefficient from given dictionary.
Mesh data needed to do the Finite Volume discretisation.
defineTypeNameAndDebug(constant, 0)
virtual tmp< volScalarField > sigma() const
Surface tension coefficient.
addToRunTimeSelectionTable(surfaceTensionModel, constant, dictionary)
A class for managing temporary objects.
Abstract base-class for surface tension models which return the surface tension coefficient field...
static autoPtr< Function1< Type > > New(const word &name, const dictionary &dict)
Selector.