《ansys面映射网格》由会员分享,可在线阅读,更多相关《ansys面映射网格(10页珍藏版)》请在金锄头文库上搜索。
1、ansysansys 面映射网格面映射网格finish/clear/prep7et,1,plane82k,1,5k,2,10k,3,11,6k,4,6,15k,5,-1,8k,6,4l,1,2l,2,3l,3,4larc,4,5,3,10l,5,6l,6,1al,allesize,3mshape,0amap,1,2,5,3,4 与用 amesh 划分的结果不同finish/clear/prep7et,1,42k,1k,2,10,-1k,3,8,6k,4,1,3a,1,2,3,4lesize,1,8lesize,3,3lesize,4,7lesize,2,2 将所编号的线划分多少份mshape,
2、0,2d “0”四边形或六面体 “1”三角形或四面体 2d为二维 3d 为三维mshkey,1 “0”自由网格 “1”映射网格 “2”自由网格和映射网格混合amesh,allfinish /clear/prep7et,1,42k,1k,2,10,-1k,3,8,6k,4,1,3a,1,2,3,4lesize,1,10,0.5lesize,2,10,5mshape,0,2dmshkey,1amesh,allesize,1,11esize,3,3esize,4,2esize,2,2 第一个参数控制要画单元的大小 第二个控制要画单元分的分数(两个同时存在时第一个优先)kesize,1,0.2lesi
3、ze,1,0.5mshape,0,2dmshkey,1amesh,allfinish/clear/prep7et,1,42k,1k,2,10,-1k,3,8,6k,4,1,3a,1,2,3,4lesize,1,8lesize,3,3lesize,4,7lesize,2,2mshape,0,2dmshkey,1amesh,all 当不满足映射网格划分的条件时,就只能用自由网格划分了finish/clear/prep7et,1,95blc4,8,8,8lesize,all,4lesize,7,12mshape,0,3dmshkey,1vmesh,all这是我在 simwe 论坛里看到的,不过对我这
4、个模型帮助不大,我是用 ug 建模的,圆柱面,用下面的方法不知道怎么划分。年轮finish/clear/prep7et,1,63 CYL4, , ,1,10, ,lsel,s,1lesize,all,1allsamesh,allcsys,1AGEN,36,all, , , ,10, , ,0 NUMMRG,ALL,1e-6, , ,LOW eplot钱币finish/clear/prep7et,1,63 PCIRC,1, ,45,135, RECTNG,-0.3,0.3,-0.3,0.3, aovlap,all asel,s,5adele,all,1allsasel,s,4MSHKEY,1am
5、esh,allallscsys,1AGEN,4,all, , , ,90, , ,0 NUMMRG,ALL,1e-6, , ,LOW asel,s,1,7,2aadd,allasel,s,9amesh,allallseplot扇面映射finish/clear/prep7et,1,63 CYL4, , ,1,90, ,lesize,all,10mshkey,1amesh,allcsys,1AGEN,4,all, , , ,90, , ,0 NUMMRG,ALL,1e-6, , ,LOW eplot黄金分割finish/clear/prep7et,1,63 CYL4, , ,1,90, ,lsel
6、,s,2,3lesize,all,20lsel,s,1lesize,all,32allsamesh,allcsys,1AGEN,4,all, , , ,90, , ,0 NUMMRG,ALL,1e-6, , ,LOW eplot这一种,呵呵,只是随便试着玩搞出来的,没什么实用价值finish/clear/prep7et,1,63 CYL4, , ,1,30, ,lsel,s,1lesize,all,4allsMSHKEY,1amesh,allcsys,1AGEN,12,all, , , ,30, , ,0 NUMMRG,ALL,1e-6, , ,LOW eplotfinish/clear/pr
7、ep7a=10r=2et,1,mesh200,6 !?et,2,solid45blc4,2*a,a,acyl4,a/2,a/2,r,awprota,90 !改变坐标系方向cyl4,1.5*a,a/2,r,-avsbv,1,2 !布尔去除 “Subtracts volumes from volumes” vsbv,4,3wprota,90wpoff,a/2 !移动坐标vsbw,allwpoff,a/2vsbw,all !用坐标系来分割体“Subtracts intersection of the working plane from volumes (divides volumes)”wpoff
8、,a/2vsbw,allwpcsys !回到世界坐标(原始坐标)“Defines the working plane location based on a coordinate system.”wpoff,a/2,a/2vsbw,allwprota,90vsbw,allwpcsysesize,1 !设置单元大小amap,105,15,16,26,63amap,107,16,13,60,26amap,108,13,14,28,60amap,103,15,14,28,63lesize,94,4lesize,79,4vsel,s,loc,x,0,a !建立一个体的集合(set) ,具体是:x 坐标
9、从 0 到 a 的全部体(x=0 和 x=a 两面之间所夹的那部分) 。 vsweep,all !将前面所选中的部分扫描成网格asel,s,loc,y,a !建立一个面集合(set) ,具体是:与 y=a 的面重合的所有面。asel,r,loc,x,a,2*a !在上面的集合基础上建立面子集(reselect set)具体是:x 坐标从 a 到 2*a 的子集面(x=a 和x=2*a 两面之间所夹的那部分) 。lccat,2,45 !连接两条线 (当是“lccat,all“时,是将 lsel 选中的所有线连接起来) 。lccat,57,71lccat,68,78lccat,65,72mshap
10、e,0,2dmshkey,1amesh,allvsel,s,loc,x,a,2*a !选择体,位置从 x 坐标的 a 到2*a 范围内vsweep,allallsel !?/view,1,1,2,3 !/VIEW, WN, XV, YV, ZV :WN 代表控制哪一个窗口;从一点和坐标原点连线,从该点向坐标原点看去,XV,YV,ZV 即为那个点“Defines the viewing direction for the display”eplotfinish/clear/prep7et,1,82et,2,95blc4,4,4 !Creates a rectangular area or blo
11、ck volume by corner points. “BLC4, XCORNER, YCORNER, WIDTH, HEIGHT, DEPTH”blc4,6,4,4blc4,12,4,4blc4,18,4,4esize,1amesh,allesize,8 vrotat,1,1,4,90,2 !?VROTAT, NA1, NA2, NA3, NA4, NA5, NA6, PAX1, PAX2, ARC, NSEG 不是道怎么控制划分分数,也不知道 NSEG 是控制什么的。vext,2,4,1,5,5,8 !VEXT, NA1, NA2, NINC, DX, DY, DZ, RX, RY, R
12、Z 面 1,面 2,面增量;X 方向偏移量,Y 方向偏移量,Z 方向偏移量;X 方向比率,Y 方向比率,Z 方向比率(若没有偏移量,则向原点伸缩,若有偏移量,则向偏移方向伸缩)“Generates additional volumes by extruding areas” voffst,3,10 !后面还有第三个参数,可以控制生产节点的排序方式vdrag,4,35(finish/clear/prep7et,1,82et,2,95pcirc,0,1,0,360k,5,10wprota,90circle,5,10 !CIRCLE, PCENT, RAD, PAXIS, PZERO, ARC, NSEG 圆心关键点,半径,对称轴,0 点位置,圆弧长度(弧度) ,分割的份数 “Generates circular arc lines”vdrag,1,5,6,7,8)