• 最新
  • 版块
  • 热门
  • 东岳流体
皮肤
  • 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中文网

初学CFD最容易犯的错 公众号 2023年11月23日
CFD领域俄美友谊长存 公众号 2023年11月23日
这是CFD加特林 网站 2023年11月9日

openfoam导入icem二维网格生成的cellzones文件里面为什么显示0个?

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

    5510bd8c-201a-43d8-ac48-08e314b296c4-image.png
    使用fluntMeshtoFoam命令时,显示生成成功,但是polymesh文件夹里面的cellzones显示为0,还包括下图中的文件:
    14ea7db2-5a9b-46b5-81c1-4df0f6ff1469-image.png
    icem中的part和cell的划分如下图:
    04578d43-6583-43eb-a6c6-e579726ea6a3-image.png
    转换网格时终端显示的信息为:

    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time
    
    Dimension of grid: 2
    Number of points: 182065
    Reading points
    Number of cells: 302646
    Other readCellGroupData: d 1 366c7 1 0
    Reading mixed cells
    Other readCellGroupData: e 366c8 455c8 1 0
    Reading mixed cells
    Other readCellGroupData: f 455c9 49e36 1 1
    Reading uniform cells
    number of faces: 484771
    Reading uniform faces
    Reading uniform faces
    Reading uniform faces
    Reading uniform faces
    Reading uniform faces
    Reading uniform faces
    Reading uniform faces
    Reading uniform faces
    Reading uniform faces
    Reading uniform faces
    Reading uniform faces
    Read zone1:13 name:YL patchTypeID:fluid
    Reading zone data
    Read zone1:14 name:WK patchTypeID:fluid
    Reading zone data
    Read zone1:15 name:JK patchTypeID:fluid
    Reading zone data
    Read zone1:16 name:int_YL patchTypeID:interior
    Reading zone data
    Read zone1:17 name:int_WK patchTypeID:interior
    Reading zone data
    Read zone1:18 name:int_JK patchTypeID:interior
    Reading zone data
    Read zone1:19 name:WALL_ITFC2 patchTypeID:wall
    Reading zone data
    Read zone1:20 name:WALL_ITFC1 patchTypeID:wall
    Reading zone data
    Read zone1:21 name:BLADE patchTypeID:wall
    Reading zone data
    Read zone1:22 name:WALL_ITFC22 patchTypeID:wall
    Reading zone data
    Read zone1:23 name:WALL_ITFC11 patchTypeID:wall
    Reading zone data
    Read zone1:24 name:INLET patchTypeID:velocity-inlet
    Reading zone data
    Read zone1:25 name:WALL_WK patchTypeID:wall
    Reading zone data
    Read zone1:26 name:OUTLET patchTypeID:outlet-vent
    Reading zone data
    
    
    FINISHED LEXING
    
    
    dimension of grid: 2
    Grid is 2-D. Extruding in z-direction by: 15.1284
    Creating shapes for 2-D cells
    Building patch-less mesh...--> FOAM Warning : 
        From function Foam::polyMesh::polyMesh(const Foam::IOobject&, Foam::pointField&&, const cellShapeList&, const faceListList&, const wordList&, const wordList&, const Foam::word&, const Foam::word&, const wordList&, bool)
        in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 595
        Found 618200 undefined faces in mesh; adding to default patch.
    done.
    
    Building boundary and internal patches.
    Creating patch 0 for zone: 16 start: 1 end: 350445 type: interior name: int_YL
    Creating patch 1 for zone: 17 start: 350446 end: 444302 type: interior name: int_WK
    Creating patch 2 for zone: 18 start: 444303 end: 471863 type: interior name: int_JK
    Creating patch 3 for zone: 19 start: 471864 end: 473971 type: wall name: WALL_ITFC2
    Creating patch 4 for zone: 20 start: 473972 end: 475730 type: wall name: WALL_ITFC1
    Creating patch 5 for zone: 21 start: 475731 end: 482930 type: wall name: BLADE
    Creating patch 6 for zone: 22 start: 482931 end: 483351 type: wall name: WALL_ITFC22
    Creating patch 7 for zone: 23 start: 483352 end: 483703 type: wall name: WALL_ITFC11
    Creating patch 8 for zone: 24 start: 483704 end: 483855 type: velocity-inlet name: INLET
    Creating patch 9 for zone: 25 start: 483856 end: 484704 type: wall name: WALL_WK
    Creating patch 10 for zone: 26 start: 484705 end: 484771 type: outlet-vent name: OUTLET
    Creating patch for front and back planes
    
    Patch int_YL is internal to the mesh  and is not being added to the boundary.
    Patch int_WK is internal to the mesh  and is not being added to the boundary.
    Patch int_JK is internal to the mesh  and is not being added to the boundary.
    Adding new patch WALL_ITFC2 of type wall as patch 0
    Adding new patch WALL_ITFC1 of type wall as patch 1
    Adding new patch BLADE of type wall as patch 2
    Adding new patch WALL_ITFC22 of type wall as patch 3
    Adding new patch WALL_ITFC11 of type wall as patch 4
    Adding new patch INLET of type patch as patch 5
    Adding new patch WALL_WK of type wall as patch 6
    Adding new patch OUTLET of type patch as patch 7
    Adding new patch frontAndBackPlanes of type empty as patch 8
    
    Writing mesh... to "constant/polyMesh"  done.
    
    
    End
    
    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #2

    如果你要cellZone,你需要带参数-writeZones

    24年3月CFD课将在杭州举办 http://dyfluid.com/class.html
    论坛随机不定时开放注册
    如果需要我给调试算例 1)算例可公开 2)网格数少 3)确保可以跑通

    削 1 条回复 最后回复
  • 削 离线
    削 离线
    削铅笔
    replied to 李东岳 on 最后由 编辑
    #3

    @李东岳 谢谢李哥

    1 条回复 最后回复

CFD中文网2016-2023 | 京ICP备15017992号-2

  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 热门
  • 东岳流体
  • 登录

  • 登录或注册以进行搜索。