技术邻 > CAE仿真 > Ansys 网格映射划分问题? 浏览:873 回答:3 类似下图所示,一个带圆柱孔的长方体,如果把体切分成四等份划分网格的话,前端面四条边的单元格都为偶数,例如下图中端面四条边都为10等分,但是不知道怎么把端面的四边划分为奇数份,尝试了各种方法,都没有成功,不知道是否可以划分,如果可以的话又该如何划分,望解答,感激不尽
如果你对模型四等分是沿着 4 条边的中点进行切分的,那么你需要将四条边划分奇数单元是不可能的,除非单元划分是不对称的。
不过,如果你是沿对角线将模型分割为 4 个小体积,倒是可以将四条边划分奇数个单元,如下图所示:
meshing-2000.jpg
相应的命令流如下:
fini
/clear
/filn,meshing,1
/udoc,1,date,0
WPSTYLE,,,,,,,,0
KEYW,PR_STRUC,1
!*
/PREP7
!*
ET,1,SOLID185
!*
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,EX,1,,210000
MPDATA,PRXY,1,,0.3
!*
WPSTYLE,,,,,,,,1
!*
BLC5, , ,10,10,20
wpro,45.000000,,
CYL4, , ,1.6, ,2, ,20
FLST,2,2,6,ORDE,2
FITEM,2,1
FITEM,2,-2
VOVLAP,P51X
!*
VDELE, 3, , ,1
wpro,,90.000000,
!*
FLST,2,2,6,ORDE,2
FITEM,2,2
FITEM,2,4
VSBW,P51X
!*
wpro,,,90.000000
!*
FLST,2,4,6,ORDE,4
FITEM,2,1
FITEM,2,3
FITEM,2,5
FITEM,2,-6
VSBW,P51X
LPLOT
!*
TYPE, 1
MAT, 1
REAL,
ESYS, 0
SECNUM,
!*
FLST,5,24,4,ORDE,4
FITEM,5,1
FITEM,5,-8
FITEM,5,13
FITEM,5,-28
LSEL, , , ,P51X
!*
LESIZE,all, , ,11, , , , ,1
!*
FLST,5,8,4,ORDE,4
FITEM,5,37
FITEM,5,-40
FITEM,5,49
FITEM,5,-52
LSEL, , , ,P51X
!*
LESIZE,all, , ,10, , , , ,1
!*
FLST,5,8,4,ORDE,6
FITEM,5,33
FITEM,5,-36
FITEM,5,41
FITEM,5,44
FITEM,5,-45
FITEM,5,48
LSEL, , , ,P51X
!*
LESIZE,all, , ,3, , , , ,1
!*
FLST,5,12,4,ORDE,8
FITEM,5,9
FITEM,5,-12
FITEM,5,29
FITEM,5,-32
FITEM,5,42
FITEM,5,-43
FITEM,5,46
FITEM,5,-47
LSEL, , , ,P51X
!*
LESIZE,all, , ,16, , , , ,1
!*
allsel,all
!*
CHKMSH,'VOLU'
MSHAPE,0,3d
MSHKEY,1
VMESH,all
MSHKEY,0
!*
!*
numcmp,all
!*
/USER, 1
/VIEW, 1, 0.288024318873 , 0.138959813129 , 0.947487288607
/ANG, 1, 1.12570287193
/auto,1
EPLO
!*
!*
save