! 一个四层弹簧-质点模型的地震ANSYS分析
! Example of seismic analysis in ANSYS
! 包括频率分析,谱分析和时程分析
! With model & frequency analysis, spectrum analysis and transient analysis
! 作者:陆新征,清华大学土木工程系
! Author: Lu Xinzheng Dept. Civil Engrg. of Tsinghua University

FINI
/CLEAR
/UNITS,SI
/PREP7
DAMPRATIO=0.02 !振型阻尼系数都为0.02
ET,1,BEAM188
KEYOPT,1,7,1
KEYOPT,1,8,1
ET,2,MASS21,,,4
MP,EX,1,210E9
MP,NUXY,1,0.3
MP,DENS,1,7800
MPDATA,DAMP,1,,DAMPRATIO
SECTYPE,3,BEAM,I
SECDATA,0.2,0.2,0.5,0.01,0.01,0.008
R,1,1.6E2,1.6E2
R,2,1.2E2,1.2E2
K,1,0,0,0
K,2,0,3,0
K,3,0,6,0
K,4,0,9,0
K,5,0,12,0
K,6,0,0,10000
L,1,2
L,2,3
L,3,4
L,4,5
LSEL,,,,1,4
LATT,1,0,1,,6,,3
ALLS
LESIZE,ALL, , ,3 , , , , ,1
LMESH,ALL
NUMMRG,ALL
NUMCMP,ALL
TYPE,2
REAL,1
E,2
TYPE,2
REAL,2
E,8
E,14
E,20
*SET,NT,1001
*SET,DT,0.02
*DIM,AC,,NT
*VREAD,AC(1),RECORD,TXT
(F8.3)
/SOLU
D,1,ALL,
ANTYPE,0
SOLVE
FINISH
/SOLU !模态分析
ANTYPE,2
MODOPT,SUBSP,8
MXPAND,8, , ,1
SOLVE
FINI
!得到自振频率1
*GET,FREQ1,MODE,1,FREQ
/ESHAPE,1.0
/SOLU
ANTYPE,SPECTR !谱分析
SPOPT,SPRS
MDAMP,1,DAMPRATIO, , , , , ,
SED,1
SVTYPE,2,1
FREQ,0.167,0.25,0.333,0.44444,0.5,0.667,1,1.25,1.667
SV,,0.154350625,0.191590625,0.210210625,0.224175625,0.250716714,0.329514922,0.484352764,0.598723486,0.786897371
FREQ,2.222,10,100000
SV,,1.034212766,1.034212766,0.3528
!按7度多遇地震,地震影响系数0.08 第一组III场地TG=0.45
SRSS,0.01,DISP
SOLVE
FINISH
/POST1
/INP,,MCOM
NSORT,U,SUM
*GET,DMAX_SPE,SORT, ,MAX !反应谱最大变形

!开始地震计算
FINISH
/CONFIG,NRES,20000
/SOLU
ANTYPE,TRANS
TRNOPT,FULL
ALPHAD,2*DAMPRATIO*FREQ1*2*3.1415926
BETAD,2*DAMPRATIO/(FREQ1*2*3.1415926)

*DO,I,1,1001
ACEL,AC(I),0,0
TIME,I*0.02
OUTRES,ALL,ALL
SOLVE
*ENDDO
FINISH

/POST26
FILE
NSOL,2,20,U,X,
PLVAR,2, , , , , , , , , ,
STORE,MERGE
XVAR,1
PLVAR,2,
*GET,DMAX_TRANS,VARI,2,EXTREM,VMAX, , ! 时程分析最大位移

数据文件

record.txt

