31#include "phaseCompressibleTurbulenceModel.H"
56 auto* ctorPtr = dictionaryConstructorTable(
type);
65 *dictionaryConstructorTablePtr_
93 return sqrt(2*otherPhase().
k());
98 return max(Ur()*
phase().d()/otherPhase().
nu(), scalar(1
e-3));
const uniformDimensionedVectorField & g
const Mesh & mesh() const noexcept
Return const reference to mesh.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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.
const phaseModel & phase() const
tmp< volScalarField > We() const
Return the bubble Webber number.
const phaseModel & otherPhase() const
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 a number of values (eg,...
const Time & time() const noexcept
Return time registry.
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
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
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)