Go to the documentation of this file.
37 namespace surfaceTensionModels
59 TName_(
dict.getOrDefault<
word>(
"T",
"T")),
80 mesh_.time().timeName(),
89 auto&
sigma = tsigma.ref();
93 sigma.field() = sigma_->value(
T.field());
95 volScalarField::Boundary& sigmaBf =
sigma.boundaryFieldRef();
96 const volScalarField::Boundary& TBf =
T.boundaryField();
100 sigmaBf[patchi] = sigma_->value(TBf[patchi]);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
virtual bool readDict(const dictionary &dict)
Update surface tension coefficient from given dictionary.
A class for managing temporary objects.
Abstract base-class for surface tension models which return the surface tension coefficient field.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
bool writeData(Ostream &os) const
Dummy write for regIOobject.
#define forAll(list, i)
Loop across all elements in list.
static const dictionary & sigmaDict(const dictionary &dict)
virtual tmp< volScalarField > sigma() const
Surface tension coefficient.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~temperatureDependent()
Destructor.
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
defineTypeNameAndDebug(constantSurfaceTensionCoefficient, 0)
Mesh data needed to do the Finite Volume discretisation.
virtual bool writeData(Ostream &os) const
Write in dictionary format.
static tmp< T > New(Args &&... args)
Construct tmp of T with forwarding arguments.
addToRunTimeSelectionTable(surfaceTensionModel, constantSurfaceTensionCoefficient, dictionary)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
temperatureDependent(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.