-0.0014
-0.0108
-0.0101
-0.0088
-0.0095
-0.012
-0.0142
-0.0128
-0.011
-0.0085
-0.0085
-0.0131
-0.0176
-0.0194
-0.0162
-0.0144
-0.0108
-0.0082
-0.0042
-0.0066
-0.0131
-0.019
-0.0196
-0.0066
0.003
0.0141
-0.0049
-0.0128
-0.0144
-0.0203
-0.026
-0.0325
-0.0306
-0.0172
-0.0197
-0.0163
-0.0164
-0.0067
0.0025
0.015
0.0236
0.0252
0.0336
0.0463
0.0492
0.0419
0.0359
0.0271
0.0235
0.0339
0.0412
0.053
0.0639
0.0732
0.0652
0.0599
0.04
0.04
0.0063
-0.0515
-0.0787
-0.0603
-0.0484
-0.025
-0.0059
0.0134
0.0308
0.0499
0.071
0.0995
0.1219
0.1529
0.1449
0.1155
0.0935
0.0892
0.0926
0.0839
0.0901
0.0993
0.1209
0.0328
-0.1475
-0.2066
-0.1989
-0.2034
-0.1816
-0.1725
-0.1752
-0.1753
-0.1805
-0.163
-0.1347
-0.1087
-0.0782
-0.0429
-0.0017
0.036
0.0785
0.1164
0.1598
0.196
0.2412
0.2729
0.3036
0.32
0.3417
0.2821
0.2324
-0.1198
-0.2373
-0.164
-0.1865
-0.1095
-0.0753
-0.0173
0.0113
0.0533
0.0895
0.1186
0.1757
0.0576
-0.2631
-0.1547
-0.1729
-0.1012
-0.0579
0.0237
-0.067
-0.198
-0.1641
-0.1685
-0.1481
-0.1231
-0.1001
-0.0751
-0.0523
-0.0271
-0.0044
0.0188
-0.0095
-0.0433
-0.0838
-0.0951
-0.0716
-0.0599
-0.0334
-0.0108
0.0185
0.042
0.0673
-0.0097
-0.0372
-0.004
0.0011
0.0344
0.0565
0.0883
0.113
0.1363
0.0219
0.0241
0.0683
0.0689
0.1318
0.1353
0.204
-0.0931
-0.1308
-0.0692
-0.0546
0.0072
0.0675
-0.1067
-0.1488
-0.1071
-0.1162
-0.0762
-0.0559
-0.0215
-0.0126
-0.0674
-0.0324
-0.0337
-0.0109
0.0017
0.0299
0.0488
0.0608
0.0222
-0.0032
-0.0245
0.0077
0.0211
0.0568
0.0826
0.1206
0.1478
0.1737
0.0421
0.0029
0.0259
0.0293
-0.0055
-0.0147
0.0143
0.0206
0.0499
0.0645
0.0957
0.1128
0.1447
0.1629
0.1945
0.1856
0.1984
0.1769
0.125
-0.1207
-0.0542
-0.0384
-0.0311
-0.1118
-0.1661
-0.2464
-0.2025
-0.1835
-0.1317
-0.096
-0.0325
0.0154
0.0816
0.1319
0.1818
-0.0058
-0.0169
0.0285
0.0447
0.0983
0.1424
0.1853
0.2456
0.1685
-0.138
-0.0999
-0.1089
-0.0907
-0.0469
-0.125
-0.2111
-0.1617
-0.1692
-0.1306
-0.1111
-0.0773
-0.051
-0.0544
-0.12
-0.1209
-0.1158
-0.1145
-0.0717
-0.0546
0.0064
-0.0804
-0.1634
-0.0859
-0.0961
-0.0396
-0.0147
0.0319
0.0648
0.0876
0.0472
0.0198
-0.0027
0.0292
0.0445
0.0785
0.1033
0.1352
0.1606
0.1861
0.1281
0.064
0.0204
0.0314
0.0373
0.0496
0.0235
-0.0084
-0.0168
-0.0113
-0.0229
-0.0248
-0.0157
-0.0069
0.0147
0.0379
0.0579
0.0255
-0.0041
-0.0428
-0.0133
0.0095
0.023
-0.0129
-0.005
0.008
0.021
0.038
0.051
0.0157
-0.0032
-0.0111
0.0005
0.0076
0.0035
-0.0095
-0.0036
-0.0016
0.0038
0.0085
-0.0056
-0.0304
-0.0421
-0.0244
-0.0236
-0.0177
-0.0129
-0.0018
0.0203
-0.0108
-0.0091
-0.0034
-0.0106
-0.0111
-0.0099
-0.0002
0.0073
0.0235
0.0355
0.0705
0.0779
0.0184
-0.0263
-0.0124
-0.0042
0.0159
0.0048
-0.0219
-0.0467
-0.0428
-0.0216
-0.0043
0.0159
0.032
0.0419
0.0123
-0.016
-0.0204
-0.0082
-0.0206
-0.0137
-0.0055
0.0053
0.0134
0.0266
0.0232
0.0079
-0.0008
0.02
0.0435
0.0492
0.0191
0.0092
-0.0022
-0.0021
0.0052
0.0093
0.0255
0.0368
0.0525
0.0541
0.0425
0.0398
0.0559
0.0756
0.0365
0.0411
0.0098
-0.0204
-0.0249
-0.0405
-0.0413
-0.0471
-0.0433
-0.0458
-0.0057
0.0178
-0.0208
-0.0492
-0.053
-0.0362
-0.0405
-0.0308
-0.0316
-0.0265
-0.0265
-0.0269
-0.0345
-0.0309
-0.0217
-0.0078
0.0087
0.0281
0.031
0.0358
0.0341
0.0358
0.0287
0.0305
0.0112
0.0214
0.0136
0.0384
-0.0861
-0.1349
-0.1342
-0.1354
-0.1193
-0.1042
-0.0829
-0.0651
-0.0444
-0.0258
-0.006
-0.0091
-0.0182
-0.0147
0.0085
0.0163
0.005
0.0264
0.0582
0.0867
0.12
0.1695
0.1111
-0.11
-0.0366
-0.0445
-0.0236
-0.096
-0.0656
-0.0597
-0.067
-0.0552
-0.0027
0.0378
0.1072
0.1669
0.0947
0.0408
0.0667
0.0132
-0.0095
-0.052
-0.0827
-0.1152
-0.115
-0.0803
-0.0369
0.0029
0.0545
0.1178
0.161
-0.027
0.0034
-0.0056
0.002
0.0146
0.0537
0.0798
-0.0205
-0.059
-0.0169
-0.0175
-0.0028
0.0074
0.0382
0.0567
0.0753
0.0801
0.0592
0.0304
0.0023
0.0064
-0.0406
-0.0451
-0.0079
0.0168
0.0567
0.0093
-0.0055
0.0044
-0.0123
-0.0282
-0.0437
-0.0352
-0.0255
-0.0111
0.0205
0.0519
0.0854
0.1144
0.0733
0.0237
-0.0368
-0.0271
-0.0217
-0.0873
-0.0973
-0.0589
-0.0336
0.0077
0.0259
0.0508
0.0361
0.0081
-0.0056
-0.0209
-0.0317
-0.0238
-0.0376
-0.055
-0.0722
-0.0803
-0.0523
-0.034
-0.0011
0.0065
-0.0037
-0.0005
-0.0168
-0.041
-0.008
0.0079
0.0374
0.0615
0.0665
0.0254
-0.0057
-0.0474
-0.0356
-0.0243
-0.0048
0.0126
0.0379
0.0241
-0.0227
-0.0428
-0.0679
-0.0661
-0.059
-0.0513
-0.0408
-0.0309
-0.0266
-0.0541
-0.0628
-0.0908
-0.1107
-0.0881
-0.077
-0.0582
-0.0473
-0.0333
-0.0199
0.002
0.0211
0.0432
0.0613
0.0767
0.0933
0.1066
0.113
0.1187
0.1247
0.1334
0.1594
0.1797
0.2037
0.1236
0.0442
-0.014
-0.0666
-0.0555
-0.0693
-0.0984
-0.1246
-0.1179
-0.105
-0.092
-0.0743
-0.0809
-0.085
-0.086
-0.0863
-0.0873
-0.0868
-0.0885
-0.0537
0.0052
0.0215
0.0245
0.058
0.0314
0.0236
0.0485
0.0589
0.0525
0.0355
0.0197
0.0199
0.0492
0.0343
0.0288
0.0432
0.0239
0.0088
0.0077
-0.0148
-0.0077
-0.0019
0.0075
0.0044
-0.0145
-0.0316
-0.0241
-0.0028
0.0182
0.0426
0.0439
0.0512
0.0466
0.0479
0.0193
0.0222
0.0274
0.0393
0.0504
0.0577
0.0588
0.0822
0.0797
0.0949
0.0345
0.0045
-0.0123
-0.0347
-0.0426
-0.0416
-0.0275
-0.027
0.0074
0.0428
-0.0231
-0.0387
-0.0083
0.0139
0.0445
0.0027
-0.0697
-0.0796
-0.0251
-0.0135
0.0079
-0.0115
-0.0251
-0.0333
-0.0269
-0.0301
-0.02
-0.0067
-0.0038
0.0105
0.0296
0.0344
0.0957
0.0898
0.0179
-0.0362
-0.0994
-0.0807
-0.0744
-0.0539
-0.033
-0.0128
0.0031
0.0148
0.0508
-0.0022
-0.0489
-0.0358
-0.0691
-0.0516
-0.0371
0.0088
0.0632
0.0841
0.1276
0.1388
0.1193
0.0751
0.0225
-0.0088
-0.0227
0.0074
0.0181
0.0544
0.0399
0.0045
-0.0082
-0.0185
-0.002
0.0006
-0.0117
-0.021
-0.0303
-0.0512
-0.0727
-0.0579
-0.0266
-0.0178
0.004
0.0098
0.0137
0.0221
0.0437
0.0091
-0.0548
-0.0555
-0.0243
-0.0081
0.025
0.041
0.0182
-0.0027
-0.0243
-0.0015
0.0247
0.0482
0.0783
0.0622
0.0331
-0.0014
-0.0195
-0.0247
-0.0212
-0.011
0.005
0.0241
-0.0034
-0.0216
-0.0471
-0.0363
-0.0195
-0.0018
0.017
-0.008
0.0005
0.023
0.0374
0.0601
0.0516
0.0432
0.0344
0.0505
0.0653
0.0683
0.0172
-0.017
-0.0527
-0.0664
-0.0387
-0.0222
-0.0033
0.0119
-0.0128
-0.0351
-0.0514
-0.0335
-0.0218
-0.0012
0.0142
0.007
-0.0063
-0.012
-0.0322
-0.0346
-0.0091
0.0073
0.0309
0.0472
0.0603
0.0576
0.033
-0.0073
-0.0777
-0.0608
-0.0438
-0.0209
0.0031
0.035
0.0293
0.0121
0.0338
0.0317
0.0254
0.0206
0.0198
0.0174
0.0021
-0.0144
-0.0343
-0.0339
-0.0145
-0.0028
0.017
-0.0096
-0.0255
-0.0279
-0.0388
-0.0242
-0.0215
-0.0182
-0.0174
-0.0038
-0.0027
-0.0185
-0.0123
0.0087
0.0343
0.0695
0.091
0.0853
0.076
0.0513
0.0186
0.0015
-0.019
-0.0151
-0.0073
0.0021
0.0129
0.0215
0.0024
-0.0124
-0.0329
-0.0519
-0.0708
-0.0579
-0.0462
-0.0307
-0.0145
-0.0009
-0.018
-0.0318
-0.0465
-0.0391
-0.0345
-0.0316
-0.0435
-0.0491
-0.0475
-0.042
-0.0361
-0.0277
-0.0258
-0.0139
-0.0068
0.0507
0.0722
0.0878
0.0782
0.0765
0.0439
0.008
0.0013
-0.0126
-0.0015
0.003
0.0104
0.0104
0.0193
0.0205
0.0074
-0.0056
-0.0072
0.007
0.0106
0.0147
-0.0009
-0.0159
-0.0187
-0.0007
0.0155
0.0105
-0.0115
-0.0302
-0.0309
-0.0095
-0.0058
0.0004
0.002
0.005
0.0057
0.0097
0.0134
0.0177
0.0218
0.0261
0.0302
0.0346
0.0386
0.0474
0.0393
0.0238
0.0115
-0.0079
-0.0124
0.0054
0.0027
-0.025
-0.0566
-0.063
-0.0591
-0.0413
-0.0068
0.0272
0.0277
-0.0021
-0.006
-0.011
-0.0221
-0.0416
-0.0519
-0.0222
0.003
0.0079
0.0139
0.0171
0.0253
0.0323
0.0391
0.0164
-0.0136
-0.0323
-0.0291
-0.0287
-0.0304
-0.0339
-0.0245
-0.0076
0.0125
0.0376
0.0402
0.0245
0.0156
-0.004
-0.0153
-0.0289
-0.0316
-0.0111
0.0094
0.0335
0.0576
0.0424
0.0143
-0.0007
-0.0135
-0.027
-0.0341
-0.0357
-0.0396
-0.0402
-0.0488
-0.048
-0.0406
-0.0407
-0.0351
-0.0187
-0.0057
0.0044
-0.0019
-0.0072
-0.0169
-0.0115
0.0126

 

个人信息
研究工作
实际工程
论文工作
教学工作
资料下载
专题
其他

我们的实验室