35 namespace diameterModels
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()
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().
fluidThermo().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(Ut())*phase().d()/
sigma();
Generic GeometricField class.
const objectRegistry & db() const
Return the local objectRegistry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
IATE (Interfacial Area Transport Equation) bubble diameter model.
IATE (Interfacial Area Transport Equation) bubble diameter model run-time selectable sources.
tmp< volScalarField > CD() const
Return the bubble drag coefficient.
tmp< volScalarField > Eo() const
Return the bubble Eotvos number.
tmp< volScalarField > Mo() const
Return the bubble Morton number.
tmp< volScalarField > We() const
Return the bubble turbulent Weber number.
tmp< volScalarField > Ur() const
Return the bubble relative velocity.
tmp< volScalarField > Re() const
Return the bubble Reynolds number.
static autoPtr< IATEsource > New(const word &type, const IATE &iate, const dictionary &dict)
tmp< volScalarField > Ut() const
Return the bubble turbulent velocity.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Base-class for fluid thermodynamic properties.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
A class for managing temporary objects.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
defineRunTimeSelectionTable(IATEsource, dictionary)
defineTypeNameAndDebug(constant, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionedScalar pow3(const dimensionedScalar &ds)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
dimensionedScalar pow4(const dimensionedScalar &ds)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
dimensionedScalar pow025(const dimensionedScalar &ds)
scalarField Re(const UList< complex > &cf)