34 const word& modelType,
41 turbulentReaction_(this->coeffs().lookup(
"turbulentReaction")),
46 IOobject::groupName(
"PaSR:kappa", phaseName),
47 mesh.time().timeName(),
74 if (turbulentReaction_)
88 Cmix_*
sqrt(
max(muEff[i]/rho[i]/(epsilon[i] + SMALL), 0));
92 kappa_[i] = tc[i]/(tc[i] + tk);
124 IOobject::groupName(
"PaSR:dQ", this->phaseName_),
139 IOobject::groupName(
"PaSR:Sh", this->phaseName_),
151 this->coeffs().lookup(
"Cmix") >> Cmix_;
152 this->coeffs().lookup(
"turbulentReaction") >> turbulentReaction_;
autoPtr< compressible::turbulenceModel > turbulence
#define forAll(list, i)
Loop across all elements in list.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
virtual bool read()
Update properties from given dictionary.
dimensionedScalar sqrt(const dimensionedScalar &ds)
tmp< volScalarField > trho
Partially stirred reactor combustion model. The model calculates a finite rate, based on both turbule...
virtual tmp< fvScalarMatrix > R(volScalarField &Y) const
Fuel consumption rate matrix.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Laminar combustion model.
stressControl lookup("compactNormalStress") >> compactNormalStress
A class for handling words, derived from string.
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(psi *p+alphal *rhol0+((alphav *psiv+alphal *psil)-psi)*pSat, rhoMin);#1"/home/ubuntu/OpenFOAM-4.1/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H"1{alphav=max(min((rho-rholSat)/(rhovSat-rholSat), scalar(1)), scalar(0));alphal=1.0-alphav;Info<< "max-min alphav: "<< max(alphav).value()<< " "<< min(alphav).value()<< endl;psiModel-> correct()
virtual tmp< volScalarField > Sh() const
Return source for enthalpy equation [kg/m/s3].
virtual void correct()
Correct combustion rate.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
#define R(A, B, C, D, E, F, K, M)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
PtrList< volScalarField > & Y
Mesh data needed to do the Finite Volume discretisation.
virtual ~PaSR()
Destructor.
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Calculate the matrix for implicit and explicit sources.
virtual tmp< volScalarField > dQ() const
Heat release rate calculated from fuel consumption rate matrix.