37 #ifndef Foam_liquidFilmBase_H 38 #define Foam_liquidFilmBase_H 52 namespace regionModels
54 namespace areaSurfaceFilmModels
180 const word& modelType,
316 const scalar massSource,
317 const vector& momentumSource,
318 const scalar pressureSource,
319 const scalar energySource = 0
virtual ~liquidFilmBase()
Destructor.
Foam::fa::options & faOptions_
faOptions
uniformDimensionedVectorField g_
Gravity.
const edgeScalarField & phif() const
Access to momentum flux.
const areaScalarField & h() const
Access const reference h.
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Foam::fa::options & faOptions()
Return faOptions.
tmp< areaVectorField > Up() const
Primary region velocity at film hight. Assume the film to be.
areaScalarField gn_
Normal gravity field.
virtual const areaScalarField & sigma() const =0
Access const reference sigma.
edgeScalarField phif_
Film momentum flux.
dimensionedScalar h0_
Smallest numerical thickness.
areaScalarField h_
Film hight.
declareRunTimeSelectionTable(autoPtr, liquidFilmBase, dictionary,(const word &modelType, const fvMesh &mesh, const dictionary &dict),(modelType, mesh, dict))
areaVectorField Uf_
Film velocity.
edgeScalarField phi2s_
Film height flux.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
virtual const areaScalarField & Cp() const =0
Access const reference Cp.
tmp< areaScalarField > pg() const
Map primary static pressure.
const uniformDimensionedVectorField & g() const
Gravity.
virtual const volScalarField & cloudMassTrans() const =0
Return mass transfer source - Eulerian phase only.
virtual scalar CourantNumber() const
Courant number evaluation.
label nFilmCorr_
Number of film thickness correctors.
liquidFilmBase(const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from type name and mesh and dict.
volScalarField pnSource_
Normal pressure by particles.
volScalarField massSource_
Mass.
word pName_
Name of the pressure field.
void operator=(const liquidFilmBase &)=delete
No copy assignment.
volVectorField momentumSource_
Momentum.
const dimensionedScalar & h0() const
Return h0.
label nOuterCorr_
Number of outer correctors.
A class for handling words, derived from Foam::string.
const areaVectorField & Uf() const
Access const reference Uf.
volScalarField energySource_
Energy.
virtual void postEvolveRegion()
Post-evolve film.
const edgeScalarField & phi2s() const
Access continuity flux.
tmp< areaVectorField > Us() const
Film surface film velocity.
virtual void preEvolveRegion()
Pre-evolve film.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
static autoPtr< liquidFilmBase > New(const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected model using dictionary.
virtual const areaScalarField & Tf() const =0
Access const reference Tf.
Base class for area region models.
areaScalarField pf_
Film pressure.
TypeName("liquidFilmBase")
Runtime type information.
word UName_
Name of the velocity field.
scalar pRef()
Access to pRef.
scalar cumulativeContErr_
Cumulative continuity error.
areaScalarField ppf_
Primary region pressure.
scalar pRef_
Reference absolute pressure.
const areaScalarField & gn() const
Access const reference gn.
Mesh data needed to do the Finite Volume discretisation.
virtual const areaScalarField & rho() const =0
Access const reference rho.
dimensionedScalar deltaWet_
Delta wet for sub-models.
label nCorr_
Number of PISO-like correctors.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual const areaScalarField & mu() const =0
Access const reference mu.
tmp< areaVectorField > Uw() const
Wall velocity.
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
tmp< areaScalarField > alpha() const
Wet indicator using h0.
const regionFaModel & region() const
Access to this region.
scalar addedMassTotal_
Total mass added.
word UName() const
Name of the U field.
virtual const volScalarField & cloudDiameterTrans() const =0
Return the parcel diameters originating from film to cloud.
Switch momentumPredictor_
Momentum predictor.
virtual void addSources(const label patchi, const label facei, const scalar massSource, const vector &momentumSource, const scalar pressureSource, const scalar energySource=0)
Add sources.