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);
91 return sqrt(2*otherPhase().
k());
97 return max(Ur()*phase().d()/otherPhase().
fluidThermo().nu(), scalar(1
e-3));
111 (16/Re)*(1 + 0.15*
pow(
Re, 0.687)),
126 *(otherPhase().rho() - phase().rho())
138 *(otherPhase().rho() - phase().rho())
145 return 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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void pow025(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
void pow4(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
void pow3(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
void sqrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
scalarField Re(const UList< complex > &cf)