Ansys 如何用APDL将自定义梁截面的截面特性信息写入TXT文件?

浏览:1638 回答:3
Ansys 如何用APDL将自定义梁截面的截面特性信息写入TXT文件? 自定义了梁截面,希望将梁截面特性(AREA, Iyy, Izz,等信息)写入文件,
邀请回答 我来回答

全部回答

(2)
默认 最新
蓝牙

这是3个自定义梁截面的命令流,你参考下

2019年12月30日
评论 1 点赞
蓝牙

finish

/clear

!(1)设置工程属性

/filnam,static

/UNITS,MPA    !MPA system (mm, Mg, s, °C)

/prep7

/view,,1,1,1  !设置图方式形显示MPA system (mm, Mg, s, °C)

!**********************************

et,1,mesh200,6 

keyopt,1,1,7


k,50001,-20,-30,0

k,50002,-20,30,0

k,50003,8,32,0

k,50004,40,30,0

k,50005,40,30-2.5,0

k,50006,40-17.5,30-2.5,0

k,50007,40-17.5-2.5,30-2.5-2.5,0

k,50008,40-17.5-2.5,-30,0



*do,i,1,7

l,i+50000,i+50001

*enddo

l,i+50001,50001


aL,1,2,3,4,5,6,7,8


K,50009,-18,-27.5,,   

K,50010,-18,27.5,,  

K,50011,18,27.5,,   

K,50012,18,-27.5,,


a,50009,50010,50011,50012

ASBA,       1,       2  



LWPL,-1,12

ASBW,all  


LWPL,-1,12,1

ASBW,all


  

KWPAVE,   50003  

ASBW,all 

  

KWPAVE,   50006   

ASBW,all   


 

LWPL,-1,11,1  

ASBW,all

   

KWPAVE,   50007 

ASBW,all

   

KWPAVE,   50011 

ASBW,all


CSYS,1  

AGEN, ,all, , , ,90, , , ,1

CSYS,0 

LESIZE,all,1, , , , , , ,1  


MSHAPE,0,2D 

MSHKEY,0

amesh,all


secwrite,LT_I,sect,,1

!**********************************

finish

/clear

!(1)设置工程属性

/filnam,static

/UNITS,MPA    !MPA system (mm, Mg, s, °C)

/prep7

/view,,1,1,1  !设置图方式形显示MPA system (mm, Mg, s, °C)

!**********************************

et,2,mesh200,6 


keyopt,2,1,7

et,1,mesh200,6 

keyopt,1,1,7



k,50001,0,-30,0

k,50002,0,32,0

k,50003,8,32,0

k,50004,40,30,0

k,50005,40,30-2.5,0

k,50006,40-17.5,30-2.5,0

k,50007,40-17.5-2.5,30-2.5-2.5,0

k,50008,40-17.5-2.5,-30,0



*do,i,1,7

l,i+50000,i+50001

*enddo

l,i+50001,50001


aL,1,2,3,4,5,6,7,8


K,50009,0,-27.5,,   

K,50010,0,27.5,,  

K,50011,18,27.5,,   

K,50012,18,-27.5,,


a,50009,50010,50011,50012

ASBA,       1,       2  



LWPL,-1,12,1

KWPAVE,   50012 

ASBW,all


KWPAVE,   50006 

ASBW,all


LWPL,-1,11,1

ASBW,all


KWPAVE,   50007 

ASBW,all

KWPAVE,   50006 

ASBW,all


 

ARSYM,X,all, , , ,0,0  

AGLUE,all  


CSYS,1  

AGEN, ,all, , , ,90, , , ,1

CSYS,0 


LESIZE,all,1, , , , , , ,1  


MSHAPE,0,2D 

MSHKEY,0

amesh,all


secwrite,LT_II,sect,,1

!**********************************

finish

/clear

!(1)设置工程属性

/filnam,static

/UNITS,MPA    !MPA system (mm, Mg, s, °C)

/prep7

/view,,1,1,1  !设置图方式形显示MPA system (mm, Mg, s, °C)

!**********************************

et,1,mesh200,6 

keyopt,1,1,7


k,50001,-20,-30,0

k,50002,-20,30,0

k,50003,8,32,0

k,50004,40,30,0

k,50005,40,30-2.5,0

k,50006,40-17.5,30-2.5,0

k,50007,40-17.5-2.5,30-2.5-2.5,0

k,50008,40-17.5-2.5,-30,0



*do,i,1,7

l,i+50000,i+50001

*enddo

l,i+50001,50001


aL,1,2,3,4,5,6,7,8


K,50009,-18,-27.5,,   

K,50010,-18,27.5,,  

K,50011,18,27.5,,   

K,50012,18,-27.5,,


a,50009,50010,50011,50012

ASBA,       1,       2  



LWPL,-1,12

ASBW,all  


LWPL,-1,12,1

ASBW,all


  

KWPAVE,   50003  

ASBW,all 

  

KWPAVE,   50006   

ASBW,all   


 

LWPL,-1,11,1  

ASBW,all

   

KWPAVE,   50007 

ASBW,all

   

KWPAVE,   50011 

ASBW,all




ARSYM,X,all, , , ,0,1 


CSYS,1  

AGEN, ,all, , , ,90, , , ,1

CSYS,0 


LESIZE,all,1, , , , , , ,1  


MSHAPE,0,2D 

MSHKEY,0

amesh,all 


secwrite,LT_III,sect,,1

!**********************************


2019年12月30日
评论 点赞

没解决?试试专家一对一服务

换一批