30#include "twoPhaseSystem.H"
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
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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 Webber 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.
static const gravity & New(const word &name, const Time &runTime)
Return named gravity field cached or construct on Time.
#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
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
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)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
scalarField Re(const UList< complex > &cmplx)
Extract real component.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensionedScalar pow025(const dimensionedScalar &ds)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)