Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

  1. CFD中文网
  2. Meshy
  3. chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整

chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整

已定时 已固定 已锁定 已移动 Meshy
6 帖子 2 发布者 45 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • chengan.wangC 离线
    chengan.wangC 离线
    chengan.wang
    写于 最后由 编辑
    #1

    大家好,
    我先用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;
        }
    

    ![替代文字](14f41d08-ffa0-4dd7-aec2-928a549ced39-0.png 图片地址)
    ![替代文字](88599b69-cb57-4619-8814-782ef2ff3df4-3.png 图片地址)
    ![替代文字](9a1ad641-c6b9-421d-9ff8-d4afcf884cb7-5.png 图片地址)

    随着level增加,网格越接近椭球体,但地面越来越不平整,该如何解决?

    希望能得到帮助:xiexie:

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #2

    blockMesh细化一下就好了

    9月CFD算法编程课: http://dyfluid.com/class.html

    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    chengan.wangC 1 条回复 最后回复
  • chengan.wangC 离线
    chengan.wangC 离线
    chengan.wang
    在 中回复了 李东岳 最后由 编辑
    #3

    @李东岳 在 chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整 中说:

    blockMesh细化一下就好了

    那这个物体要是很接近地面呢,如果用blockMesh设置背景网格会不会太多了

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #4

    要是很接近地面,就需要局部细化网格,要不就会出现这个问题

    9月CFD算法编程课: http://dyfluid.com/class.html

    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    chengan.wangC 1 条回复 最后回复
  • chengan.wangC 离线
    chengan.wangC 离线
    chengan.wang
    在 中回复了 李东岳 最后由 编辑
    #5

    @李东岳 在 chtMultiRegionFoam中使用snappyhexmesh划分网格导致toposet设置的规则平面不平整 中说:

    要是很接近地面,就需要局部细化网格,要不就会出现这个问题

    也就是说在整个大背景内部,画一个长方体区域进行加密,并能包裹住这个椭球体,是吧?

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #6

    要把下面那个平面也要包含进去

    9月CFD算法编程课: http://dyfluid.com/class.html

    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复

  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]