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()
76 const uniformDimensionedVectorField& g =
77 phase().db().lookupObject<uniformDimensionedVectorField>(
"g");
84 *(otherPhase().
rho() - phase().
rho())
87 *
pow(
max(1 - phase(), scalar(0)), 1.75);
93 return sqrt(2*otherPhase().
k());
99 return max(Ur()*phase().d()/otherPhase().
fluidThermo().nu(), scalar(1
e-3));
113 (16/Re)*(1 + 0.15*
pow(
Re, 0.687)),
123 const uniformDimensionedVectorField& g =
124 phase().db().lookupObject<uniformDimensionedVectorField>(
"g");
128 *(otherPhase().rho() - phase().rho())
135 const uniformDimensionedVectorField& g =
136 phase().db().lookupObject<uniformDimensionedVectorField>(
"g");
140 *(otherPhase().rho() - phase().rho())
147 return otherPhase().rho()*
sqr(Ut())*phase().d()/
sigma();
Generic GeometricField class.
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.
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
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)
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
void pow3(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
void sqrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
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)