mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: (kklOmega.C) limiting exp to avoid under flow
This commit is contained in:
@ -155,16 +155,25 @@ tmp<volScalarField> kkLOmega::fOmega
|
||||
tmp<volScalarField> kkLOmega::gammaBP(const volScalarField& omega) const
|
||||
{
|
||||
return
|
||||
(
|
||||
min
|
||||
(
|
||||
max
|
||||
(
|
||||
kt_/nu()
|
||||
/ (
|
||||
omega
|
||||
+ dimensionedScalar("ROTVSMALL", omega.dimensions(), ROOTVSMALL)
|
||||
+ dimensionedScalar
|
||||
(
|
||||
"ROTVSMALL",
|
||||
omega.dimensions(),
|
||||
ROOTVSMALL
|
||||
)
|
||||
)
|
||||
- CbpCrit_,
|
||||
scalar(0)
|
||||
),
|
||||
scalar(50.0)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user