34 namespace surfaceTensionModels
51 const dictionary&
dict,
55 surfaceTensionModel(mesh),
56 phaseName_(dict.
lookup(
"phase"))
77 tmp<volScalarField> tsigma
97 const heRhoThermopureMixtureliquidProperties::transportMixtureType&
98 liquid = thermo.cellTransportMixture(celli);
100 sigmai[celli] = liquid.properties().sigma(pi[celli], Ti[celli]);
103 volScalarField::Boundary& sigmaBf = sigma.boundaryFieldRef();
104 const volScalarField::Boundary& pBf = p.boundaryField();
105 const volScalarField::Boundary& TBf = T.boundaryField();
115 const heRhoThermopureMixtureliquidProperties::transportMixtureType&
116 liquid = thermo.patchFaceTransportMixture(
patchi, facei);
118 sigmaPf[facei] = liquid.properties().sigma(pPf[facei], TPf[facei]);
128 const dictionary&
dict
#define forAll(list, i)
Loop across all elements in list.
liquidProperties(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
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.
heRhoThermo< rhoThermo::composite, pureMixture< species::thermo< thermophysicalPropertiesSelector< liquidProperties >, sensibleInternalEnergy > >> heRhoThermopureMixtureliquidProperties
DimensionedField< scalar, volMesh > Internal
Type of the internal field from which this GeometricField is derived.
Macros for easy insertion into run-time selection tables.
virtual bool readDict(const dictionary &dict)
Update surface tension coefficient from given dictionary.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
stressControl lookup("compactNormalStress") >> compactNormalStress
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static word groupName(Name name, const word &group)
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)
static const word dictName
Name of the thermophysical properties dictionary.
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.