26 #include "IATEsource.H" 27 #include "twoPhaseSystem.H" 36 namespace diameterModels
51 const dictionary& dict
54 dictionaryConstructorTable::iterator cstrIter =
55 dictionaryConstructorTablePtr_->find(type);
57 if (cstrIter == dictionaryConstructorTablePtr_->end())
60 <<
"Unknown IATE source type " 62 <<
"Valid IATE source types : " <<
endl 63 << dictionaryConstructorTablePtr_->sortedToc()
67 return autoPtr<IATEsource>(cstrIter()(iate,
dict));
83 *(otherPhase().
rho() - phase().
rho())
86 *
pow(
max(1 - phase(), scalar(0)), 1.75);
96 return max(Ur()*phase().d()/otherPhase().
nu(), scalar(1.0
e-3));
109 (16/
Re)*(1 + 0.15*
pow(
Re, 0.687)),
123 *(otherPhase().rho() - phase().rho())
134 *(otherPhase().rho() - phase().rho())
140 return otherPhase().rho()*
sqr(Ur())*phase().d()/
fluid().sigma();
autoPtr< compressible::turbulenceModel > turbulence
static autoPtr< IATEsource > New(const word &type, const IATE &iate, const dictionary &dict)
tmp< volScalarField > Ur() const
Return the bubble relative velocity.
const objectRegistry & db() const
Return the local objectRegistry.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const double e
Elementary charge.
UniformDimensionedField< vector > uniformDimensionedVectorField
tmp< volScalarField > Mo() const
Return the bubble Morton number.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
tmp< volScalarField > Re() const
Return the bubble Reynolds number.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionedScalar pow025(const dimensionedScalar &ds)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
label k
Boltzmann constant.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
tmp< volScalarField > CD() const
Return the bubble drag coefficient.
tmp< volScalarField > We() const
Return the bubble Webber number.
tmp< volScalarField > Ut() const
Return the bubble turbulent velocity.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar pow3(const dimensionedScalar &ds)
tmp< volScalarField > Eo() const
Return the bubble Eotvos number.
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
scalarField Re(const UList< complex > &cf)