mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
PDRFoam: Added betav to ddtCorr
Resolves bug-report https://bugs.openfoam.org/view.php?id=3014
This commit is contained in:
@ -146,7 +146,7 @@ void PDRkEpsilon::correct()
|
|||||||
volScalarField GR(drag.Gk());
|
volScalarField GR(drag.Gk());
|
||||||
|
|
||||||
volScalarField LI
|
volScalarField LI
|
||||||
(C4_*(Lobs + dimensionedScalar("minLength", dimLength, vSmall)));
|
(C4_*(Lobs + dimensionedScalar("minLength", dimLength, rootVSmall)));
|
||||||
|
|
||||||
// Dissipation equation
|
// Dissipation equation
|
||||||
tmp<fvScalarMatrix> epsEqn
|
tmp<fvScalarMatrix> epsEqn
|
||||||
|
|||||||
@ -11,7 +11,7 @@ if (pimple.transonic())
|
|||||||
fvc::interpolate(psi)
|
fvc::interpolate(psi)
|
||||||
*(
|
*(
|
||||||
fvc::flux(HbyA)
|
fvc::flux(HbyA)
|
||||||
+ fvc::interpolate(rho*rAU)*fvc::ddtCorr(rho, U, phi)
|
+ fvc::interpolate(betav*rho*rAU)*fvc::ddtCorr(rho, U, phi)
|
||||||
/fvc::interpolate(rho)
|
/fvc::interpolate(rho)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -42,7 +42,7 @@ else
|
|||||||
"phiHbyA",
|
"phiHbyA",
|
||||||
(
|
(
|
||||||
fvc::flux(rho*HbyA)
|
fvc::flux(rho*HbyA)
|
||||||
+ fvc::interpolate(rho*rAU)*fvc::ddtCorr(rho, U, phi)
|
+ fvc::interpolate(betav*rho*rAU)*fvc::ddtCorr(rho, U, phi)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user