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. OpenFOAM
  3. 如何根据stl模型定义cellZone?

如何根据stl模型定义cellZone?

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

    各位老师好,

    我想通过.stl模型划定cellZone,toposetdict代码如下:

    actions
    (
        {
            name    net1Set;
            type    cellSet;
            action  new;
    /*        source  surfaceToCell;*/
            source	insidePoints;
            sourceInfo
            {
    /*            file			"constant/triSurface/Net1_heave.stl";*/
    /*            nearDistance	1e-6;*/
    /*            curvature		0;*/
    /*            outsidePoints	((-100 0 0)); // STL 外部参考点*/
    /*            includeCut		true;*/
    /*            includeInside	true;*/
    /*            includeOutside	false;*/
    			points((0 15 0));
            }
        }
    
        {
            name    net1Zone;
            type    cellZoneSet;
            action  new;
            source  setToCellZone;
            sourceInfo
            {
                set net1Set;
            }
        }
    

    在paraFoam中预览的.stl模型只有表面网格,其内部是空的。

    希望各位老师能够给出改正意见~
    感谢!

    1 条回复 最后回复

  • 登录

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