我在ansys上试了这个在网上找到的ansys命令流,但是怎么运行都不行,初学者,高手帮忙看看
/PREP7ET,1,SOLID45ET,2,FLUID30ET,3,130r,3,0.3,0,0ET,4,FLUID30,,1,0MP,EX,1,2.1E11MP,DE...
/PREP7
ET,1,SOLID45
ET,2,FLUID30
ET,3,130
r,3,0.3,0,0
ET,4,FLUID30,,1,0
MP,EX,1,2.1E11
MP,DENS,1,7800
MP,NUXY,1,0.3
MP,DENS,2,1.21
MP,SONC,2,344
wprot,0,-90,0
SPHERE,,0.3,0,180
wprot,0,90,0
BLOCK,0,0.1,-0.002,0.002,-0.1,0
BLOCK,-0.1,0,-0.002,0.002,-0.1,0
VGLUE,2,3
VOVLAP,1,2
VOVLAP,3,4
LESIZE,9,,,20,1
LESIZE,19,,,20,1
LESIZE,14,,,20,1
LESIZE,18,,,20,1
LESIZE,11,,,20,1
LESIZE,16,,,20,1
LESIZE,12,,,20,1
LESIZE,17,,,20,1
LESIZE,8,,,4,1
LESIZE,15,,,4,1
LESIZE,13,,,4,1
LESIZE,10,,,4,1
VSEL,S,,,1
VATT,1,,1
MSHKEY,1
VMESH,2
ALLS
LESIZE,32,,,20,1
LESIZE,31,,,20,1
LESIZE,35,,,20,1
LESIZE,33,,,20,1
LESIZE,28,,,20,1
LESIZE,34,,,20,1
LESIZE,20,,,4,1
LESIZE,27,,,4,1
VSEL,S,,,4
VATT,1,,1
MSHKEY,1
VMESH,4
ALLS
VSEL,S,,,1
VATT,2,,2
SMRT,1
VMESH,1
ALLS
ESEL,S,TYPE,1
NSLE,S
ESLN,S,0
NSLE,S
ESEL,INVE
NSLE,S
EMODIF,ALL,TYPE,4
ALLS
ASEL,S,,,1,2
NSLA,S,1
TYPE,3
REAL,3
MAT,2
ESURF
ALLS
ASEL,S,,,8
ASEL,S,,,10
ASEL,S,,,7
ASEL,S,,,5
ASEL,S,,,19
ASEL,S,,,15
ASEL,S,,,17
ASEL,S,,,20
NSLA,S,1
ESEL,S,TYPE,2
SF,ALL,FSI,1
ALLS
/SOLU
ANTYPE,HARMIC
HROPT,FULL
F,131,FY,1000
ALLS
NSUBST,10
KBC,1
HARF,337,337
SOLVE
/POST1
SET,FIRST
ESEL,S,TYPE,,2
ESEL,A,TYPE,,4
PLESOL,NMISC,4,0,1.0
/SOLU
ANTYPE,HARMIC
HROPT,FULL
F131,FY,1000
ALLS
NSUBST,10
KBC,1
HARF,530,540
SOLVE
/POST26
PLCPLX,0
NSOL,2,1,U,X,DLUX
STORE
CONJUG,3,2
PROD,4,2,3
SQRT,5,4
*GET,UXMX,VARI,5,EXTREM,TMAX 展开
ET,1,SOLID45
ET,2,FLUID30
ET,3,130
r,3,0.3,0,0
ET,4,FLUID30,,1,0
MP,EX,1,2.1E11
MP,DENS,1,7800
MP,NUXY,1,0.3
MP,DENS,2,1.21
MP,SONC,2,344
wprot,0,-90,0
SPHERE,,0.3,0,180
wprot,0,90,0
BLOCK,0,0.1,-0.002,0.002,-0.1,0
BLOCK,-0.1,0,-0.002,0.002,-0.1,0
VGLUE,2,3
VOVLAP,1,2
VOVLAP,3,4
LESIZE,9,,,20,1
LESIZE,19,,,20,1
LESIZE,14,,,20,1
LESIZE,18,,,20,1
LESIZE,11,,,20,1
LESIZE,16,,,20,1
LESIZE,12,,,20,1
LESIZE,17,,,20,1
LESIZE,8,,,4,1
LESIZE,15,,,4,1
LESIZE,13,,,4,1
LESIZE,10,,,4,1
VSEL,S,,,1
VATT,1,,1
MSHKEY,1
VMESH,2
ALLS
LESIZE,32,,,20,1
LESIZE,31,,,20,1
LESIZE,35,,,20,1
LESIZE,33,,,20,1
LESIZE,28,,,20,1
LESIZE,34,,,20,1
LESIZE,20,,,4,1
LESIZE,27,,,4,1
VSEL,S,,,4
VATT,1,,1
MSHKEY,1
VMESH,4
ALLS
VSEL,S,,,1
VATT,2,,2
SMRT,1
VMESH,1
ALLS
ESEL,S,TYPE,1
NSLE,S
ESLN,S,0
NSLE,S
ESEL,INVE
NSLE,S
EMODIF,ALL,TYPE,4
ALLS
ASEL,S,,,1,2
NSLA,S,1
TYPE,3
REAL,3
MAT,2
ESURF
ALLS
ASEL,S,,,8
ASEL,S,,,10
ASEL,S,,,7
ASEL,S,,,5
ASEL,S,,,19
ASEL,S,,,15
ASEL,S,,,17
ASEL,S,,,20
NSLA,S,1
ESEL,S,TYPE,2
SF,ALL,FSI,1
ALLS
/SOLU
ANTYPE,HARMIC
HROPT,FULL
F,131,FY,1000
ALLS
NSUBST,10
KBC,1
HARF,337,337
SOLVE
/POST1
SET,FIRST
ESEL,S,TYPE,,2
ESEL,A,TYPE,,4
PLESOL,NMISC,4,0,1.0
/SOLU
ANTYPE,HARMIC
HROPT,FULL
F131,FY,1000
ALLS
NSUBST,10
KBC,1
HARF,530,540
SOLVE
/POST26
PLCPLX,0
NSOL,2,1,U,X,DLUX
STORE
CONJUG,3,2
PROD,4,2,3
SQRT,5,4
*GET,UXMX,VARI,5,EXTREM,TMAX 展开
展开全部
什么叫不运行?
运行报错?还是警告?
总有错误信息。
运行报错?还是警告?
总有错误信息。
追问
运行报错,当我在对体2进行网格划分的时候,即VSEL,S,,,1
VATT,1,,1
MSHKEY,1
VMESH,2,电脑提示element type 1没有定义;意思就是我按照这个指令输进去,不能进行网格划分,后面的操作如边界条件的确认,求解类型,后处理我不是特别懂(初学)。
追答
错误提示是element type 1未定义。所以导致后面的网格划分不能进行。
你的命令流里面ET,1,SOLID45,这一句就是定义element type 1的。
只不过,后面那个逗号,是中文状态下的逗号,切换成英文状态下的逗号。那3条ET语句都要改。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询