BUG: twoPhaseEulerFoam: corrected the definintion of K in turbulence models and in the segregated drag model
This commit is contained in:
parent
5f2583a17a
commit
13cdbe3c45
4 changed files with 8 additions and 11 deletions
|
|
@ -138,11 +138,7 @@ Foam::tmp<Foam::volScalarField> Foam::dragModels::segregated::K() const
|
|||
(
|
||||
pair_.rho()
|
||||
*pair_.magUr()
|
||||
/(
|
||||
magGradI
|
||||
*max(alpha1*alpha2, sqr(residualAlpha_))
|
||||
*muI
|
||||
)
|
||||
/(magGradI*muI)
|
||||
);
|
||||
|
||||
volScalarField lambda(m_*ReI + n_*muAlphaI/muI);
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ tmp<volScalarField> NicenoKEqn<BasicTurbulenceModel>::bubbleG() const
|
|||
|
||||
tmp<volScalarField> bubbleG
|
||||
(
|
||||
Cp_*gas*sqr(magUr)*fluid.drag(gas).K()/liquid.rho()
|
||||
Cp_*sqr(magUr)*fluid.drag(gas).K()/liquid.rho()
|
||||
);
|
||||
|
||||
return bubbleG;
|
||||
|
|
|
|||
|
|
@ -194,9 +194,10 @@ tmp<volScalarField> LaheyKEpsilon<BasicTurbulenceModel>::bubbleG() const
|
|||
tmp<volScalarField> bubbleG
|
||||
(
|
||||
Cp_
|
||||
*liquid*liquid.rho()
|
||||
*(
|
||||
pow3(magUr)
|
||||
+ pow(fluid.drag(gas).K()*gas.d()/liquid.rho(), 4.0/3.0)
|
||||
+ pow(fluid.drag(gas).CdRe()*liquid.nu()/gas.d(), 4.0/3.0)
|
||||
*pow(magUr, 5.0/3.0)
|
||||
)
|
||||
*gas
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@ tmp<volScalarField> mixtureKEpsilon<BasicTurbulenceModel>::Ct2() const
|
|||
volScalarField beta
|
||||
(
|
||||
(6*this->Cmu_/(4*sqrt(3.0/2.0)))
|
||||
*alphag*fluid.drag(gas).K()/liquid.rho()
|
||||
*fluid.drag(gas).K()/liquid.rho()
|
||||
*(liquidTurbulence.k_/liquidTurbulence.epsilon_)
|
||||
);
|
||||
volScalarField Ct0((3 + beta)/(1 + beta + 2*gas.rho()/liquid.rho()));
|
||||
|
|
@ -488,10 +488,10 @@ tmp<volScalarField> mixtureKEpsilon<BasicTurbulenceModel>::bubbleG() const
|
|||
tmp<volScalarField> bubbleG
|
||||
(
|
||||
Cp_
|
||||
*sqr(liquid)*liquid.rho()
|
||||
*liquid*liquid.rho()
|
||||
*(
|
||||
pow3(magUr)
|
||||
+ pow(fluid.drag(gas).K()*gas.d()/liquid.rho(), 4.0/3.0)
|
||||
+ pow(fluid.drag(gas).CdRe()*liquid.nu()/gas.d(), 4.0/3.0)
|
||||
*pow(magUr, 5.0/3.0)
|
||||
)
|
||||
*gas
|
||||
|
|
@ -501,7 +501,7 @@ tmp<volScalarField> mixtureKEpsilon<BasicTurbulenceModel>::bubbleG() const
|
|||
// Simple model
|
||||
// tmp<volScalarField> bubbleG
|
||||
// (
|
||||
// Cp_*sqr(liquid)*gas*fluid.drag(gas).K()*sqr(magUr)
|
||||
// Cp_*liquid*fluid.drag(gas).K()*sqr(magUr)
|
||||
// );
|
||||
|
||||
return bubbleG;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue