35 namespace diameterModels
50 const dictionary& dict
53 dictionaryConstructorTable::iterator cstrIter =
54 dictionaryConstructorTablePtr_->find(type);
56 if (cstrIter == dictionaryConstructorTablePtr_->end())
59 <<
"Unknown IATE source type " 61 <<
"Valid IATE source types : " <<
endl 62 << dictionaryConstructorTablePtr_->sortedToc()
66 return autoPtr<IATEsource>(cstrIter()(iate,
dict));
82 *(otherPhase().
rho() - phase().
rho())
85 *
pow(
max(1 - phase(), scalar(0)), 1.75);
90 return sqrt(2*otherPhase().
k());
95 return max(Ur()*phase().d()/otherPhase().
thermo().nu(), scalar(1
e-3));
108 (16/
Re)*(1 + 0.15*
pow(
Re, 0.687)),
122 *(otherPhase().rho() - phase().rho())
133 *(otherPhase().rho() - phase().rho())
140 otherPhase().rho()*
sqr(Ur())*phase().d()/
sigma();
static autoPtr< IATEsource > New(const word &type, const IATE &iate, const dictionary &dict)
tmp< volScalarField > Ut() const
Return the bubble turbulent velocity.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
fluidReactionThermo & thermo
errorManipArg< error, int > exit(error &err, const int errNo=1)
UniformDimensionedField< vector > uniformDimensionedVectorField
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionedScalar pow025(const dimensionedScalar &ds)
tmp< volScalarField > We() const
Return the bubble Webber number.
tmp< volScalarField > Eo() const
Return the bubble Eotvos number.
label k
Boltzmann constant.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
tmp< volScalarField > CD() const
Return the bubble drag coefficient.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
tmp< volScalarField > Ur() const
Return the bubble relative velocity.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
tmp< volScalarField > Re() const
Return the bubble Reynolds number.
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar pow3(const dimensionedScalar &ds)
tmp< volScalarField > Mo() const
Return the bubble Morton 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...
const doubleScalar e
Elementary charge.
A class for managing temporary objects.
const objectRegistry & db() const
Return the local objectRegistry.
scalarField Re(const UList< complex > &cf)