Go to the documentation of this file.
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();
tmp< volScalarField > Mo() const
Return the bubble Morton number.
A class for managing temporary objects.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
tmp< volScalarField > CD() const
Return the bubble drag coefficient.
scalarField Re(const UList< complex > &cf)
const dimensionedVector & g
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
dimensionedScalar pow025(const dimensionedScalar &ds)
dimensionedScalar pow4(const dimensionedScalar &ds)
autoPtr< compressible::turbulenceModel > turbulence
dimensionedScalar pow3(const dimensionedScalar &ds)
UniformDimensionedField< vector > uniformDimensionedVectorField
tmp< volScalarField > Ut() const
Return the bubble turbulent velocity.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const double e
Elementary charge.
tmp< volScalarField > We() const
Return the bubble Webber number.
tmp< volScalarField > Eo() const
Return the bubble Eotvos number.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
static autoPtr< IATEsource > New(const word &type, const IATE &iate, const dictionary &dict)
dimensionedScalar sqrt(const dimensionedScalar &ds)
label k
Boltzmann constant.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
tmp< volScalarField > Re() const
Return the bubble Reynolds number.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
tmp< volScalarField > Ur() const
Return the bubble relative velocity.
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)