geom2
Module
digraph inheritanceab65cd0648 {
bgcolor=transparent;
rankdir=LR;
size="";
"pyNastran.op2.tables.geom.geom2.GEOM2" [URL="#pyNastran.op2.tables.geom.geom2.GEOM2",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="defines methods for reading op2 elements"];
}
defines readers for BDF objects in the OP2 GEOM2/GEOM2S table
- class pyNastran.op2.tables.geom.geom2.GEOM2(op2: OP2Geom)[source]
Bases:
object
defines methods for reading op2 elements
- property factor: int
- read_caabsf(data: bytes, n: int) int [source]
2-CAABSF (2708,27,59)
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G1 I Grid point 1 identification number 4 G2 I Grid point 2 identification number 5 G3 I Grid point 3 identification number 6 G4 I Grid point 4 identification number
- read_cbar(data: bytes, n: int) int [source]
CBAR(2408,24,180) - the marker for Record 8
MSC/NX Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 GA I Grid point identification number at end A 4 GB I Grid point identification number at end B
- F=0* XYZ option – basic coordinate system
5 X1 RS T1 component of orientation vector from GA 6 X2 RS T2 component of orientation vector from GA 7 X3 RS T3 component of orientation vector from GA 8 FE I Orientation vector flag (encoded)
- F=1* XYZ option – global coordinate system
5 X1 RS T1 component of orientation vector from GA 6 X2 RS T2 component of orientation vector from GA 7 X3 RS T3 component of orientation vector from GA 8 FE I Orientation vector flag (encoded)
- F=2* Grid option
5 GO I Grid point identification number at end of orientation vector 6 UNDEF(2) none Not used 8 FE I Orientation vector flag (encoded)
*F = FE bit-wise AND with 3 End F
9 PA I Pin flags for end A 10 PB I Pin flags for end B 11 W1A RS T1 component of offset vector from GA 12 W2A RS T2 component of offset vector from GA 13 W3A RS T3 component of offset vector from GA 14 W1B RS T1 component of offset vector from GB 15 W2B RS T2 component of offset vector from GB 16 W3B RS T3 component of offset vector from GB F:workpyNastranpyNastranmaster2pyNastranbdftestnx_spikeout_sebload1.op2
- read_cbarao(data: bytes, n: int) int [source]
CBARAO(4001,40,275) - the marker for Record 9
1 EID I Element identification number 2 SCALE I Scale of Xi values 3 X1 RS 1st intermediate station for data recovery 4 X2 RS 2nd intermediate station for data recovery 5 X3 RS 3rd intermediate station for data recovery 6 X4 RS 4th intermediate station for data recovery 7 X5 RS 5th intermediate station for data recovery 8 X6 RS 6th intermediate station for data recovery 9 UNDEF none Not used
- read_cbend(data: bytes, n: int) int [source]
CBEND(4601,46,298) - the marker for Record 12
1 EID I Element identification number 2 PID I Property identification number 3 GA I Grid point End A identification number 4 GB I Grid point End B identification number
- F = 0 Z
5 X1 RS T1 component of orientation vector from GA 6 X2 RS T2 component of orientation vector from GA 7 X3 RS T3 component of orientation vector from GA
8 F I Orientation vector flag = 0 F = 1 XYZ option - global coordinate system
5 X1 RS T1 component of orientation vector from GA 6 X2 RS T2 component of orientation vector from GA 7 X3 RS T3 component of orientation vector from GA 8 F I Orientation vector flag = 1
- F = 2 Grid option
5 GO I Grid point ID at end of orientation vector 6 UNDEF(2) None 8 F I Orientation vector flag = 2
End F 9 UNDEF(4) None 13 GEOM I Element geometry option
- read_cbush1d(data: bytes, n: int) int [source]
CBUSH1D(5608,56,218) - the marker for Record 14
1 EID I Element identification number 2 PID I Property identification number 3 G(2) I Grid point identification numbers 5 CID I Coordinate system identification number 6 UNDEF(3) none
- read_cbush2d(data: bytes, n: int) int [source]
CBUSH2D
1 EID I Element identification number 2 PID I Property identification number 3 G(2) I Grid point identification numbers 5 CID I Coordinate system identification number 6 UNDEF(3) none
CBUSH2D EID PID GA GB CID PLANE CBUSH2D 201 202 101 100 0 XY (201, 202, 101, 100, 0, 1, 0, 0)
- read_cfast(data: bytes, n: int) int [source]
RECORD – CFAST(13801,138,566) - NX
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 GS I Spot weld master node identification number GS 4 FORMAT(C) I Connection format (9=elpat, 10=partpat) 5 GA I Identification number of GA 6 GB I Identification number of GB 7–8 UNDEF(2) 9 GUPPER(8) I Grid identification numbers of the upper shell 17 GLOWER(8) I Grid identification numbers of the lower shell 25 GUACT(32) I Unique set of grid IDs of the active shells in upper patch 57 GLACT(32) I Unique set of grid IDs of the active shells in lower patch 89 NUG I Number of active grids in upper patch 90 NLG I Number of active grids in lower patch 91 GUELE(32) I Grid IDs of the active shells in upper patch 123 GLELE(32) I Grid IDs of the active shells in lower patch 155 GHA(12) RS Coordinates of 4 GHA points 167 GHB(12) RS Coordinates of 4 GHB points 179 TAVG RS Average shell thickness FORMAT=9 ELPAT 180 EIDUP I Element ID of upper shell 181 EIDLOW I Element ID of lower shell FORMAT=PARTPAT PARTPAT 180 PIDUP I Property ID of upper shell 181 PIDLOW I Property ID of lower shell END FORMAT 182 TMIN RS Minimum shell thickness 183 XS RS X coordinate of spot weld location 184 YS RS Y coordinate of spot weld location 185 ZS RS Z coordinate of spot weld location 186 XGA RS X coordinate of point ga 187 YGA RS Y coordinate of point ga 188 ZGA RS Z coordinate of point ga 189 XGB RS X coordinate of point gb 190 YGB RS Y coordinate of point gb 191 ZGB RS Z coordinate of point gb ints = (
101, 3, 100, 9, 0, 0, 44, 0, 9, 14, 13, 8, 0, 0, 0, 0, 29, 34, 33, 28, 0, 0, 0, 0, 9, 14, 13, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 34, 33, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 9, 14, 13, 8, 0, 0, 0, 0, 9, 14, 13, 8, 0, 0, 0, 0, 9, 14, 13, 8, 0, 0, 0, 0, 9, 14, 13, 8, 0, 0, 0, 0, 29, 34, 33, 28, 0, 0, 0, 0, 29, 34, 33, 28, 0, 0, 0, 0, 29, 34, 33, 28, 0, 0, 0, 0, 29, 34, 33, 28, 0, 0, 0, 0, 1077697529, 1065830415, 0, 1077697529, 1073264625, 0, 1073980423, 1073264625, 0, 1073980423, 1065830415, 0, 1077697529, 1065830415, 1036831949, 1077697529, 1073264625, 1036831949, 1073980423, 1073264625, 1036831949, 1073980423, 1065830415, 1036831949, -1.0, 7, 19, 0.001, 2.5, 1.5, 0.1, 2.5, 1.5, 0.0, 2.5, 1.5, 0.1)
- CFAST EID PID TYPE IDA IDB GS GA GB
- XS YS ZS
eid pid type ida idb gs ga gb
CFAST 101 3 ELEM 7 19 100 floats = (
101, 3, 100, 9, 0.0, 0.0, 44, 0.0, 9, 14, 13, 8, 0.0, 0.0, 0.0, 0.0, 29, 34, 33, 28, 0.0, 0.0, 0.0, 0.0, 9, 14, 13, 8, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 29, 34, 33, 28, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 5.605193857299268e-45, 5.605193857299268e-45, 1.2611686178923354e-44, 1.961817850054744e-44, 1.8216880036222622e-44, 1.1210387714598537e-44, 0.0, 0.0, 0.0, 0.0, 1.2611686178923354e-44, 1.961817850054744e-44, 1.8216880036222622e-44, 1.1210387714598537e-44, 0.0, 0.0, 0.0, 0.0, 1.2611686178923354e-44, 1.961817850054744e-44, 1.8216880036222622e-44, 1.1210387714598537e-44, 0.0, 0.0, 0.0, 0.0, 1.2611686178923354e-44, 1.961817850054744e-44, 1.8216880036222622e-44, 1.1210387714598537e-44, 0.0, 0.0, 0.0, 0.0, 4.0637655465419695e-44, 4.764414778704378e-44, 4.624284932271896e-44, 3.923635700109488e-44, 0.0, 0.0, 0.0, 0.0, 4.0637655465419695e-44, 4.764414778704378e-44, 4.624284932271896e-44, 3.923635700109488e-44, 0.0, 0.0, 0.0, 0.0, 4.0637655465419695e-44, 4.764414778704378e-44, 4.624284932271896e-44, 3.923635700109488e-44, 0.0, 0.0, 0.0, 0.0, 4.0637655465419695e-44, 4.764414778704378e-44, 4.624284932271896e-44, 3.923635700109488e-44, 0.0, 0.0, 0.0, 0.0, 2.9431135654449463, 1.056, 0.0, 2.9431135654449463, 1.943, 0.0, 2.056, 1.943, 0.0, 2.056, 1.056, 0.0, 2.9431135654449463, 1.056, 0.1, 2.9431135654449463, 1.943, 0.1, 2.056, 1.943, 0.1, 2.056, 1.056, 0.1, -1.0, 7, 19, 0.001, 2.5, 1.5, 0.1, 2.5, 1.5, 0.0, 2.5, 1.5, 0.1)
C:MSC.Softwaresimcenter_nastran_2019.2tpl_post2cfast04.op2 $ eid pid type ida idb gs ga gb CFAST 101 3 PROP 1 2 100 101 CFAST 102 3 PROP 1 2 200
C:MSC.Softwaresimcenter_nastran_2019.2tpl_post2cfast01.op2 ints = (eid=101, pid3, gs=100, format=9, ga=0, gb=0,
44, 0, gupper=9, 14, 13, 8, 0, 0, 0, 0, glower=29, 34, 33, 28, 0, 0, 0, 0, # guact 5, 10, 9, 4, 15, 20, 19, 14, 18, 17, 12, 13, 8, 7, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, # glact 25, 30, 29, 24, 35, 40, 39, 34, 38, 37, 32, 33, 28, 27, 22, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, # nug, nlg 16, 16, #guele 5, 10, 9, 4, 0, 0, 0, 0, 15, 20, 19, 14, 0, 0, 0, 0, 18, 17, 12, 13, 0, 0, 0, 0, 8, 7, 2, 3, 0, 0, 0, 0, # glele 25, 30, 29, 24, 0, 0, 0, 0, 35, 40, 39, 34, 0, 0, 0, 0, 38, 37, 32, 33, 0, 0, 0, 0, 28, 27, 22, 23, 0, 0, 0, 0, # gba/ghb 3.03178, 0.9682, 0.0, 3.031, 2.031, 0.0, 1.968, 2.031, 0.0, 1.968, 0.968, 0.0, 1078069239, 1064820772, 1036831949, 1078069239, 1073874935, 1036831949, 1073475602, 1073874935, 1036831949, 1073475602, 1064820772, 1036831949, -1082130432, upper=7, lower=19, 981668463, 1075838976, 1069547520, 1036831949, 1075838976, 1069547520, 0, 1075838976, 1069547520, 1036831949)
- floats = (101, 3, 100, 9, 0, 0,
44, 0, 9, 14, 13, 8, 0, 0, 0, 0, 29, 34, 33, 28, 0, 0, 0, 0, 5, 10, 9, 4, 15, 20, 19, 14, 18, 17, 12, 13, 8, 7, 2, 3, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 25, 30, 29, 24, 35, 40, 39, 34, 38, 37, 32, 33, 28, 27, 22, 23, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 16, 16, 5, 10, 9, 4, 0.0, 0.0, 0.0, 0.0, 15, 20, 19, 14, 0.0, 0.0, 0.0, 0.0, 18, 17, 12, 13, 0.0, 0.0, 0.0, 0.0, 8, 7, 2, 3, 0.0, 0.0, 0.0, 0.0, 25, 30, 29, 24, 0.0, 0.0, 0.0, 0.0, 35, 40, 39, 34, 0.0, 0.0, 0.0, 0.0, 38, 37, 32, 33, 0.0, 0.0, 0.0, 0.0, 28, 27, 22, 23, 0.0, 0.0, 0.0, 0.0, 3.03178, 0.9682, 0.0, 3.031, 2.031, 0.0, 1.968, 2.031, 0.0, 1.968, 0.968, 0.0, 3.031, 0.968, 0.10, 3.031, 2.031, 0.10, 1.968263864517212, 2.031736135482788, 0.10, 1.968263864517212, 0.9682638645172119, 0.10, -1.0, upper=7, lower=19, tmin=0.10, xs=2.5, 1.5, 0.10, xga=2.5, 1.5, 0.0, xgb=2.5, 1.5, 0.10)
CFAST 101 3 ELEM 7 19 100
- read_cfluid2(data: bytes, n: int) int [source]
CFLUID2(8515,85,209) - the marker for Record 35
1 EID I Element identification number 2 IDF1 I RINGFL point 1 identification number 3 IDF2 I RINGFL point 2 identification number 4 RHO RS Mass density 5 B RS Bulk modulus 6 HARMINDX I Harmonic index
- read_cfluid3(data: bytes, n: int) int [source]
CFLUID3(8615,86,210) - the marker for Record 36
1 EID I Element identification number 2 IDF1 I RINGFL point 1 identification number 3 IDF2 I RINGFL point 2 identification number 4 IDF3 I RINGFL point 3 identification number 5 RHO RS Mass density 6 B RS Bulk modulus 7 HARMINDX I Harmonic index
- read_cfluid4(data: bytes, n: int) int [source]
CFLUID4(8715,87,211) - the marker for Record 37
1 EID I Element identification number 2 IDF1 I RINGFL point 1 identification number 3 IDF2 I RINGFL point 2 identification number 4 IDF3 I RINGFL point 3 identification number 5 IDF4 I RINGFL point 4 identification number 6 RHO RS Mass density 7 B RS Bulk modulus 8 HARMINDX I Harmonic index
- read_chexa20(data: bytes, n: int) int [source]
- ints = (14100, 141, 9905,
8013, 4, 6035, 6034, 6036, 6037, 6039, 6038, 6040, 6041, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
]
- read_cint(data: bytes, n: int) int [source]
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 PTELC I Pointer to element identification number 4 NSEG I Number of segments 5 PTSGR I Pointer to segment displacements 6 NBOUND I Number of boundaries 7 BID I Boundary identification number 8 NEDGE I Number of edges 9 PTBND I Pointer to boundary identification number 10 PTBGR I Pointer to boundary grid displacements 11 PTBED I Pointer to boundary edge displacements 12 PTBGL I Pointer to boundary grid Lagrange Multipliers 13 PTBEL I Pointer to boundary edge Lagrange Multipliers Words 7 through 13 repeat 6 times 14 UNDEF(2 ) none
- read_cmfree(data: bytes, n: int) int [source]
CMFREE(2508,25,0) - the marker for Record 55
1 EID I Element identification number 2 S I 3 S2 I 4 Y RS 5 N I
- read_conv(data: bytes, n: int) int [source]
The CONV card is different between MSC and NX Nastran. The MSC version is 8 fields longer.
- read_convm(data: bytes, n: int) int [source]
CONVM(8908,89,422) - the marker for Record 60
MSC 1 EID I Element identification number 2 PCONID I Convection property identification number 3 FLMND I Point for film convection fluid property temperature 4 CNTMDOT I Control point used for controlling mass flow. 5 TA I Ambient points used for convection Word 5 repeats 2 times
NX 1 EID I Element identification number 2 PCONID I Convection property identification number 3 FLMND I Point for film convection fluid property temperature 4 CNTMDOT I Control point used for controlling mass flow. 5 TA I Ambient points used for convection Word 5 repeats 2 times
[110, 200, 0, 50000, 99999, 99999, 1.0, 111, 200, 0, 50000, 99999, 99999, 1.0, 112, 200, 0, 50000, 99999, 99999, 1.0, 113, 200, 0, 50000, 99999, 99999, 1.0, 114, 200, 0, 50000, 99999, 99999, 1.0, 115, 200, 0, 50000, 99999, 99999, 1.0, 116, 200, 0, 50000, 99999, 99999, 1.0, 117, 200, 0, 50000, 99999, 99999, 1.0, 118, 200, 0, 50000, 99999, 99999, 1.0, 119, 200, 0, 50000, 99999, 99999, 1.0, 130, 200, 0, 50000, 99999, 99999, 1.0, 131, 200, 0, 50000, 99999, 99999, 1.0, 132, 200, 0, 50000, 99999, 99999, 1.0, 133, 200, 0, 50000, 99999, 99999, 1.0, 134, 200, 0, 50000, 99999, 99999, 1.0, 135, 200, 0, 50000, 99999, 99999, 1.0, 136, 200, 0, 50000, 99999, 99999, 1.0, 137, 200, 0, 50000, 99999, 99999, 1.0, 138, 200, 0, 50000, 99999, 99999, 1.0, 139, 200, 0, 50000, 99999, 99999, 1.0, 150, 200, 0, 50000, 99999, 99999, 1.0, 151, 200, 0, 50000, 99999, 99999, 1.0, 152, 200, 0, 50000, 99999, 99999, 1.0, 153, 200, 0, 50000, 99999, 99999, 1.0, 154, 200, 0, 50000, 99999, 99999, 1.0, 155, 200, 0, 50000, 99999, 99999, 1.0, 156, 200, 0, 50000, 99999, 99999, 1.0, 157, 200, 0, 50000, 99999, 99999, 1.0, 158, 200, 0, 50000, 99999, 99999, 1.0, 159, 200, 0, 50000, 99999, 99999, 1.0, 170, 200, 0, 50000, 99999, 99999, 1.0, 171, 200, 0, 50000, 99999, 99999, 1.0, 172, 200, 0, 50000, 99999, 99999, 1.0, 173, 200, 0, 50000, 99999, 99999, 1.0, 174, 200, 0, 50000, 99999, 99999, 1.0, 175, 200, 0, 50000, 99999, 99999, 1.0, 176, 200, 0, 50000, 99999, 99999, 1.0, 177, 200, 0, 50000, 99999, 99999, 1.0, 178, 200, 0, 50000, 99999, 99999, 1.0, 179, 200, 0, 50000, 99999, 99999, 1.0, 190, 200, 0, 50000, 99999, 99999, 1.0, 191, 200, 0, 50000, 99999, 99999, 1.0, 192, 200, 0, 50000, 99999, 99999, 1.0, 193, 200, 0, 50000, 99999, 99999, 1.0, 194, 200, 0, 50000, 99999, 99999, 1.0, 195, 200, 0, 50000, 99999, 99999, 1.0, 196, 200, 0, 50000, 99999, 99999, 1.0, 197, 200, 0, 50000, 99999, 99999, 1.0, 198, 200, 0, 50000, 99999, 99999, 1.0, 199, 200, 0, 50000, 99999, 99999, 1.0]
[8908, 89, 422, 101, 101, 0, 50000, 99999, 99999, 1.0, 102, 102, 0, 50001, 99999, 99999, 1.0, 103, 102, 0, 50001, 99999, 99999, 1.0, 104, 104, 0, 50002, 99999, 99999, 1.0, 105, 105, 0, 50003, 99999, 99999, 1.0, CONVM EID PCONID FLMND CNTMDOT TA1 TA2 106, 105, 0, 50003, 99999, 99999, 1.0)
- read_cpenta(data: bytes, n: int) int [source]
CPENTA(4108,41,280) - the marker for Record 63 CPENPR(7509,75,9992) - the marker for Record 64 CPENT15F(16500,165,9999) - the marker for Record 65 CPENT6FD(16000,160,9999) - the marker for Record 66
- read_cplstn3(data: bytes, n: int) int [source]
RECORD - CPLSTN3(1701,17,980)
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(3) I Grid point identification numbers of connection points 6 THETA RS Material property orientation angle or coordinate system ID 7 UNDEF(10) None
- read_cplstn4(data: bytes, n: int) int [source]
RECORD - CPLSTN4(5701,57,981) Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(4) I Grid point identification numbers of connection points 7 THETA RS Material property orientation angle or coordinate system ID 8 UNDEF(9) None
- read_cplstn6(data: bytes, n: int) int [source]
RECORD - CPLSTN6(5801,58,982)
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(6) I Grid point identification numbers of connection points 9 THETA RS Material property orientation angle or coordinate system ID 10 UNDEF(7) None
- read_cplstn8(data: bytes, n: int) int [source]
RECORD - CPLSTN8(7201,72,983)
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(8) I Grid point identification numbers of connection points 11 THETA RS Material property orientation angle or coordinate system ID 12 UNDEF(5) None
- read_cplsts3(data: bytes, n: int) int [source]
RECORD - CPLSTS3(8801,88,984) Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(3) I Grid point identification numbers of connection points 6 UNDEF None 7 THETA RS Material property orientation angle or coordinate system ID 8 UNDEF(4) None 12 TFLAG I Flag signifying meaning of T(3) values 13 T(3) RS Membrane thickness of element at grid points 16 UNDEF None
- read_cplsts4(data: bytes, n: int) int [source]
RECORD - CPLSTS4(8401,84,985)
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(4) I Grid point identification numbers of connection points 7 THETA RS Material property orientation angle or coordinate system ID 8 UNDEF(4) None 12 TFLAG I Flag signifying meaning of T(4) values 13 T(4) RS Membrane thickness of element at grid points
- read_cplsts6(data: bytes, n: int) int [source]
RECORD - CPLSTS6(1801,18,986) Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(6) I Grid point identification numbers of connection points 9 UNDEF(2) None 11 THETA RS Material property orientation angle or coordinate system ID 12 TFLAG I Flag signifying meaning of T(3) values 13 TC(3) RS Membrane thickness of element at corner grid points 16 UNDEF(5) None 21 TM(3) RS Membrane thickness of element at mid-side grid points 24 UNDEF None
- read_cplsts8(data: bytes, n: int) int [source]
RECORD - CPLSTS8(3601,36,987)
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(8) I Grid point identification numbers of connection points 11 THETA RS Material property orientation angle or coordinate system ID 12 TFLAG I Flag signifying meaning of T(4) values 13 TC(4) RS Membrane thickness of element at corner grid points 17 UNDEF(4) None 21 TM(4) RS Membrane
- 64:
ints = (39, 4, 43, 41, 114, 115, 54, 55, 116, 56, 0, 0, -1.0, -1.0, -1.0, -1.0) floats = (39, 4, 43, 41, 114, 115, 54, 55, 116, 56, 0.0, 0.0, -1.0, -1.0, -1.0, -1.0)
- read_cpyram(data: bytes, n: int) int [source]
CPYRAM(17200,172,1000) - the marker for Record ???
Specific to NX Nastran
- read_cquad4(data: bytes, n: int) int [source]
CQUAD4(2958,51,177) - the marker for Record 70 CQUAD4(13900,139,9989) - the marker for Record 71
- read_cquadr(data: bytes, n: int) int [source]
CQUADR(8009,80,367) - the marker for Record 75
- ints = (8009, 80, 367,
pshell go from 1-242 nids go from 1-29382 1, 1, 3600, 3310, 3797, 731, 0, 0, 0, 0, -1.0, -1.0, -1.0, -1.0, 1, 2, 1, 731, 3797, 3798, 732, 0, 0, 0, 0, -1.0, -1.0, -1.0, -1.0, 1, 3, 1, 732, 3798, 3799, 733, 0, 0, 0, 0, -1.0, -1.0, -1.0, -1.0, 1, …
)
- read_cquadx8(data: bytes, n: int) int [source]
RECORD - CQUADX8(6114, 61, 999)
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(8) I Grid point identification numbers of connection points 4 THETA RS Material property orientation angle
- read_cquadx_9508(data: bytes, n: int) int [source]
- ints = (1, 1, [1, 2, 8, 7], [0, 0, 0, 0, 0, 0, -1],
2, 1, [2, 3, 9, 8], [0, 0, 0, 0, 0, 0, -1], 3, 1, [3, 4, 10, 9], [0, 0, 0, 0, 0, 0, -1], 4, 1, [4, 5, 11, 10], [0, 0, 0, 0, 0, 0, -1], 5, 1, [5, 6, 12, 11], [0, 0, 0, 0, 0, 0, -1])
C:MSC.Softwaremsc_nastran_runsaxh101a2.op2
- read_crbe1(data: bytes, n: int) int [source]
Word Name Type Description 1 EID I Element identification number 2 NWE I Number of words for the element 3 ELTYPE I Element type: 1-RBE1 2-RBE2 3-RTRPLT 4-RTRPLT1 4 GN I Grid point identification number for independent degrees-of-freedom 5 CN I Component numbers of independent degrees-of-freedom Words 4 through 5 repeat until (-2,-2) occurs 6 GM I Grid point identification number for dependent degrees-of-freedom 7 CM I Component numbers of dependent degrees of-freedom Words 6 through 7 repeat until (-3,-3) occurs 8 ALPHA RS Thermal expansion coefficient 9 UNDEF none Not used Words 8 through 9 repeat until (-4,-4) occurs
- read_crbe3(data: bytes, n: int) int [source]
This card is an internal RBE3 that’s used for Langrage elements. It’s not what the user entered.
Word Name Type Description 1 EID I Element identification number 2 NWE I Number of words for the element 3 REFG I Reference grid point identification number 4 REFC I Component numbers at the reference grid point 5 WT1 RS Weighting factor for components of motion at G 6 C I Component numbers 7 G I Grid point identification number Word 7 repeats until End of Record (-1) Words 5 through 7 repeat until End of Record (-2)
8 GM I Grid point identification number for dependent DOFs 9 CM I Component numbers of dependent DOFs Words 8 through 9 repeat until End of Record (-4?)
10 ALPHA RS Thermal expansion coefficient Word 10 repeats until End of Record (-5?)
11 LMID1 I Lagrange multiplier identification number 12 NDOFS I Number of DOF for Lagrange multiplier Words 11 through 12 repeat until End of Record (-3?)
- data = (3, 14, 41, 123456, 1.0, 123456, 3, -1,
-2, -4, 0.002, -5, 101000041, 6, -3, 4, 14, 4, 123456, 1.0, 123456, 3, -1, -2, -4, 2.0e-6, -5, 101000004, 6, -3)
- read_crjoint(data: bytes, n: int) int [source]
Word Name Type Description 1 EID I Element identification number 2 GA I Grid point A identification number 3 GB I Grid point B identification number 4 LMID1 I Lagrange multiplier identification number 5 NDOFS I Number of DOF for Lagrange multiplier 6 CB I Component numbers of dependent DOFs at end B
- read_crrod(data: bytes, n: int) int [source]
Word Name Type Description 1 EID I Element identification number 2 GA I Grid point A identification number 3 GB I Grid point B identification number 4 LMID1 I Lagrange multiplier identification number 5 CMA I Component numbers of dependent DOFs at end A 6 CMB I Component numbers of dependent DOFs at end B 7 ALPHA RS Thermal expansion cofficient
- read_cseam_maybe(data: bytes, n: int) int [source]
564 / 4 = 141 141 3, 47
ints = ( 77, 2011808, 77, 2007308, 8, 100001002, 4007101, 100001003, 4007101, 100001004, 4007101, 100001005, 4007101, 100001006, 4007101, 100001007, 4007101, 100001008, 4007101, 100001009, 4007101, 78, 2011808, 78, 2007308, 4, 100001010, 4007101, 100001011, 4007101, 100001012, 4007101, 100001013, 4007101, 79, 2011808, 79, 2007308, 4, 100001014, 4007101, 100001015, 4007101, 100001016, 4007101, 100001017, 4007101, 87, 2011808, 87, 2007308, 8, 100001018, 4007101, 100001019, 4007101, 100001020, 4007101, 100001021, 4007101, 100001022, 4007101, 100001023, 4007101, 100001024, 4007101, 100001025, 4007101, 88, 2011808, 88, 2007308, 4, 100001026, 4007101, 100001027, 4007101, 100001028, 4007101, 100001029, 4007101, 89, 2011808, 89, 2007308, 4, 100001030, 4007101, 100001031, 4007101, 100001032, 4007101, 100001033, 4007101, 97, 2011808, 97, 2007308, 8, 100001034, 4007101, 100001035, 4007101, 100001036, 4007101, 100001037, 4007101, 100001038, 4007101, 100001039, 4007101, 100001040, 4007101, 100001041, 4007101, # 2*8 98, 2011808, 98, 2007308, 4, 100001042, 4007101, 100001043, 4007101, 100001044, 4007101, 100001045, 4007101, # 2*4 99, 2011808, 99, 2007308, 4, 100001046, 4007101, 100001047, 4007101, 100001048, 4007101, 100001049, 4007101) # 2*4
- read_ctetra(data: bytes, n: int) int [source]
CTETRA(5508,55,217) - the marker for Record 88 CTETPR(7609,76,9993) - the marker for Record 89 CTETR10F(16600,166,9999) - the marker for Record 90 CTETR4FD(16100,161,9999) - the marker for Record 91
- read_ctetrap(data: bytes, n: int) int [source]
CTETP(12201,122,9013) - the marker for Record 87 .. todo:: needs work
- read_ctrax3(data: bytes, n: int) int [source]
RECORD - CTRAX3(6111,61,996)
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(3) I Grid point identification numbers of connection points 4 THETA RS Material property orientation angle
- read_ctrax6(data: bytes, n: int) int [source]
RECORD - CTRAX6(6113, 61, 998)
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(6) I Grid point identification numbers of connection points 4 THETA RS Material property orientation angle
- read_ctria3fd(data: bytes, n: int) int [source]
- data= (
16200, 16201, 16201, 16202, 16203, 0, 0, 0, 0, -1, 16201, 16201, 16201, 16203, 16204, 0, 0, 0, 0, -1) - 10
- read_ctria6(data: bytes, n: int) int [source]
common method for reading CTRIA6
CTRIA6(4801,48,327) # MSC 2005 - GEOM201 Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(6) I Grid point identification numbers of connection points 9 THETA RS Material property orientation angle or coordinate system identification number 10 ZOFFS RS Offset from the surface of grid points reference plane 11 T(3) RS Membrane thickness of element at grid points
Record 90 – CTRIA6(4801,48,327) # MSC 2005 - GEOM2 CTRIA6(4801,48,327) Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 G(6) I Grid point identification numbers of connection points 9 THETA RS Material property orientation angle or coordinate system identification number 10 ZOFFS RS Offset from the surface of grid points reference plane 11 T(3) RS Membrane thickness of element at grid points 14 TFLAG I Relative thickness flag
- read_feedge2(data: bytes, n: int) int [source]
(2901, 29, 9601)
Word Name Type Description 1 EDGEID I Edge identification number 2 GRID1 I Identification number of end GRID 1 3 GRID2 I Identification number of end GRID 2 4 CID I Coordinate system identification number 5 GEOMIN CHAR4 Type of referencing entry: “GMCURV” or “POINT” 6 GEOMID1 I Identification number of a POINT or GMCURV entry 7 GEOMID2 I Identification number of a POINT or GMCURV entry
- read_feface_pval(data: bytes, n: int) int [source]
C:NASAm4formatsgitexamplesmove_tplpshp02.bdf ints = (
100001001, 100, 111001001, 111001002, 111001004, 111001007, 111001008, 111001010, 100001002, 100, 111001002, 111001003, 111001005, 111001008, 111001009, 111001011, 100001003, 100, 111001005, 111001004, 111001002, 111001011, 111001010, 111001008, 100001004, 100, 111001004, 111001005, 111001006, 111001010, 111001011, 111001012, 100001005, 100, 111001007, 111001008, 111001010, 111001013, 111001014, 111001016, 100001006, 100, 111001008, 111001009, 111001011, 111001014, 111001015, 111001017, 100001007, 100, 111001011, 111001010, 111001008, 111001017, 111001016, 111001014, 100001008, 100, 111001010, 111001011, 111001012, 111001016, 111001017, 111001018, 100002001, 100, 111002001, 111002002, 111002004, 111002007, 111002008, 111002010, 100002002, 100, 111002002, 111002003, 111002005, 111002008, 111002009, 111002011, 100002003, 100, 111002005, 111002004, 111002002, 111002011, 111002010, 111002008, 100002004, 100, 111002004, 111002005, 111002006, 111002010, 111002011, 111002012, 100002005, 100, 111002007, 111002008, 111002010, 111002013, 111002014, 111002016, 100002006, 100, 111002008, 111002009, 111002011, 111002014, 111002015, 111002017, 100002007, 100, 111002011, 111002010, 111002008, 111002017, 111002016, 111002014, 100002008, 100, 111002010, 111002011, 111002012, 111002016, 111002017, 111002018)
C:NASAm4formatsgitexamplesmove_tplpet1126.op2 ints = (
100001001, 1, 111001001, 111001002, 111001004, 111001007, 111001008, 111001010, 100001002, 1, 111001002, 111001003, 111001005, 111001008, 111001009, 111001011, 100001003, 1, 111001005, 111001004, 111001002, 111001011, 111001010, 111001008, 100001004, 1, 111001004, 111001005, 111001006, 111001010, 111001011, 111001012, 100001005, 1, 111001007, 111001008, 111001010, 111001013, 111001014, 111001016, 100001006, 1, 111001008, 111001009, 111001011, 111001014, 111001015, 111001017, 100001007, 1, 111001011, 111001010, 111001008, 111001017, 111001016, 111001014, 100001008, 1, 111001010, 111001011, 111001012, 111001016, 111001017, 111001018)
- read_genel(data: bytes, n: int) int [source]
Word Name Type Description 1 EID I Element identification number 2 UI I Independent grid point identification number 3 CI I Component number Words 2 through 3 repeat until End of Record
4 M(C) I Number of rows and columns in K or Z and rows in S 5 UD I Dependent grid point identification number 6 CD I Component number Words 5 through 6 repeat until End of Record
7 N(C) I Number of columns in S 8 F I 1 means Z, 2 means K 9 KZIJ RS Lower triangular terms of the K or Z matrix. See Notes. Word 9 repeats MM times 10 NZERO(C) I NZERO =1 Actually “ 0” 11 SIJ RS Terms of the S matrix Word 11 repeats M times Word 11 repeats N times NZERO =0 End NZERO 12 UNDEF none Word 12 repeats until End of Record
# C:NASAm4formatsgitexamplesmove_tplha145c.op2 (432, # eid 1, 3, 2, 3, 3, 3, 4, 3, 5, 3, 6, 3, 7, 3, 8, 3, 9, 3, 10, 3, -1, # (ui,ci) 10, # M(c) 11, 3, 11, 4, 11, 5, 11, 6, -1, # (ud,cd) 4, 1, # N(c), f, KZij…floats…)
(6.05360936588321e-43, 1, 3, 2.802596928649634e-45, 3, 3, 3, 4, 3, 7.006492321624085e-45, 3, 8.407790785948902e-45, 3, 9.80908925027372e-45, 3, 1.1210387714598537e-44, 3, 1.2611686178923354e-44, 3, 1.401298464324817e-44, 3, nan, 1.401298464324817e-44, 1.5414283107572988e-44, 3, 1.5414283107572988e-44, 4, 1.5414283107572988e-44, 7.006492321624085e-45, 1.5414283107572988e-44, 8.407790785948902e-45, nan, 4, 1, 8.71720021677902e-06, 1.3361000128497835e-06, 1.2778000382240862e-05, 6.272000064200256e-06, 1.6251000488409773e-05, 1.0492000001249835e-05, 2.0478000806178898e-05, 1.562999932502862e-05, 2.428500010864809e-05, 2.0403000235091895e-05, 3.086099968641065e-05, 6.272000064200256e-06, 3.229700087103993e-05, 1.0492000001249835e-05, 3.352899875608273e-05, 1.562999932502862e-05, 3.502099934848957e-05, 2.025700086960569e-05, 3.578500036383048e-05, 2.7731999580282718e-05, 1.572600012877956e-05, 4.825499854632653e-05, 3.762800042750314e-05, 7.328399806283414e-05, 6.433799717342481e-05, 9.580999903846532e-05, 8.837800123728812e-05, 6.374900112859905e-05, 3.762800042750314e-05, 8.013600017875433e-05, 6.433799717342481e-05, 0.00010011999984271824, 8.837800123728812e-05, 0.00011811000149464235, 0.00012758000229950994, 0.00011344000085955486, 0.00019350000366102904, 0.0001816000003600493, 0.0002528300101403147, 0.00024294000468216836, 0.0001699900021776557, 0.0001816000003600493, 0.000229199999012053, 0.00024294000468216836, 0.0002824899856932461, 0.00036862000706605613, 0.00035051998565904796, 0.0005267499946057796, 0.0005117100081406534, 0.00042292001307941973, 0.0005117100081406534, 0.0005718700122088194, 0.0008483999990858138, 0.0008233999833464622, 0.0009233999880962074, 4, 1.0, 90.0, -20.25, 45.0, 1.0, 90.0, 81.0, 45.0, 1.0, 186.0, -17.850000381469727, 141.0, 1.0, 186.0, 71.4000015258789, 141.0, 1.0, 268.0, -15.800000190734863, 223.0, 1.0, 268.0, 63.20000076293945, 223.0, 1.0, 368.0, -13.300000190734863, 323.0, 1.0, 368.0, 53.20000076293945, 323.0, 1.0, 458.0, -11.050000190734863, 413.0, 1.0, 458.0, 44.20000076293945, 413.0)
- read_gmbndc(3201, 32, 478)[source]
Word Name Type Description 1 BID I Boundary identification number 2 GRIDI I Initial grid identification number for boundary 3 GRIDF I Final grid identification number for boundary 4 ENTITY(2) CHAR4 Entity type for defining boundary 6 EID I Entity identification numbers for boundary of subdomain Word 6 repeats until End of Record
- read_gmbnds(data: bytes, n: int) int [source]
Word Name Type Description 1 BID I Boundary identification number 2 GRIDC(4) I Corner grid 1 6 ENTITY(2) CHAR4 Entity type for defining boundary 8 EID I Entity identification numbers for boundary of subdomain Word 8 repeats until End of Record
- read_micpnt(data: bytes, n: int) int [source]
RECORD – MICPNT(2801,28,630) Word Name Type Description 1 EID I Element identification number 2 GID I Fluid grid identification number 3 DESC(12) CHAR4 Description - 48 characters maximum
- read_radbc(12801, 128, 417)[source]
Word Name Type Description 1 EID I Element identification number 2 FAMB RS Radiation view factor between the face and the ambient point 3 CNTRLND I Control point for radiation boundary condition 4 NODAMB I
- read_sint(data: bytes, n: int) int [source]
Word Name Type Description 1 EID I Element identification number 2 PID I Property identification number 3 PTELE I Pointer to element identification number 4 NSEG I Number of segments 5 STSC I Stride for segment displacement data 6 PTSC I Pointer to segment displacements 7 NBOUND I Number of boundaries 8 BID I Boundary identification number 9 NFACE I Number of faces 10 STBC I Stride for boundary displacement data 11 NSEG I Number of segments 12 STLC1 I Stride for Boundary Lagrange Multiplier data 13 PTBND I Pointer to boundary identification number 14 PTBC I Pointer to boundary displacements 15 PTLC I Pointer to boundary Lagrange Multipliers Words 8 through 15 repeat 5 times 16 UNDEF(3 ) none
- property size: int
- property struct_q: Struct