34 namespace surfaceTensionModels
56 TName_(
dict.lookupOrDefault<
word>(
"T",
"T")),
89 sigma.primitiveFieldRef() = sigma_->
value(
T.primitiveField());
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Run-time selectable general function of one variable.
static autoPtr< Function1< Type > > New(const word &name, const Function1s::unitConversions &units, const dictionary &dict)
Select from dictionary.
Generic GeometricBoundaryField class.
Generic GeometricField class.
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....
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T, if not found return the given default.
const Type & value() const
Return const reference to value.
Mesh data needed to do the Finite Volume discretisation.
Abstract base-class for surface tension models which return the surface tension coefficient field.
static const dictionary & sigmaDict(const dictionary &dict)
virtual bool writeData(Ostream &os) const =0
Write in dictionary format.
Temperature-dependent 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.
temperatureDependent(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
virtual ~temperatureDependent()
Destructor.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
addToRunTimeSelectionTable(surfaceTensionModel, liquidProperties, dictionary)
defineTypeNameAndDebug(liquidProperties, 0)
const dimensionSet dimLength
const dimensionSet dimTemperature
const dimensionSet dimForce
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)