74 #ifndef Foam_liquidFilmBase_H 75 #define Foam_liquidFilmBase_H 87 namespace regionModels
89 namespace areaSurfaceFilmModels
198 const word& modelType,
346 const scalar massSource,
347 const vector& momentumSource,
348 const scalar pressureSource,
349 const scalar energySource = 0
scalar pRef() const
Access to pRef.
virtual ~liquidFilmBase()
Destructor.
Foam::fa::options & faOptions_
faOptions
uniformDimensionedVectorField g_
Gravity.
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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 film thickness.
areaScalarField h_
Film height.
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.
const edgeScalarField & phi2s() const noexcept
Access continuity flux.
tmp< areaScalarField > pg() const
Map primary static pressure.
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 regionFaModel & region() const noexcept
Access to this region.
label nOuterCorr_
Number of outer correctors.
A class for handling words, derived from Foam::string.
const uniformDimensionedVectorField & g() const noexcept
Gravity.
virtual void postEvolveRegion()
Post-evolve film.
const areaScalarField & h() const noexcept
Access const reference h.
regionFaModel(const fvMesh &mesh, const word ®ionType, const word &modelName, const dictionary &dict, bool readFields=true)
Construct from mesh and name and dict.
const areaScalarField & gn() const noexcept
Access const reference gn.
tmp< areaVectorField > Us() const
Film surface film velocity.
Foam::fa::options & faOptions() noexcept
Return faOptions.
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.
areaScalarField pf_
Film pressure.
TypeName("liquidFilmBase")
Runtime type information.
word UName_
Name of the velocity field.
scalar cumulativeContErr_
Cumulative continuity error.
areaScalarField ppf_
Primary region pressure.
scalar pRef_
Reference absolute pressure.
Mesh data needed to do the Finite Volume discretisation.
virtual const areaScalarField & rho() const =0
Access const reference rho.
const edgeScalarField & phif() const noexcept
Access to momentum flux.
const areaVectorField & Uf() const noexcept
Access const reference Uf.
dimensionedScalar deltaWet_
Film thickness beyond which face is assumed to be wet.
label nCorr_
Number of PISO-like inner 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.
A class for managing temporary objects.
tmp< areaScalarField > alpha() const
Wet indicator using h0.
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.
const dimensionedScalar & h0() const noexcept
Return h0.
Switch momentumPredictor_
Flag to enable 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.