41namespace areaSurfaceFilmModels
88 const word& modelType,
95 thermo_(
dict.subDict(
"thermo")),
229 "cloudDiameterTrans",
242 availableMass_(regionMesh().faces().size(),
Zero),
244 injection_(*this,
dict),
365 <<
indent <<
"min/max(delta) = "
367 <<
indent <<
"coverage = "
369 <<
indent <<
"total mass = "
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Field< Type > & field() const
Return field.
void relax(const scalar alpha)
Relax field (for steady-state solution).
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
scalar deltaTValue() const noexcept
Return time step value.
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
const DimensionedField< scalar, areaMesh > & S() const
Return face areas.
const Time & time() const
Return the top-level database.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
scalar mu(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture viscosity [Pa s].
scalar sigma(const scalar p, const scalar T, const scalarField &X) const
Estimate mixture surface tension [N/m].
label size() const
Return the number of liquids in the mixture.
scalar Cp(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture heat capacity [J/(kg K)].
scalar rho(const scalar p, const scalar T, const scalarField &X) const
Calculate the mixture density [kg/m^3].
Base class for film turbulence models.
virtual void info(Ostream &os)
Provide some info.
virtual void correct(scalarField &availableMass, volScalarField &massToInject, volScalarField &diameterToInject)
Correct.
areaVectorField Uf_
Film velocity.
areaScalarField h_
Film hight.
virtual void postEvolveRegion()
Post-evolve film.
areaScalarField gn_
Normal gravity field.
tmp< areaScalarField > alpha() const
Wet indicator using h0.
volScalarField pnSource_
Normal pressure by particles.
dimensionedScalar h0_
Smallest numerical thickness.
virtual void preEvolveRegion()
Pre-evolve film.
const areaScalarField & h() const
Access const reference h.
volScalarField massSource_
Mass.
areaScalarField pf_
Film pressure.
volVectorField momentumSource_
Momentum.
scalar pRef_
Reference absolute pressure.
areaScalarField Cp_
Film Heat capacity.
virtual void postEvolveRegion()
Post-evolve film.
liquidMixtureProperties thermo_
Liquid thermo.
virtual const volScalarField & cloudDiameterTrans() const
Return the parcel diameters originating from film to cloud.
areaScalarField pnSp_
Normal pressure by particles.
areaScalarField rho_
Density [kg/m3].
injectionModelList injection_
Cloud injection.
scalar Tref() const
Access to reference temperature.
volScalarField cloudDiameterTrans_
Parcel diameters originating from film to cloud.
const areaScalarField & Tf() const
Access const reference Tf.
areaScalarField rhoSp_
Mass source.
areaVectorField USp_
Momentum source.
virtual void preEvolveRegion()
Pre-evolve film.
const areaScalarField & Cp() const
Access const reference Cp.
areaScalarField mu_
Dynamic viscosity [Pa.s].
areaScalarField sigma_
Surface tension [m/s2].
void correctThermoFields()
Correct thermo.
virtual const volScalarField & cloudMassTrans() const
Return the film mass available for transfer to cloud.
const areaScalarField & mu() const
Access const reference mu.
virtual void info()
Provide some feedback.
scalar Tref_
Reference tempararure.
const areaScalarField & rho() const
Access const reference rho.
const areaScalarField & sigma() const
Access const reference sigma.
volScalarField cloudMassTrans_
Film mass for transfer to cloud.
const liquidMixtureProperties & thermo() const
Access to thermo.
scalarField availableMass_
Available mass for transfer via sub-models.
areaScalarField Tf_
Film temperature.
const fvMesh & primaryMesh() const
Return the reference to the primary mesh database.
label patchID() const
Return patch ID.
const volSurfaceMapping & vsm() const
Return mapping between surface and volume fields.
const faMesh & regionMesh() const
Return the region mesh database.
tmp< Field< Type > > mapToSurface(const GeometricBoundaryField< Type, fvPatchField, volMesh > &df) const
Map volume boundary field to surface.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
const dimensionSet dimPressure
const dimensionSet dimViscosity
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Type gSum(const FieldField< Field, Type > &f)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimEnergy
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimVelocity
messageStream Info
Information stream (stdout output on master, null elsewhere)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indent(Ostream &os)
Indent stream.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static constexpr const zero Zero
Global zero (0)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Type gMin(const FieldField< Field, Type > &f)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
const dimensionSet dimDensity
Type gMax(const FieldField< Field, Type > &f)
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.