关于simpleFoam中kEpsilon中k和epsilon的设定
-
kepsilon模型中k的选择和epsilon的选择根据公式算出,
但计算结果一直显示发散,如下图
我认为是由于k和epsilon的初始值选择不恰当造成的。不知道大家怎么选择这两个值?
(计算背景:来流0.1m/s的圆柱绕流,雷诺数设置为2000,各边界设置如下:)
压力设置:internalField uniform 0; boundaryField { INLET { type freestreamPressure; } OUTLET { type freestreamPressure; } TOP { type zeroGradient; } BOTTOM { type zeroGradient; } CYLI { type slip; } frontAndBack { type empty; } }
速度设置:
internalField uniform (0.1 0 0); boundaryField { INLET { type freestream; freestreamValue uniform (0.1 0 0); } OUTLET { type freestream; freestreamValue uniform (0.1 0 0); } TOP { type zeroGradient; } BOTTOM { type zeroGradient; } CYLI { type fixedValue; value uniform (0 0 0); } frontAndBack { type empty; } }
nut
internalField uniform 0; boundaryField { INLET { type freestream; freestreamValue uniform 0; } OUTLET { type freestream; freestreamValue uniform 0; } TOP { type zeroGradient; } BOTTOM { type zeroGradient; } CYLI { type kqRWallFunction; value uniform 0; } frontAndBack { type empty; } }