34 namespace surfaceTensionModels
51 const dictionary&
dict,
55 surfaceTensionModel(mesh),
56 phaseName_(dict.
lookup(
"phase"))
79 tmp<volScalarField> tsigma
99 sigmai[celli] = liquid.sigma(pi[celli], Ti[celli]);
102 volScalarField::Boundary& sigmaBf = sigma.boundaryFieldRef();
103 const volScalarField::Boundary& pBf = p.boundaryField();
104 const volScalarField::Boundary& TBf = T.boundaryField();
114 sigmaPf[facei] = liquid.sigma(pPf[facei], TPf[facei]);
124 const dictionary&
dict
#define forAll(list, i)
Loop across all elements in list.
const fvMesh & mesh_
Reference to the mesh database.
liquidProperties(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].
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
virtual bool writeData(Ostream &os) const
Write in dictionary format.
virtual ~liquidProperties()
Destructor.
DimensionedField< scalar, volMesh > Internal
Type of the internal field from which this GeometricField is derived.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Macros for easy insertion into run-time selection tables.
const word dictName() const
Return the local dictionary name (final part of scoped name)
virtual bool readDict(const dictionary &dict)
Update surface tension coefficient from given dictionary.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
heRhoThermo< rhoThermo, pureMixture< species::thermo< thermophysicalPropertiesSelector< liquidProperties >, sensibleInternalEnergy > >> heRhoThermopureMixtureliquidProperties
stressControl lookup("compactNormalStress") >> compactNormalStress
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static word groupName(Name name, const word &group)
The thermophysical properties of a liquid.
virtual bool writeData(Ostream &os) const =0
Write in dictionary format.
tmp< GeometricField< Type, PatchField, GeoMesh > > T() const
Return transpose (only if it is a tensor field)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Internal & ref()
Return a reference to the dimensioned internal field.
defineTypeNameAndDebug(constant, 0)
addToRunTimeSelectionTable(surfaceTensionModel, constant, dictionary)
A class for managing temporary objects.
virtual tmp< volScalarField > sigma() const
Surface tension coefficient.