Có một ví dụ như dưới, nhưng không hiểu phát sinh lỗi ở chỗ nào mà chạy không ra kết quả, các cao thủ giúp mình với.
/filname,bridge
/title,bridge
/prep7
ET,1,beam4
ET,2,link10
ET,3,shell63
R,1,2,0.6667,0.1667,1,2
R,2,0.0314,0.1
R,3,0.5,0.5,0.5,0.5
mp,ex,1,2e11
mp,nuxy,1,0.3
mp,dens,1,7800
mp,ex,2,3e10
mp,prxy,2,0.2
mp,dens,2,3000
k,1,-60,-10,0
k,2,-50,0,0
k,3,-30,15,0
k,4,-10,20,0
k,5,10,20,0
k,6,30,15,0
k,7,50,0,0
k,8,60,-10,0
k,9,-70,0,
k,10,-60
k,11,-30
k,12,-10
k,13,10
k,14,30
k,15,60
k,16,70
kgen,2,all,,,,,-20,,0
*do,ii,1,7
l,II,II+1
l,ii+16,II+17
*enddo
*do,ii,2,7
l,ii,ii+16
*enddo
l,1,9
l,1,10
l,17,25
l,17,26
l,8,15
l,8,16
l,24,31
l,24,32
l,1,18
l,2,17
l,8,23
l,7,24
*do,ii,3,6
l,ii,ii+8
l,ii+16,ii+24
*enddo
/pnum,kp,1
/VIEW,1,1,2,3
a,9,10,26,25
a,10,2,18,26
a,2,11,27,18
a,11,12,28,27
a,12,13,29,28
a,13,14,30,29
a,14,7,23,30
a,7,15,31,23
a,15,16,32,31
lsel,s,,,1,32
latt,1,1,1,,,,
lesize,all,2
lmesh,all
lsel,s,,,33,40
latt,1,2,2
lesize,all,1
lmesh,all
aatt,2,3,3
aesize,all,2
amesh,all
/sol
nsel,s,loc,y,-10
d,all,all
nsel,s,loc,x,-70
nsel,a,loc,x,70
d,all,ux
ALLSEL,ALL
finish
!----------------------------------------Hoàn thành việc tạo mô hình và liên kết
/sol
antype,modal
modopt,lanb,10
mxpand,10
PSTRES,1
solve
finish
/sol
antype,spectrum
spopt,sprs,10,0
svtyp,3,1
sed,1,0,0
freq,0.5,1.0,1.5,2.0,2.5,0,0,0,0
sv,0,0.8,0.5,0.6,0.8,1.2,
solve
finish
/sol
antype,spectrum
srss,0.01,disp
solve
finish
/post1
/INPUT,'bridge','mcom','C:\Users\Tuan Anh\',, 0
plnsol,u,y,0,1
finish
Phần màu đỏ các bác thay bằng đường dẫn đến file bridge.mcom
/filname,bridge
/title,bridge
/prep7
ET,1,beam4
ET,2,link10
ET,3,shell63
R,1,2,0.6667,0.1667,1,2
R,2,0.0314,0.1
R,3,0.5,0.5,0.5,0.5
mp,ex,1,2e11
mp,nuxy,1,0.3
mp,dens,1,7800
mp,ex,2,3e10
mp,prxy,2,0.2
mp,dens,2,3000
k,1,-60,-10,0
k,2,-50,0,0
k,3,-30,15,0
k,4,-10,20,0
k,5,10,20,0
k,6,30,15,0
k,7,50,0,0
k,8,60,-10,0
k,9,-70,0,
k,10,-60
k,11,-30
k,12,-10
k,13,10
k,14,30
k,15,60
k,16,70
kgen,2,all,,,,,-20,,0
*do,ii,1,7
l,II,II+1
l,ii+16,II+17
*enddo
*do,ii,2,7
l,ii,ii+16
*enddo
l,1,9
l,1,10
l,17,25
l,17,26
l,8,15
l,8,16
l,24,31
l,24,32
l,1,18
l,2,17
l,8,23
l,7,24
*do,ii,3,6
l,ii,ii+8
l,ii+16,ii+24
*enddo
/pnum,kp,1
/VIEW,1,1,2,3
a,9,10,26,25
a,10,2,18,26
a,2,11,27,18
a,11,12,28,27
a,12,13,29,28
a,13,14,30,29
a,14,7,23,30
a,7,15,31,23
a,15,16,32,31
lsel,s,,,1,32
latt,1,1,1,,,,
lesize,all,2
lmesh,all
lsel,s,,,33,40
latt,1,2,2
lesize,all,1
lmesh,all
aatt,2,3,3
aesize,all,2
amesh,all
/sol
nsel,s,loc,y,-10
d,all,all
nsel,s,loc,x,-70
nsel,a,loc,x,70
d,all,ux
ALLSEL,ALL
finish
!----------------------------------------Hoàn thành việc tạo mô hình và liên kết
/sol
antype,modal
modopt,lanb,10
mxpand,10
PSTRES,1
solve
finish
/sol
antype,spectrum
spopt,sprs,10,0
svtyp,3,1
sed,1,0,0
freq,0.5,1.0,1.5,2.0,2.5,0,0,0,0
sv,0,0.8,0.5,0.6,0.8,1.2,
solve
finish
/sol
antype,spectrum
srss,0.01,disp
solve
finish
/post1
/INPUT,'bridge','mcom','C:\Users\Tuan Anh\',, 0
plnsol,u,y,0,1
finish
Phần màu đỏ các bác thay bằng đường dẫn đến file bridge.mcom
Ghi chú