chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整
-
大家好,
我先用blockMesh生成背景网格,椭球体在空气中,地面上方,与空气发生共轭传热,所以我进一步使用snappyhexmesh划分网格,geometry { target.stl { type triSurfaceMesh; name target; } };
对椭球体区域进行加密
refinementRegions { target { mode inside; levels ((1E15 5)); } } locationInMesh ( 39 39 59 ) ;
我设置了不同的levels ((1E15 0)); levels ((1E15 3)); levels ((1E15 5));
之后使用toposet分别定义物体和地面{ name target; type cellSet; action new; source surfaceToCell; sourceInfo { file "constant/triSurface/target.stl"; outsidePoints ((39 39 59)); includeCut false; includeInside true; includeOutside false; nearDistance -1; curvature -100; } } { name target; type cellZoneSet; action new; source setToCellZone; set target; // cellSet }
{ name floor; type cellSet; action new; source boxToCell; box (0 0 -2)(41 41 0); } { name floor; type cellZoneSet; action new; source setToCellZone; set floor; }



随着level增加,网格越接近椭球体,但地面越来越不平整,该如何解决?
希望能得到帮助
-
@李东岳 在 chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整 中说:
blockMesh细化一下就好了
那这个物体要是很接近地面呢,如果用blockMesh设置背景网格会不会太多了
-
@李东岳 在 chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整 中说:
要是很接近地面,就需要局部细化网格,要不就会出现这个问题
也就是说在整个大背景内部,画一个长方体区域进行加密,并能包裹住这个椭球体,是吧?