30#include "twoPhaseSystem.H"
39namespace diameterModels
54 const dictionary&
dict
57 auto* ctorPtr = dictionaryConstructorTable(
type);
66 *dictionaryConstructorTablePtr_
70 return autoPtr<IATEsource>(ctorPtr(iate,
dict));
86 *(otherPhase().
rho() - phase().
rho())
89 *
pow(
max(1 - phase(), scalar(0)), 1.75);
101 return max(Ur()*phase().d()/otherPhase().
nu(), scalar(1.0e-3));
115 (16/
Re)*(1 + 0.15*
pow(
Re, 0.687)),
130 *(otherPhase().rho() - phase().rho())
142 *(otherPhase().rho() - phase().rho())
149 return otherPhase().rho()*
sqr(Ur())*phase().d()/
fluid().sigma();
const uniformDimensionedVectorField & g
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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 Webber number.
tmp< volScalarField > Ur() const
Return the bubble relative velocity.
tmp< volScalarField > Re() const
Return the bubble Reynolds number.
tmp< volScalarField > Ut() const
Return the bubble turbulent velocity.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
compressible::turbulenceModel & turbulence
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
scalarField Re(const UList< complex > &cf)
Extract real component.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow3(const dimensionedScalar &ds)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
UniformDimensionedField< vector > uniformDimensionedVectorField
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
dimensionedScalar pow4(const dimensionedScalar &ds)
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensionedScalar pow025(const dimensionedScalar &ds)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.