37 namespace surfaceTensionModels
82 auto&
sigma = tsigma.ref();
86 sigma.field() = sigma_->value(
T.field());
93 sigmaBf[patchi] = sigma_->value(TBf[patchi]);
105 const dictionary& sigmaDict = surfaceTensionModel::sigmaDict(
dict);
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
virtual ~temperatureDependent()
Destructor.
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
Macros for easy insertion into run-time selection tables.
temperatureDependent(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
#define forAll(list, i)
Loop across all elements in list.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
virtual bool writeData(Ostream &os) const
Write in dictionary format.
A class for handling words, derived from Foam::string.
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)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
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)
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T, or return the given default value. FatalIOError if it is found and the number of...
A class for managing temporary objects.
Do not request registration (bool: false)