ept Module

digraph inheritance1d42820afa { bgcolor=transparent; rankdir=LR; size=""; "pyNastran.op2.tables.geom.ept.EPT" [URL="#pyNastran.op2.tables.geom.ept.EPT",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 properties"]; }

defines readers for BDF objects in the OP2 EPT/EPTS table

class pyNastran.op2.tables.geom.ept.EPT(op2: OP2Geom)[source]

Bases: object

defines methods for reading op2 properties

property factor: int
read_desc(data: bytes, n: int) int[source]

RECORD – DESC(9801,98,698)

Word Name Type Description 1 DID I Description identification number 2 NWORDS I Number of words for the description string 3 DESC CHAR4 Description Words 3 repeats NWORDS times

data = (1, 14, ‘FACE CONTACT(1) ‘)

read_ept_4(data: bytes, ndata: int)[source]
read_matcid(data: bytes, n: int) None[source]

MATCID(17006,170,901) Defines material coordinate system for solid elements. Word Name Type Description 1 CID I Material coordinate system identification number 2 SPECOPT I Specification option SPECOPT=1 Select individual element identification numbers 3 EID I Element identification number Word 3 repeats until -1 occurs SPECOPT=2 Select all element identification numbers 3 ALL(2) CHAR4 Keyword for selecting ALL option Words 3 repeats until -1 occurs SPECOPT=3 Select element identification numbers using a THRU range without the BY option 3 EID I Element identification number 4 THRU(2) CHAR4 Keyword for selecting THRU option 6 EID I Element identification number Words 3 through 5 repeat until -1 occurs SPECOPT=4 Select element identification numbers using a THRU range with the BY option 3 EID I Element identification number 4 THRU(2) CHAR4 Keyword for selecting THRU option 6 EID I Element identification number 7 BY(2) CHAR4 Keyword for selecting BY option 9 N I Element selection increment Words 3 through 9 repeat until -1 occurs

read_nsm(data: bytes, n: int) int[source]

NSM

read_nsm1(3301, 33, 992)[source]

Defines the properties of a nonstructural mass. Word Name Type Description 1 SID I Set identification number 2 PROP CHAR4 Set of properties 3 TYPE CHAR4 Set of elements 4 ORIGIN I Entry origin 5 VALUE RS Nonstructural mass value 6 SPECOPT I Specification option SPECOPT=1 By IDs

7 ID I Word 7 repeats until -1 occurs

SPECOPT=2 All

7 ALL(2) CHAR4 Words 7 and 8 repeat until -1 occurs

SPECOPT=3 Thru range

7 ID I 8 THRU(2) CHAR4 10 ID I Words 7 through 10 repeat until -1 occurs

SPECOPT=4 Thru range with by

7 ID I 8 THRU(2) CHAR4 10 ID I 11 BY(2) CHAR4 13 N I Words 7 through 13 repeat until -1 occurs

data = (3, PCOMP, 0, 0.37, 2, ALL, -1,

4, ELEMENT, 2, 2.1, 1, 3301, -1)

read_nsm_2(data: bytes, n: int) int[source]

NX 2019.2 NSM(3201, 32, 991)

RECORD – NSM(3201,32,991) Defines the properties of a nonstructural mass.

Word Name Type Description 1 SID I Set identification number 2 PROP CHAR4 Set of properties 3 TYPE CHAR4 Set of elements <—- not right…it’s an integer and not used… 4 ID I Property or element identification number 5 VALUE RS Nonstructural mass value Words 5 through 6 repeat until End of Record

NSM,2,conrod,1007,0.3

data = (2, CONROD, 0, 1007, 0.3, -1,

2, ELEMENT, 0, 200, 0.20, -1, 3, PSHELL, 0, 3301, 0.20, -1, 3, ELEMENT, 2, 200, 1.0, -1, 4, PSHELL, 2, 6401, 4.2, -1)

read_nsmadd(data: bytes, n: int) int[source]

NX 2019.2 (3401, 34, 993)

RECORD – NSMADD(3401,34,993) Combines the nonstructural mass inputs.

Word Name Type Description 1 SID I Set identification number 2 ID I Set of properties or elements Word 2 repeats until End of Record

(1, 2, 3, 4, -1)

read_nsml(data: bytes, n: int) int[source]

NX 2019.2 RECORD – NSML(3501, 35, 994)

Defines a set of lumped nonstructural mass by ID. Word Name Type Description 1 SID I Set identification number 2 PROP(2) CHAR4 Set of properties or elements 4 ID I Property of element identification number 5 VALUE RS Lumped nonstructural mass value Words 4 and 5 repeat until -1 occurs

ints = (3, ELEMENT, 0, 200, 0.7, -1, 4, PSHELL, 0, 6401, 4.2, -1) floats = (3, ELEMENT, 0.0, 200, 0.7, -1, 4, PSHELL, 0.0, 6401, 4.2, -1)

read_nsml1_msc(3601, 36, 62)[source]

Word Name Type Description 1 SID I Set identification number 2 PROP CHAR4 Set of property or elements 3 VALUE RS Lumped nonstructural mass value 4 SPECOPT I Specification option SPECOPT=1 By IDs

5 IDs , =FLG1LIST in ixidlst.prm 6 ID I Property or element ID Word 6 repeats until End of Record

SPECOPT=2 means ALL, =FLG1ALL in ixidlst.prm

5 ALL(2) CHAR4 Keyword ALL Words 5 through 6 repeat until End of Record

SPECOPT=3 means THRU range, =FLG1THRU in ixidlst.prm

5 ID1 I Starting ID 6 THRU(2) CHAR4 Keyword THRU 8 ID2 I Ending ID Words 5 through 8 repeat until End of Record

SPECOPT=4 means THRU range with BY, =FLG1THBY in ixidlst.prm

5 ID1 I Starting ID 6 THRU(2) CHAR4 Keyword THRU 8 ID2 I Ending ID 9 BY(2) CHAR4 Keyword BY 11 N I Increment Words 5 through 11 repeat until End of Record

End SPECOPT Words 4 through max repeat until End of Record

C:MSC.Softwaresimcenter_nastran_2019.2tpl_post2elsum15.op2

data = (4, ELEMENT, 2.1, 1, 3301, -1, -2)

read_nsml1_nx(data: bytes, n: int) int[source]

NSML1(3701, 37, 995) Alternate form of NSML entry. Defines lumped nonstructural mass entries by VALUE, ID list.

Word Name Type Description 1 SID I Set identification number 2 PROP CHAR4 Set of properties 3 TYPE CHAR4 Set of elements 4 VALUE RS Lumped nonstructural mass value 5 SPECOPT I Specification option SPECOPT=1 By IDs

6 ID I Property of element identification number Word 6 repeats until -1 occurs

SPECOPT=2 All

6 ALL(2) CHAR4 Keyword ALL Words 6 and 7 repeat until -1 occurs

SPECOPT=3 Thru range

6 ID1 I Starting identification number 7 THRU(2) CHAR4 Keyword THRU 9 ID2 I Ending identification number Words 6 through 9 repeat until -1 occurs

SPECOPT=4 Thru range with by

6 ID1 I Starting identification number 7 THRU(2) CHAR4 Keyword THRU 9 ID2 I Ending identification number 10 BY(2) CHAR4 Keyword BY 12 N I Increment Words 6 through 12 repeat until -1 occurs

data = (

3701, 37, 995, 1, ELEMENT, 466.2, 3, 249311, THRU, 250189, -1, 3, 250656, THRU, 251905, -1, 3, 270705, THRU, 275998, -1, 3, 332687, THRU, 334734, -1, -2,

2, ELEMENT, 77.7, 3, 225740, THRU 227065, -1, 3, 227602, THRU, 228898, -1, 3, 229435, THRU, 230743, -1, 3, 231280, THRU, 233789, -1, 3, 233922, THRU, 235132, -1, 3, 235265, THRU, 236463, -1, 3, 338071, THRU, 341134, -1, -2)

read_paabaf(data: bytes, n: int) None[source]

PAABSF(1502,15,36) Defines the properties of a frequency-dependent acoustic absorber Word Name Type Description 1 PID I Property identification number 2 TZREID I TABLEDi entry identification number for resistance 3 TZMID I TABLEDi entry identification number for reactance 4 S RS Impedance scale factor 5 A RS Area factor when only 1 or 2 grid points are specified 6 B RS Equivalent structural damping 7 K RS Equivalent stiffness 8 RHOC RS Constant used for absorption coefficient

read_paxsymh(data: bytes, n: int) None[source]
read_pbar(data: bytes, n: int) int[source]

PBAR(52,20,181) - the marker for Record 11 .. warning:: this makes a funny property…

MSC 2016/NX10

Word Name Type Description 1 PID I Property identification number 2 MID I Material identification number 3 A RS Area 4 I1 RS Area moment of inertia in plane 1 5 I2 RS Area moment of inertia in plane 2 6 J RS Torsional constant 7 NSM RS Nonstructural mass per unit length 8 FE RS 9 C1 RS Stress recovery location at point C in element y-axis 10 C2 RS Stress recovery location at point C in element z-axis 11 D1 RS Stress recovery location at point D in element y-axis 12 D2 RS Stress recovery location at point D in element z-axis 13 E1 RS Stress recovery location at point E in element y-axis 14 E2 RS Stress recovery location at point E in element z-axis 15 F1 RS Stress recovery location at point F in element y-axis 16 F2 RS Stress recovery location at point F in element z-axis 17 K1 RS Area factor for shear in plane 1 18 K2 RS Area factor for shear in plane 2 19 I12 RS Area product of inertia for plane 1 and 2

read_pbarl(data: bytes, n: int) int[source]

PBARL(9102,91,52) - the marker for Record 12 TODO: buggy It’s possible to have a PBARL and a PBAR at the same time. NSM is at the end of the element.

read_pbcomp(5403, 55, 349)[source]

pid mid A I1 I2 I12 J NSM

PBCOMP 3 2 2.00E-4 6.67E-9 1.67E-9 0.0 4.58E-9 0.0 +

pid mid

floats = (3, 2, 0.0002, 6.67e-09, 1.67e-09, 0.0, 4.58e-09, 0.0, 1.0, 1.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) ints = (3, 2, 0.0002, 6.67E-9, 1.67E-9, 0, 4.58E-9, 0, 1.0, 1.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)

read_pbeam(data: bytes, n: int) int[source]

PBEAM(5402,54,262) - the marker for Record 14 .. todo:: add object

read_pbeam3(data: bytes, n: int) int[source]
read_pbeaml(9202, 92, 53)[source]

Word Name Type Description 1 PID I Property identification number 2 MID I Material identification number 3 GROUP(2) CHAR4 Cross-section group name 5 TYPE(2) CHAR4 Cross section type 7 VALUE RS Cross section values for XXB, SO, NSM, and dimensions Word 7 repeats until (-1) occurs

read_pbend(data: bytes, n: int) int[source]

PBEND

read_pbush(data: bytes, n: int) int[source]

The PBUSH card is different between MSC and NX Nastran.

read_pbush1d(data: bytes, n: int) int[source]

Record 18 – PBUSH1D(3101,31,219)

1 PID I Property identification number 2 K RS Stiffness 3 C RS Viscous Damping 4 M RS Mass 5 ALPHA RS Temperature coefficient 6 SA RS Stress recovery coefficient 7 EA/SE RS Strain recovery coefficient

8 TYPEA I Shock data type:0=Null, 1=Table, 2=Equation 9 CVT RS Coefficient of translation velocity tension 10 CVC RS Coefficient of translation velocity compression 11 EXPVT RS Exponent of velocity tension 12 EXPVC RS Exponent of velocity compression 13 IDTSU I TABLEDi or DEQATN entry identification number for scale factor vs displacement 14 IDTCU I DEQATN entry identification number for scale factor vs displacement 15 IDTSUD I DEQATN entry identification number for derivative tension 16 IDCSUD I DEQATN entry identification number for derivative compression

17 TYPES I Spring data type: 0=Null, 1=Table, 2=Equation 18 IDTS I TABLEDi or DEQATN entry identification number for tension compression 19 IDCS I DEQATN entry identification number for compression 20 IDTDU I DEQATN entry identification number for scale factor vs displacement 21 IDCDU I DEQATN entry identification number for force vs displacement

22 TYPED I Damper data type: 0=Null, 1=Table, 2=Equation 23 IDTD I TABLEDi or DEQATN entry identification number for tension compression 24 IDCD I DEQATN entry identification number for compression 25 IDTDV I DEQATN entry identification number for scale factor versus velocity 26 IDCDV I DEQATN entry identification number for force versus velocity

27 TYPEG I General data type: 0=Null, 1=Table, 2=Equation 28 IDTG I TABLEDi or DEQATN entry identification number for tension compression 29 IDCG I DEQATN entry identification number for compression 30 IDTDU I DEQATN entry identification number for scale factor versus displacement 31 IDCDU I DEQATN entry identification number for force versus displacement 32 IDTDV I DEQATN entry identification number for scale factor versus velocity 33 IDCDV I DEQATN entry identification number for force vs velocity

34 TYPEF I Fuse data type: 0=Null, 1=Table 35 IDTF I TABLEDi entry identification number for tension 36 IDCF I TABLEDi entry identification number for compression

37 UT RS Ultimate tension 38 UC RS Ultimate compression

read_pbush2d(data: bytes, n: int) int[source]

Word Name Type Description 1 PID I Property identification number 2 K1 RS Nominal Stiffness for T1 3 K2 RS Nominal Stiffness for T2 4 B1 RS Nominal Viscous Damping for T1 5 B2 RS Nominal Viscous Damping for T2 6 M1 RS Nominal Mass for T1 7 M2 RS Nominal Mass for T2 8 DEFINED I DEFINED =1

9 FTBEQ I TABLE or EQUATN; see NOTEs after EOR 10 TIDF1 I TABLE/DEQATN ID for P in T1 vs. disp/velo/acce/rotorsp 11 TIDF2 I TABLE/DEQATN ID for P in T2 vs. disp/velo/acce/rotorsp 12 UNDEF(17) none

DEFINED=2 defined via SQUEEZE

9 BDIA RS Inner journal diameter, required 10 BLEN RS Damper length, required 11 BCLR RS Damper radial clearance, required 12 SOLN I Solution option: 1=LONG or 2=SHORT bearing 13 VISCO RS Lubricant viscosity, required 14 PVAPCO RS Lubricant vapor pressure, required 15 NPORT I Number of lubrication ports: 1 or 2 16 PRES1 RS Boundary pressure for port 1, required if NPORT=1 or 2 17 THETA1 RS Angular position for port 1, required if NPORT=1 or 2 18 PRES2 RS Boundary pressure for port 2, required if NPORT=2 19 THETA2 RS Angular position for port 2, required if NPORT=2 20 OFFSET1 RS Offset in the SFD direction 1 21 OFFSET2 RS Offset in the SFD direction 2 22 UNDEF(7) none

DEFINED=3 defined via CROSS

9 K12 RS Stiffness in T1 due to disp in T2 10 K21 RS Stiffness in T2 due to disp in T1 11 B12 RS Damping in T1 due to velo in T2 12 B21 RS Damping in T2 due to velo in T1 13 M12 RS Acce depend force in T1 due to acce in T2 14 M21 RS Acce depend force in T2 due to acce in T1 15 UNDEF(14) none

DEFINED=4 defined via SPRING/DAMPER/MASS

9 OPTTYP(C) I Option type OPTTYP=1 for SPRING

10 STBEQ I TABLE or EQUATN; see NOTEs after EOR 11 TEIDK11 I TABLED5/DEQATN ID for K in T1 due to motion in T1 12 TEIDK22 I TABLED5/DEQATN ID for K in T2 due to motion in T2 13 TEIDK12 I TABLED5/DEQATN ID for K in T1 due to motion in T2 14 TEIDK21 I TABLED5/DEQATN ID for K in T2 due to motion in T1

OPTTYP=2 for DAMPER

10 DTBEQ I TABLE or EQUATN; see NOTEs after EOR 11 TEIDB11 I TABLED5/DEQATN ID for B in T1 due to motion in T1 12 TEIDB22 I TABLED5/DEQATN ID for B in T2 due to motion in T2 13 TEIDB12 I TABLED5/DEQATN ID for B in T1 due to motion in T2 14 TEIDB21 I TABLED5/DEQATN ID for B in T2 due to motion in T1

OPTTYP=3 for MASS

10 MTBEQ I TABLE or EQUATN; see NOTEs after EOR 11 TEIDM11 I TABLED5/DEQATN ID for M in T1 due to motion in T1 12 TEIDM22 I TABLED5/DEQATN ID for M in T2 due to motion in T2 13 TEIDM12 I TABLED5/DEQATN ID for M in T1 due to motion in T2 14 TEIDM21 I TABLED5/DEQATN ID for M in T2 due to motion in T1

End OPTTYP Words 9 through max repeat until End of Record 15 N(C) I Count for UNDEF 16 UNDEF none Word 16 repeats N times

DEFINED=5 defined via RGAP

9 TABK I Table ID for GAP K vs. rela disp 10 TABB I Table ID for GAP K vs. rela disp(>0) or velo( 11 TABG I Table ID for GAP clearance vs. time 12 TABU I Table ID for friciton coef vs. time 13 RADIUS RS Shaft radius >=0.0 14 UNDEF(15) none

DEFINED=0 No continuation 9 UNDEF(20) none End DEFINED VIA

read_pbusht(data: bytes, n: int) int[source]

NX 12 / MSC 2005 Word Name Type Description 1 PID I Property identification number 2 TKID(6) I TABLEDi entry identification numbers for stiffness 8 TBID(6) I TABLEDi entry identification numbers for viscous damping 14 TGEID(6) I TABLEDi entry identification number for structural damping 20 TKNID(6) I TABLEDi entry identification numbers for force versus deflection

old style Word Name Type Description 1 PID I Property identification number 2 TKID(6) I TABLEDi entry identification numbers for stiffness 8 TBID(6) I TABLEDi entry identification numbers for viscous damping 14 TGEID I TABLEDi entry identification number for structural damping 15 TKNID(6) I TABLEDi entry IDs for force versus deflection

read_pbusht_nx_old(data: bytes, n: int) int[source]
read_pcomp(data: bytes, n: int) int[source]

PCOMP(2706,27,287) - the marker for Record 22

standard:

EPTS; 64-bit: C:MSC.Softwaresimcenter_nastran_2019.2tpl_post1cqrdbxdra3lg.op2

optistruct:
ints = (2706, 27, 287,

5, 3, -2.75, 0, 0, 1, 0, 0, 2, 0.25, 0, 2, # why is sout=2? 3, 5.0, 0, 3, # why is sout=3? 2, 0.25, 0, 2, # why is sout=2?

6, 5, -3.0, 0, 0, 1, 0, 0, 2, 0.25, 0, 2, 2, 0.25, 0, 2, 3, 5.0, 0, 3, 2, 0.25, 0, 2, 2, 0.25, 0, 2, 7, 7, -1068498944, 0, 0, 1, 0, 0, 2, 0.25, 0, 2, 2, 0.25, 0, 2, 2, 0.25, 0, 2, 3, 5.0, 0, 3, 2, 0.25, 0, 2, 2, 0.25, 0, 2, 2, 0.25, 0, 2)

floats = (2706, 27, 287,

5, 3, -2.75, 0.0, 0.0, 1, 0.0, 0.0, 2, 0.25, 0.0, 2, 3, 5.0, 0.0, 3, 2, 0.25, 0.0, 2, 6, 5, -3.0, 0.0, 0.0, 1, 0.0, 0.0, 2, 0.25, 0.0, 2, 2, 0.25, 0.0, 2, 3, 5.0, 0.0, 3, 2, 0.25, 0.0, 2, 2, 0.25, 0.0, 2, 9.80908925027372e-45, 9.80908925027372e-45, -3.25, 0.0, 0.0, 1, 0.0, 0.0, 2, 0.25, 0.0, 2, 2, 0.25, 0.0, 2, 2, 0.25, 0.0, 2, 3, 5.0, 0.0, 3, 2, 0.25, 0.0, 2, 2, 0.25, 0.0, 2, 2, 0.25, 0.0, 2)

read_pcompg(2706, 27, 287)[source]

1 PID I Property identification number 2 LAMOPT I Laminate option 3 Z0 RS Distance from the reference plane to the bottom surface 4 NSM RS Nonstructural mass per unit area 5 SB RS Allowable shear stress of the bonding material 6 FT I Failure theory 7 TREF RS Reference temperature 8 GE RS Damping coefficient

9 GPLYIDi I Global ply IDs. 10 MID I Material identification number 11 T RS Thicknesses of the ply 12 THETA RS Orientation angle of the longitudinal direction of the ply 13 SOUT I Stress or strain output request of the ply Words 9 through 13 repeat N times (until -1, -1, -1, -1, -1 as Nplies doesn’t exist…)

float = (15006, 150, 604,
5, 0.0, 1.7368e-18, 0.0, 0.0, 0.0, 20.0, 0.0,

5e-324, 5e-324, 2.0, 0.0, 0.0, 1e-323, 1e-323, 3.0, 0.0, 0.0, 1.5e-323, 1e-323, 3.0, 0.0, 0.0, 2e-323, 5e-324, 2.0, 0.0, 0.0, nan, nan, nan, nan, nan)

int = (15006, 150, 604,
5, 0, 1.7368e-18, 0, 0, 0, 20.0, 0,

1, 1, 4611686018427387904, 0, 0, 2, 2, 4613937818241073152, 0, 0, 3, 2, 4613937818241073152, 0, 0, 4, 1, 4611686018427387904, 0, 0, -1, -1, -1, -1, -1)

read_pcompg1(15106, 151, 953)[source]

Word Name Type Description 1 PID I Property identification number 2 Z0 RS Distance from the reference plane to the bottom surface 3 NSM RS Nonstructural mass per unit area 4 SB RS Allowable shear stress of the bonding material 5 UNDEF None 6 TREF RS Reference temperature 7 GE RS Damping coefficient 8 UNDEF None 9 GPLYIDi I Global ply identification number 10 MID I Material identification number 11 T RS Thicknesses of the ply 12 THETA RS Orientation angle of the longitudinal direction of the ply 13 FT I Failure theory 14 SOUT I Stress or strain output request of the ply 15 UNDEF None Words 9 through 15 repeat until (-1,-1,-1,-1,-1,-1,-1) occurs PCOMPG1 PID Z0 NSM SB N/A TREF GE GPLYIDi MIDi TRi THETAi FTi N/A SOUTi PCOMPG1 1 0.0 20.0 0.0 + + 1 1 0.4 0.0 STRN YES +

read_pcompls(data: bytes, n: int) int[source]

1 Each PCOMPLS creates a fake PSOLID with MID from its first ply, see ifp6nlm.F 2 # of , see also ta0n2m.F 3 PID I #01, Property ID 4 DIRECT I #02, Layer direction 5 CORDM I #03, ID of the Material coordinate system 6 SB RS #04, Allowable shear stress of bonding material 7 IANAL I #05, Implicit/Explicit/Structure/Heat, see nlmanal.prm 8 UNDEF(3) none #06-08 11 MICRO CHAR4 #09, If ‘MICR’, activates Micro-Mechanics progressive failure analysis 12 BEH8 CHAR4 ?01, Structual Behavior for 8-noded elements 13 INT8 CHAR4 ?02, Integration Scheme for 8-noded elements 14 BEH8H CHAR4 ?03, Heat Transfer Behavior for 8-noded elements 15 INT8H CHAR4 ?04, Heat Transfer Integration Scheme for 8-noded elements 16 BEH20 CHAR4 ?01, Structual Behavior for 20-noded elements 17 INT20 CHAR4 ?02, Integration Scheme for 20-noded elements 18 BEH20H CHAR4 ?03, Heat Transfer Behavior for 20-noded elements 19 INT20H CHAR4 ?04, Heat Transfer Integration Scheme for 20-noded elements 20 NPLY(C) I ?xx, Number of plies, =0 before IFP6, >0 after IFP6 NPLY =0 before IFP6 21 GPLYID I ?01, Global Ply ID 22 MID I ?02, Material ID 23 THICK RS ?03, Thicknesses of the ply, fractional if DIRECT > 0 24 THETA RS ?04, Orientation angle of the ply 25 SOUT CHAR4 ?05, Stress or strain output request (YES or NO) 26 MIDMTX I ?06, Matrix material ID 27 VF RS ?07, Fiber volume fraction 28 VV RS ?08, Void volume fraction 29 CTEMP RS ?09, Reference temperature 30 MOIST RS ?10, Moisture percentage 31 CRIT CHAR4 ?11, CRIT=critical or NONC=non-critical 32 NFTI I ?12, Number of non-blank Failure Theories coming next 33 FTI(24) CHAR4 ?13-36, Failure Theories Words 21 through 56 repeat until End of Record NPLY = after IFP6 21 GPLYID I ?01, Global Ply ID 22 MID I ?02, Material ID 23 THICK RS ?03, Thicknesses of the ply, fractional if DIRECT > 0 24 THETA RS ?04, Orientation angle of the ply 25 SOUT CHAR4 ?05, Stress or strain output request (YES or NO) 26 MIDMTX I ?06, Matrix material ID 27 VF RS ?07, Fiber volume fraction 28 VV RS ?08, Void volume fraction 29 CTEMP RS ?09, Reference temperature 30 MOIST RS ?10, Moisture percentage 31 CRIT CHAR4 ?11, CRIT=critical or NONC=non-critical 32 NFTI I ?12, Number of non-blank Failure Theories coming next 33 FTI(24) CHAR4 ?13-36, Failure Theories Words 21 through 56 repeat NPLY times End NPLY

read_pcomps(data: bytes, n: int) None[source]

PCOMPS(16006,160,903) Defines the properties of an n-ply composite material laminate for solid elements.

Word Name Type Description 1 PID I Property identification number 2 CORDM I Material coordinate system identification number 3 PSDIR I Stack and ply directions in the material coordinate system 4 SB RS Allowable shear stress of the bonding material 5 NB RS Allowable normal stress of the bonding material 6 TREF RS Reference temperature 7 GE RS Damping coefficient 8 UNDEF None 9 GPLYIDi I Global ply identification number 10 MID I Material identification number 11 TR RS Thicknesses of the ply 12 THETA RS Orientation angle of the longitudinal direction of the ply 13 FT I Failure theory 14 ILFT I Inter-laminar failure theory 15 SOUT I Stress or strain output request of the ply 16 TFLAG I Flag of ABS or REL Words 9 through 16 repeat until (-1,-1,-1,-1,-1,-1,-1,-1) occurs

read_pconeax(data: bytes, n: int) int[source]

(152,19,147) - Record 24

read_pconv(data: bytes, n: int) int[source]

common method for reading PCONVs

read_pconvm(data: bytes, n: int) int[source]

Record 24 – PCONVM(2902,29,420)

1 PID I Property identification number 2 MID I Material identification number 3 FORM I Type of formula used for free convection 4 FLAG I Flag for mass flow convection 5 COEF RS Constant coefficient used for forced convection 6 EXPR RS Reynolds number convection exponent 7 EXPPI RS Prandtl number convection exponent into the working fluid 8 EXPPO RS Prandtl number convection exponent out of the working fluid

read_pdamp(data: bytes, n: int) int[source]

PDAMP(202,2,45) - the marker for Record ???

read_pdamp5(data: bytes, n: int) int[source]

Word Name Type Description 1 PID I Property identification number 2 MID I Material identification number 3 B RS Damping multiplier

read_pdampt(data: bytes, n: int) int[source]
read_pelas(data: bytes, n: int) int[source]

PELAS(302,3,46) - the marker for Record 39

read_pelast(data: bytes, n: int) int[source]

Record 41 – PELAST(1302,13,34)

1 PID I Property identification number 2 TKID I TABLEDi entry identification number for stiffness 3 TGEID I TABLEDi entry identification number for structural

damping

4 TKNID I TABLEDi entry

read_pfast_msc(data: bytes, n: int) int[source]

Word Name Type Description 1 PID I Property identification number 2 MID I Material property identification number 3 D RS Diameter of the fastener 4 CONNBEH I Connection behavior (0=FF/F, 1=FR, 10=RF/R, 11=RR) 5 CONNTYPE I Connection type (0=clamp, 1=hinge, 2=bolt) 6 EXTCON I External constraint flag (0=off, 1=on) 7 CONDTYPE I Condition type (0=rigid, 1=equivalent) 8 WELDTYPE I Weld type (0=spot weld, 1=but seam, 2=T-seam)

9 MINLEN RS Minimum length of spot weld 10 MAXLEN RS Maximum length of spot weld 11 GMCHK I Perform geometry check 12 SPCGS I SPC the master grid GS 13 CMASS RS Concentrated mass 14 GE RS Structureal Damping

15 UNDEF(3) none Not used 18 MCID I Element stiffness coordinate system 19 MFLAG I Defined the coordinate system type 20 KT(3) RS Stiffness values in direction 1 23 KR(3) RS Rotation stiffness values in direction 1

C:MSC.Softwaremsc_nastran_runscfmass.op2

pid mid D con con ext cond weld min max chk spc cmass ge und und und mcid mfag kt1 kt2 kt3 kr1 kr2 kr3

ints = (99, 0, 0.1, 0, 0, 0, 0, -1, 0.2, 5.0, 0, 0, 7.9, 0, 0, 0, 0, -1, 0, 471200.0, 181200.0, 181200.0, 226.6, 45610.0, 45610.0) floats = (99, 0.0, 0.1, 0.0, 0.0, 0.0, 0.0, -1, 0.2, 5.0, 0.0, 0.0, 7.9, 0.0, 0.0, 0.0, 0.0, -1, 0.0, 471200.0, 181200.0, 181200.0, 226.6, 45610.0, 45610.0)

read_pfast_nx(data: bytes, n: int) int[source]

PFAST(3601,36,55) NX only

Word Name Type Description 1 PID I Property identification number 2 D RS Diameter of the spot weld 3 MCID I Element stiffness coordinate system 4 MFLAG I Defines MCID as absolute or relative 5-7 KT(3) RS Translational stiffness 8-10 KR(3) RS Rotational stiffness

read_pgap(data: bytes, n: int) int[source]

PGAP(2102,21,121) - the marker for Record 42

read_phbdy(data: bytes, n: int) int[source]

PHBDY(2802,28,236) - the marker for Record 43

read_pintc(data: bytes, n: int) int[source]
read_pints(data: bytes, n: int) int[source]
read_plplane(4606, 46, 375)[source]

NX 10 1 PID I Property identification number 2 MID I Material identification number 3 CID I Coordinate system identification number 4 STR CHAR4 Location of stress and strain output 5 T RS Default membrane thickness for Ti on the connection entry 6 CSOPT I Reserved for coordinate system definition of plane 7 UNDEF(5) None

MSC 2016 PID I Property identification number 2 MID I Material identification number 3 CID I Coordinate system identification number 4 STR CHAR4 Location of stress and strain output 5 UNDEF(7 ) none Not used

Warning

CSOPT ad T are not supported

read_plsolid(data: bytes, n: int) int[source]

MSC 2016 1 PID I Property identification number 2 MID I Material identification number 3 STR CHAR4 Location of stress and strain output 4 UNDEF(4 ) none Not used

NX 10 1 PID I Property identification number 2 MID I Material identification number 3 STR CHAR4 Location of stress and strain output 4 CSOPT I Reserved for coordinate system definition of plane 5 UNDEF(3) None

Warning

CSOPT is not supported

read_pmass(data: bytes, n: int) int[source]

PMASS(402,4,44) - the marker for Record 48

read_pmic(data: bytes, n: int) int[source]

(7001, 70, 632) What is the type???? Pid ???

should be NX, but also checked MSC…need an example related to acoustics

not AEPARM C:MSC.Softwaresimcenter_nastran_2019.2tpl_post2atv005mat.op2

it’s a PMIC C:MSC.Softwaresimcenter_nastran_2019.2tpl_post1acssn100_2.op2

read_pplane(data: bytes, n: int) int[source]

RECORD – PPLANE(3801,38,979) Word Name Type Description 1 PID I Property identification number 2 MID I Material identification number 3 T RS Default membrane thickness for Ti on the connection entry 4 NSM RS Nonstructural mass per unit area 5 FOROPT I Formulation option number 6 CSOPT I Reserved for coordinate system definition of plane 7 UNDEF(2) None

ints = (1, 1, 1.0, 0, 0, 0, 0, 0, 2, 2, 1.0, 0, 0, 0, 0, 0) floats = (1, 1, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2, 2, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0)

read_prod(data: bytes, n: int) int[source]

PROD(902,9,29) - the marker for Record 49

read_pset(data: bytes, n: int) int[source]
read_pshear(data: bytes, n: int) int[source]

PSHEAR(1002,10,42) - the marker for Record 50

read_pshell(data: bytes, n: int) int[source]

PSHELL(2302,23,283) - the marker for Record 51

read_psolcz(8901, 89, 905) Word Name Type Description 1 PID    I Property identification number 2 MID    I Material identification number 3 CORDM  I Material coordinate system identification number 4 THICK RS Thickness of cohesive element 5 UNDEF(4)[source]
read_psolid(data: bytes, n: int) int[source]

PSOLID(2402,24,281) - the marker for Record 52

read_ptube(data: bytes, n: int) int[source]

PTUBE(1602,16,30) - the marker for Record 56

Todo

OD2 only exists for heat transfer… how do i know if there’s heat transfer at this point? I could store all the tubes and add them later, but what about themal/non-thermal subcases?

Warning

assuming OD2 is not written (only done for thermal)

read_pval(10201, 102, 400)[source]

Word Name Type Description 1 ID I p-value set identification number 2 POLY1 I Polynomial order in 1 direction of the CID system 3 POLY2 I Polynomial order in 2 direction of the CID system 4 POLY3 I Polynomial order in 2 direction of the CID system 5 CID I Coordinate system identification number 6 TYPE CHAR4 Type of set provided: “SET” or “ELID” 7 TYPEID I SET identification number or element identification

number with this p-value specification.

Words 1 through 7 repeat until End of Record

read_pvisc(data: bytes, n: int) int[source]

PVISC(1802,18,31) - the marker for Record 39

read_stop(data: bytes, n: int) int[source]
read_view(data: bytes, n: int) int[source]

RECORD – VIEW(2606,26,289)

Word Name Type Description 1 IVIEW I View identification number 2 ICAVITY I Cavity identification number 3 SHADE I Shadowing flag for the face of CHBDYi element 4 NB I Subelement mesh size in the beta direction 5 NG I Subelement mesh size in the gamma direction 6 DISLIN RS Displacement

read_view3d(data: bytes, n: int) int[source]

RECORD – VIEW3D(3002,30,415)

Word Name Type Description 1 ICAVITY I Radiant cavity identification number 2 GITB I Gaussian integration order for third-body shadowing 3 GIPS I Gaussian integration order for self-shadowing 4 CIER I Discretization level 5 ETOL RS Error estimate 6 ZTOL RS Zero tolerance 7 WTOL RS Warpage tolerance 8 RADCHK I Radiation exchange diagnostic output level

property size: int
pyNastran.op2.tables.geom.ept.break_by_minus1(idata)[source]

helper for read_nsm_nx