中性大气环境湍流动能的自保持 | 附有算例下载
-
@李东岳 李老师,算了您给的算例,计算结果跟您的结果一样,还没找到原因。但有以下问题:
blockMeshDict
中把inlet
和outlet
设置成了wall
,但都改为patch
后,结果还是跟上面的计算结果基本一样,k
偏差仍较大。
算例中
blockMeshDict
初始设置convertToMeters 1; vertices ( (0 0 0) (12 0 0) (12 1.8 0) (0 1.8 0) (0 0 1.8) (12 0 1.8) (12 1.8 1.8) (0 1.8 1.8) ); blocks ( hex (0 1 2 3 4 5 6 7) (120 42 18) simpleGrading (1 4 1) ); edges ( ); boundary ( top { type patch; faces ( (3 7 6 2) ); } inlet { type wall; faces ( (0 4 7 3) ); } outlet { type wall; faces ( (2 6 5 1) ); } bottom { type wall; faces ( (1 5 4 0) ); } sides { type wall; faces ( (0 3 2 1) (4 5 6 7) ); } );
- Yang2009中网格,第一层网格高度0.01m,增长率是1.06。
simpleGrading (1 4 1)
这个设置反算对应第一层网格高度为0.0197,网格增长率为1.034,计算Y+结果大约在300:
# y+ () # Time patch min max average 0 bottom 3.602087e+02 3.602087e+02 3.602087e+02 0 sides 0.000000e+00 0.000000e+00 0.000000e+00 100 bottom 3.026569e+02 4.241725e+02 3.196787e+02 100 sides 2.660222e-03 1.234693e+02 2.231677e+01 200 bottom 2.978864e+02 4.241725e+02 3.151323e+02 200 sides 2.712471e-03 1.696112e+01 7.879751e-01 300 bottom 2.978864e+02 4.241725e+02 3.151323e+02 300 sides 3.569842e-03 1.696111e+01 5.413341e-01 400 bottom 2.978864e+02 4.241725e+02 3.151323e+02 400 sides 1.932649e-03 2.113821e+01 6.643026e-01 500 bottom 2.978864e+02 4.241725e+02 3.151323e+02 500 sides 1.392717e-03 1.696111e+01 5.073163e-01
- 尝试设置为
simpleGrading (1 10.9 1)
,网格总数不变,对应的网格和Yang2009中网格接近,第一层网格高度0.01m,增长率是1.06。计算的Y+数值在80左右,但计算结果还是跟上面的计算结果基本一样,k
偏差仍较大。
# Time patch min max average 0 bottom 1.868099e+02 1.868099e+02 1.868099e+02 0 sides 0.000000e+00 0.000000e+00 0.000000e+00 100 bottom 1.598811e+02 2.174476e+02 1.701706e+02 100 sides 2.192814e-02 1.108888e+02 2.684494e+01 200 bottom 1.539062e+02 2.174475e+02 1.625827e+02 200 sides 8.207370e-04 2.373603e+01 1.893065e+00 300 bottom 1.537618e+02 2.174475e+02 1.625742e+02 300 sides 4.922483e-03 8.914920e+00 7.251943e-01 400 bottom 1.537618e+02 2.174475e+02 1.625742e+02 400 sides 1.176434e-03 3.476801e+01 9.170413e-01 500 bottom 1.537618e+02 2.174475e+02 1.625742e+02 500 sides 3.049010e-03 8.458892e+00 7.410303e-01
- Yang2009中,提到了
SKE1
和SKE2
两种模型,并模拟对比。
尝试根据式(25)和(26)把这两个k曲线画出对比,这两条曲线还是有挺大区别,但在原论文中两个工况的inlet结果看起来像是一样的
-
-
@李东岳 测试的网格如下,网格尺寸比较大
convertToMeters 1; vertices ( (0 0 0)//0 (5000 0 0)//1 (5000 500 0)//2 (0 500 0)//3 (0 0 1)//4 (5000 0 1)//5 (5000 500 1)//6 (0 500 1)//7 ); blocks ( hex (0 1 2 3 4 5 6 7) (500 50 1) simpleGrading (1 10 1) ); edges ( ); boundary ( inlet { type patch; faces ( (3 0 4 7) ); } outlet { type patch; faces ( (1 2 6 5) ); } topWall { type patch; faces ( (2 3 7 6) ); } flatWall1 { type wall; faces ( (0 1 5 4) ); } front { type empty; faces ( (4 5 6 7) ); } back { type empty; faces ( (3 2 1 0) ); } ); mergePatchPairs ( );