26 #include "IATEsource.H" 27 #include "twoPhaseSystem.H" 36 namespace diameterModels
51 const dictionary& dict
54 dictionaryConstructorTable::iterator cstrIter =
55 dictionaryConstructorTablePtr_->find(type);
57 if (cstrIter == dictionaryConstructorTablePtr_->end())
60 <<
"Unknown IATE source type " 62 <<
"Valid IATE source types : " <<
endl 63 << dictionaryConstructorTablePtr_->sortedToc()
67 return autoPtr<IATEsource>(cstrIter()(iate,
dict));
83 *(otherPhase().
rho() - phase().
rho())
86 *
pow(
max(1 - phase(), scalar(0)), 1.75);
96 return max(Ur()*phase().d()/otherPhase().
nu(), scalar(1.0
e-3));
109 (16/
Re)*(1 + 0.15*
pow(
Re, 0.687)),
123 *(otherPhase().rho() - phase().rho())
134 *(otherPhase().rho() - phase().rho())
140 return otherPhase().rho()*
sqr(Ur())*phase().d()/
fluid().sigma();
static autoPtr< IATEsource > New(const word &type, const IATE &iate, const dictionary &dict)
tmp< volScalarField > Ut() const
Return the bubble turbulent velocity.
errorManipArg< error, int > exit(error &err, const int errNo=1)
UniformDimensionedField< vector > uniformDimensionedVectorField
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionedScalar pow025(const dimensionedScalar &ds)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
tmp< volScalarField > We() const
Return the bubble Webber number.
tmp< volScalarField > Eo() const
Return the bubble Eotvos number.
label k
Boltzmann constant.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< volScalarField > CD() const
Return the bubble drag coefficient.
tmp< volScalarField > Ur() const
Return the bubble relative velocity.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
tmp< volScalarField > Re() const
Return the bubble Reynolds number.
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar("pos", dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar("neg", dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar pow3(const dimensionedScalar &ds)
tmp< volScalarField > Mo() const
Return the bubble Morton number.
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const doubleScalar e
Elementary charge.
A class for managing temporary objects.
const objectRegistry & db() const
Return the local objectRegistry.
scalarField Re(const UList< complex > &cf)