PDRkEpsilon: Removed second bounding of epsilon to avoid turbulence-combustion coupling instability
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -46,16 +46,16 @@ addToRunTimeSelectionTable(RASModel, PDRkEpsilon, dictionary);
|
|||||||
tmp<volScalarField> PDRkEpsilon::boundEpsilon()
|
tmp<volScalarField> PDRkEpsilon::boundEpsilon()
|
||||||
{
|
{
|
||||||
tmp<volScalarField> tCmuk2(Cmu_*sqr(k_));
|
tmp<volScalarField> tCmuk2(Cmu_*sqr(k_));
|
||||||
epsilon_ = max(epsilon_, tCmuk2()/(this->nutMaxCoeff_*this->nu()));
|
epsilon_ = max(epsilon_, tCmuk2()/(nutMaxCoeff_*nu()));
|
||||||
return tCmuk2;
|
return tCmuk2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void PDRkEpsilon::correctNut()
|
void PDRkEpsilon::correctNut()
|
||||||
{
|
{
|
||||||
this->nut_ = boundEpsilon()/epsilon_;
|
nut_ = Cmu_*sqr(k_)/epsilon_;
|
||||||
this->nut_.correctBoundaryConditions();
|
nut_.correctBoundaryConditions();
|
||||||
fvConstraints::New(this->mesh_).constrain(this->nut_);
|
fvConstraints::New(mesh_).constrain(nut_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ FoamFile
|
|||||||
|
|
||||||
application PDRFoam;
|
application PDRFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom startTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ writeInterval 0.01;
|
|||||||
|
|
||||||
purgeWrite 0;
|
purgeWrite 0;
|
||||||
|
|
||||||
writeFormat ascii;
|
writeFormat binary;
|
||||||
|
|
||||||
writePrecision 8;
|
writePrecision 8;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user