nastran中输出总体刚度阵和质量阵的方法详细教程
1.将总体刚度阵和总体质量阵输出到.f06 文件中
2.将刚度、质量阵输出到外部文件中
3.用 NASTRAN 自带语句直接得到*.pch 文件
教程里说得很详细,图文并茂。有需要的赶紧~
学习了,谢谢。 感谢楼主! 谢谢楼主,希望有所帮助{:{03}:} 谢谢楼主,希望有所帮助 谢谢楼主,希望有所帮助{:{44}:} 学习了,谢谢啊 谢谢,虽然以前似乎看到过 回复 1 # 唯有时光 的帖子
好东西,学习了! 个人用dmap写了个小程序生成给定几何模型的单元刚度矩阵和整体刚度矩阵
程序虽小,但是dmap编程从这可以进入较有用处
SOL getmat
$
COMPILE getmat, LIST
$
SUBDMAP getmat
$ DECLARE PARAMETERS
TYPE PARM,,I,Y,GENSHU,GENSHUM,JDS,JDS1$
$
IFP1 /CASECC,PCDB,XYCDB,POSTCDB,FORCE/S,N,NOGOIFP1 $
XSORT FORCE,/BULK/S,N,NOGOXSRT $
IFP BULK/
GEOM1,EPT,MPT,EDT,DIT,DYNAMIC,
GEOM2,GEOM3,GEOM4,UNUSED1,UNUSED2,
MATPPOL,AXIC,PVT,DMI,DMINDX,DTI,DTINDX,
DEFUSET,EDOM,DEQATN,DEQIND,CONTACT,OINT,
UNUSED3/
S,N,NOGOIFP/S,N,RUNIFP3/S,N,RUNIFP4/
S,N,RUNIFP5/S,N,RUNIFP6/
S,N,RUNIFP7/S,N,RUNIFP8/S,N,RUNIFP9//
S,N,RUNMEPT $
PVT PVT,CASECC/ $ $$加入后可识别用户自定义参数param,此外需要type中设置y
GP1 GEOM1,GEOM2,,,,,,,/
GPL,EQEXIN,GPDT,CSTM,BGPDT,SIL,,,,/
S,N,LUSET/0/S,N,NOGPDT $
GP2 GEOM2,EQEXIN,EPT,,,BGPDT,CSTM,/ECT,/S,N,ACOUSTIC $
GP4 CASECC,GEOM4,EQEXIN,SIL,GPDT,BGPDT,CSTM,
,,,GEOM2,,ECT,,GEOM1/
RMG,YG1,USET0,GPSNTN/
LUSET/S,N,NOMSET/0/S,N,NOSSET/S,N,NOOSET/
S,N,NORSET/0/0/0/0/0////
//S,N,NEWGPSN// $
TA1 MPT,ECT,EPT,BGPDT,SIL,,CSTM,DIT,,,,/
EST,,GEI,GPECT,,VGFD,DITID,,NSMEST/
LUSET/-1/0/1/0/0 $
EMG EST,CSTM,MPT,DIT,,,,,DEQATN,DEQIND,BGPDT,,
ECT,EPT,,,,,,,,,,,,,,,,,,/
KELM,KDICT,MELM,MDICT,BELM,BDICT,,,,,/
S,N,NOKGG/S,N,NOMGG/S,N,NOBGG/S,N,NOK4GG//
//////////////////////S,N,MGE $
EMA GPECT,KDICT,KELM,BGPDT,SIL,CSTM,,/KJJLF,$
EMA GPECT,MDICT,MELM,BGPDT,SIL,CSTM,,/MJJLF,$
matprnKJJLF//
matprnKELM//
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$输出单元刚度矩阵和整体刚度矩阵
end
COMPILE SUBDMAP= PRTNSR, LIST, NOREF $
SUBDMAP PRTNSRANYJJ,PARTU1,PARTU2/ANYJJ00,ANYJJ01,ANYJJ10,ANYJJ11/ $
$
PARTN ANYJJ,PARTU1,PARTU2/ANY00,ANY10,ANY01,ANY11/-1/ $
MERGE ,ANY00,,,,PARTU1,/ANYJJ00/-1/ $
MERGE ,,,,ANY11,PARTU1,/ANYJJ11/-1/ $
MERGE ,,ANY10,,,PARTU1,/ANYJJ10/-1/ $
MERGE ,,,ANY01,,PARTU1,/ANYJJ01/-1/ $
$
RETURN $
END $
cend
SUBTITLE = sample use
BEGIN BULK
PARAM AUTOSPC YES
PARAM PRTMAXIM YES
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
PARAM,GENSHU,4$
PARAM,JDS,134$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$
include'5.bdf'我自己的模型
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
ENDDATA 5.bdf如下
PSOLID 1 1 0
$ Pset: "p" will be imported as: "psolid.1"
CTETRA 1 1 51 1 43 44 3 94
27 26 88 36
CTETRA 2 1 117 119 1 110 115 134
4 116 118 129
CTETRA 3 1 74 117 51 2 8 9
62 5 6 7
CTETRA 4 1 117 1 44 109 4 88
10 111 96 87
CTETRA 5 1 74 123 122 120 11 126
63 65 125 128
CTETRA 6 1 117 56 133 51 12 75
112 9 67 66
CTETRA 7 1 54 35 41 59 34 40
33 13 60 91
CTETRA 8 1 41 42 80 99 38 14
15 93 89 102
CTETRA 9 1 56 52 43 42 73 30
17 16 29 39
CTETRA 10 1 43 56 1 51 17 61
94 27 67 3
CTETRA 11 1 117 1 119 56 4 134
115 12 61 130
CTETRA 12 1 42 80 99 56 14 102
89 16 77 104
CTETRA 13 1 117 56 51 1 12 67
9 4 61 3
CTETRA 14 1 51 74 2 122 62 5
7 47 63 18
CTETRA 15 1 74 123 121 95 11 124
20 19 84 83
CTETRA 16 1 117 121 109 95 114 107
111 21 83 85
CTETRA 17 1 117 120 121 74 113 127
114 8 65 20
CTETRA 18 1 54 57 45 35 70 58
55 34 81 46
CTETRA 19 1 41 80 79 100 15 76
22 92 103 105
CTETRA 20 1 53 42 80 41 28 14
68 32 38 15
CTETRA 21 1 41 79 59 100 22 106
91 92 105 101
CTETRA 22 1 53 80 79 41 68 76
69 32 15 22
CTETRA 23 1 42 99 1 56 89 97
90 16 104 61
CTETRA 24 1 117 95 2 74 21 23
6 8 19 5
CTETRA 25 1 42 56 1 43 16 61
90 39 17 94
CTETRA 26 1 117 56 119 133 12 130
115 112 75 131
CTETRA 27 1 117 109 44 95 111 87
10 21 85 86
CTETRA 28 1 52 42 56 80 29 16
73 72 14 77
CTETRA 29 1 53 52 80 42 49 72
68 28 29 14
CTETRA 30 1 123 74 2 95 11 5
24 84 19 23
CTETRA 31 1 122 74 2 123 63 5
18 126 11 24
CTETRA 32 1 123 2 44 95 24 25
37 84 23 86
CTETRA 33 1 54 79 41 53 71 22
33 50 69 32
CTETRA 34 1 41 100 99 80 92 98
93 15 103 102
CTETRA 35 1 123 121 120 74 124 127
125 11 20 65
CTETRA 36 1 117 95 74 121 21 19
8 114 83 20
CTETRA 37 1 117 51 44 1 9 26
10 4 3 88
CTETRA 38 1 54 79 59 41 71 106
13 33 22 91
CTETRA 39 1 117 110 1 109 116 129
4 111 108 96
CTETRA 40 1 54 59 57 35 13 82
70 34 60 81
CTETRA 41 1 54 57 59 79 70 82
13 71 78 106
CTETRA 42 1 117 74 133 120 8 64
112 113 65 132
CTETRA 43 1 44 95 2 117 86 23
25 10 21 6
CTETRA 44 1 117 133 74 51 112 64
8 9 66 62
CTETRA 45 1 51 52 43 56 48 30
27 67 73 17
CTETRA 46 1 2 117 51 44 6 9
7 25 10 26
CTETRA 47 1 51 2 44 122 7 25
26 47 18 31
CTETRA 48 1 122 2 44 123 18 25
31 126 24 37
MAT1 1 210000. .3 7.8-9
GRID 1 100. 0. 10.
GRID 2 133.858 9.41405 7.86187
GRID 3 111.832 10. 5.
GRID 4 112.355. 20.
GRID 5 135.428 14.70711.4309
GRID 6 129.279 9.70703 18.9309
GRID 7 128.761 14.7073.93093
GRID 8 130.849 15. 22.5
GRID 9 124.182 15. 15.
GRID 10 124.186 5. 15.
GRID 11 143.5 10. 7.5
GRID 12 112.3515. 20.
GRID 13 24.99510. 5.
GRID 14 75.0012 10. 5.
GRID 15 62.4984 10. 5.
GRID 16 87.5028 10. 5.
GRID 17 100.005 10. 5.
GRID 18 141.929 14.7073.93093
GRID 19 136.942 10. 15.
GRID 20 143.5 10. 22.5
GRID 21 130.792 5. 22.5
GRID 22 50. 10. 5.
GRID 23 135.371 4.70703 11.4309
GRID 24 141.929 4.70703 3.93093
GRID 25 128.765 4.70703 3.93093
GRID 26 123.669 10. 0.
GRID 27 111.837 10. 0.
GRID 28 75. 10. 0.
GRID 29 87.5028 10. 0.
GRID 30 100.005 10. 0.
GRID 31 136.836 10. 0.
GRID 32 62.4972 10. 0.
GRID 33 49.99510. 0.
GRID 34 24.99510. 0.
GRID 35 0. 0. 0.
GRID 36 111.8410. 0.
GRID 37 136.8360. 0.
GRID 38 62.50280. 0.
GRID 39 87.50780. 0.
GRID 40 25. 0. 0.
GRID 41 50. 0. 0.
GRID 42 75.00550. 0.
GRID 43 100.01 0. 0.
GRID 44 123.6720. 0.
GRID 45 0. 20. 0.
GRID 46 0. 10. 0.
GRID 47 136.832 20. 0.
GRID 48 111.832 20. 0.
GRID 49 87.4972 20. 0.
GRID 50 62.4922 20. 0.
GRID 51 123.665 20. 0.
GRID 52 100. 20. 0.
GRID 53 74.9945 20. 0.
GRID 54 49.99 20. 0.
GRID 55 24.99520. 0.
GRID 56 100. 20. 10.
GRID 57 0. 20. 10.
GRID 58 0. 20. 5.
GRID 59 0. 0. 10.
GRID 60 0. 0. 5.
GRID 61 100. 10. 10.
GRID 62 130.332 20. 7.5
GRID 63 143.5 20. 7.5
GRID 64 130.666 20. 22.5
GRID 65 143.5 20. 22.5
GRID 66 123.998 20. 15.
GRID 67 111.832 20. 5.
GRID 68 74.9956 20. 5.
GRID 69 62.4972 20. 5.
GRID 70 24.99520. 5.
GRID 71 49.99520. 5.
GRID 72 87.4984 20. 5.
GRID 73 100. 20. 5.
GRID 74 136.999 20. 15.
GRID 75 112.166 20. 20.
GRID 76 62.4984 20. 10.
GRID 77 87.4984 20. 10.
GRID 78 25. 20. 10.
GRID 79 50. 20. 10.
GRID 80 74.9968 20. 10.
GRID 81 0. 10. 5.
GRID 82 0. 10. 10.
GRID 83 143.4420. 22.5
GRID 84 143.4420. 7.5
GRID 85 130.3750. 22.5
GRID 86 130.2780. 7.5
GRID 87 123.7690. 15.
GRID 88 111.8360. 5.
GRID 89 75.00120. 5.
GRID 90 87.50280. 5.
GRID 91 25. 0. 5.
GRID 92 50. 0. 5.
GRID 93 62.49840. 5.
GRID 94 100.0050. 5.
GRID 95 136.8840. 15.
GRID 96 111.9320. 20.
GRID 97 87.49840. 10.
GRID 98 62.49840. 10.
GRID 99 74.99680. 10.
GRID 100 50. 0. 10.
GRID 101 25. 0. 10.
GRID 102 74.9968 10. 10.
GRID 103 62.4984 10. 10.
GRID 104 87.4984 10. 10.
GRID 105 50. 10. 10.
GRID 106 25. 10. 10.
GRID 107 136.9320. 30.
GRID 108 111.9320. 30.
GRID 109 123.8650. 30.
GRID 110 100. 0. 30.
GRID 111 124.282 5. 30.
GRID 112 124.516 15. 30.
GRID 113 137.3515. 30.
GRID 114 137.355. 30.
GRID 115 112.3515. 30.
GRID 116 112.355. 30.
GRID 117 124.7 10. 30.
GRID 118 100. 10. 30.
GRID 119 100. 20. 30.
GRID 120 150. 20. 30.
GRID 121 150. 0. 30.
GRID 122 150. 20. 0.
GRID 123 150. 0. 0.
GRID 124 150. 0. 15.
GRID 125 150. 10. 15.
GRID 126 150. 10. 0.
GRID 127 150. 10. 30.
GRID 128 150. 20. 15.
GRID 129 100. 0. 20.
GRID 130 100. 20. 20.
GRID 131 112.166 20. 30.
GRID 132 137.166 20. 30.
GRID 133 124.332 20. 30.
GRID 134 100. 10. 20. 下来学习,感谢分享 下来学习,感谢分享
楼主威武呀! 不错!感谢楼主分享!