dynamics Module

digraph inheritance4d4b456d7b { bgcolor=transparent; rankdir=LR; size=""; "pyNastran.op2.tables.geom.dynamics.DYNAMICS" [URL="#pyNastran.op2.tables.geom.dynamics.DYNAMICS",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 dynamics loads/methods"]; "pyNastran.op2.tables.geom.geom_common.GeomCommon" -> "pyNastran.op2.tables.geom.dynamics.DYNAMICS" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.op2.tables.geom.geom_common.GeomCommon" [URL="pyNastran.op2.tables.geom.html#pyNastran.op2.tables.geom.geom_common.GeomCommon",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"]; }

defines readers for BDF objects in the OP2 DYNAMIC/DYNAMICS table

class pyNastran.op2.tables.geom.dynamics.DYNAMICS(op2: OP2Geom)[source]

Bases: GeomCommon

defines methods for reading op2 dynamics loads/methods

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

Record - ACPLNW(5807,59,653)

Acoustic plane wave source Word Name Type Description 1 SID I Load set identification number 2 FORM I Complex format: 0 for real/imaginary, 1 for magnitude/phase 3 A1 RS Scale factor 1 4 TRTM RS Real part or magnitude of plane wave 5 TIDTRTM I TABLEDi bulk entry identification number for real part or magnitude of plane wave 6 TITP RS Imaginary part or phase (in degrees) of plane wave 7 TIDTITP I TABLEDi bulk entry identification number for imaginary part or phase (in degrees) of plane wave 8 CID1 I Coordinate system identification number for location of plane wave source 9 X RS X-coordinate of plane wave source 10 Y RS Y-coordinate of plane wave source 11 Z RS Z-coordinate of plane wave source 12 CID2 I Coordinate system identification number for direction of plane wave 13 NX RS Direction cosine between plane wave direction and X-axis 14 NY RS Direction cosine between plane wave direction and Y-axis 15 NZ RS Direction cosine between plane wave direction and Z-axis 16 UNDEF(3) None

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

common method for reading NX/MSC ACSRCE

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

CAMPBLL CAMPBLL CID VPARM DDVALID TYPE

MODTRK CORU SWITR NUMMOD PRTCOR

CAMPBLL,15,SPEED,22,RPM ints = (15, 1, 22, RPM, 0, 0, 0, 0, 0) floats = (15, 1, 22, RPM, 0.0, 0.0, 0.0, 0.0, 0.0)

(15, 1, 22, ‘FREQ ‘, 1, 0.85, 0, 0, 1)

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

DAREA(27,17,182) - the marker for Record 2

1 SID I Load set identification number 2 P I Grid, scalar, or extra point identification number 3 C I Component number 4 A RS Scale factor

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

DELAY(37,18,183) - Record 3

1 SID I Set identification number 2 P I Grid, scalar, or extra point identification number 3 C I Component number 4 T RS Time delay

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

DLOAD(57,5,123) - Record 4

1 SID I Load set identification number 2 S RS Overall scale factor 3 SI RS Scale factor i 4 LI I Load set identification number i Words 3 through 4 repeat until (-1,-1) occurs

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

DPHASE(77,19,184) - Record 5

1 SID I Load set identification number 2 P I Grid, scalar, or extra point identification number 3 C I Component number 4 TH RS Phase lead

read_dynamics_4(data: bytes, ndata: int)[source]
read_dynred(4807, 48, 306)[source]

Word Name Type Description 1 SID I Load set identification number 2 FMAX RS Highest frequency of interest 3 NIRV I Number of initial random vectors 4 NIT I Number of iterations 5 IDIR I Starting point to generate initial random vectors 6 NQDES I Number of generalized degrees-of-freedom 7 UNDEF(2 ) none

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

EIGB(107,1,86) - Record 7

NX Word Name Type Description 1 SID I Set identification number 2 METHOD(2) CHAR4 Method of eigenvalue extraction 4 L1 RS Lower bound of eigenvalue range of interest 5 L2 RS Upper bound of eigenvalue range of interest 6 NEP I Estimate of number of roots in positive range 7 NDP I Desired number of positive roots 8 NDN I Desired number of negative roots 9 UNDEF None 10 NORM(2) CHAR4 Method for normalizing eigenvectors 12 G I Grid or scalar point identification number 13 C I Component number 14 UNDEF(5) None

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

EIGC(207,2,87) - Record 8

Word Name Type Description 1 SID I Load set identification number 2 METHOD(2) CHAR4 Method of eigenvalue extraction 4 NORM(2) CHAR4 Method for normalizing eigenvectors 6 G I Grid or scalar point identification number 7 C I Component number 8 E RS Convergence criterion 9 ND1 I Number of desired eigenvectors 10 CONTFLG I Continuation flag CONTFLG=0 With continuation 11 AAJ RS Location of A on real axis 12 WAJ RS Location of A on imaginary axis 13 ABJ RS Location of B on real axis 14 WBJ RS Location of B on imaginary axis 15 LJ RS Width of search region 16 NEJ I Number of estimated roots 17 NDJ I Number of desired eigenvectors Words 11 through 17 repeat until (-1,-1,-1,-1,-1,-1,-1) occ CONTFLG =-1 Without continuation End CONTFLG

data = (2, CLAN, ‘’, MAX, ‘’, 0, 0, 1e-08, 32, -1,

3, HESS, ‘’, MAX, ‘’, 0, 0, 1e-08, 32, -1)

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

EIGP(257,4,158) - Record 9

1 SID I Load set identification number 2 ALPHA RS Location of pole on real axis 3 OMEGA RS Location of pole on imaginary axis 4 M I Multiplicity of complex root at pole

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

EIGR(307,3,85) - Record 10

1 SID I Set identification number 2 METHOD(2) CHAR4 Method of eigenvalue extraction 4 F1 RS Lower bound of frequency range of interest 5 F2 RS Upper bound of frequency range of interest 6 NE I Number of estimated roots 7 ND I Number of desired roots 8 UNDEF(2 ) None 10 NORM(2) CHAR4 Method for normalizing eigenvectors 12 G I Grid or scalar point identification number 13 C I Component number 14 UNDEF(5 ) None

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

EIGRL(308,8,348) - Record 11

1 SID I Set identification number 2 V1 RS Lower bound of frequency range of interest 3 V2 RS Upper bound of frequency range of interest 4 ND I Number of desired eigenvectors 5 MSGLVL I Diagnostic level 6 MAXSET I Number of vectors in block or set 7 SHFSCL RS Estimate of first flexible mode 8 FLAG1 I V1 specification flag - set to 1 if V1 is specified 9 FLAG2 I V2 specification flag - set to 1 if V2 is specified 10 NORM(2) CHAR4 Method for normalizing eigenvectors 12 ALPH RS Constant for quadratic frequency segment distribution 13 NUMS I Number of frequency segments 14 FI RS Frequency at the upper boundary of the i-th segment Word 14 repeats NUMS times

I think the EIGRL is just a bizarre card that adds 0s when there are blank lines after the card… # optistruct ‘EIGRL 5 10 MASS’

strings = (b’5 0 0

MASS

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0’,)

ints = (5, 0, 0, 10, 0, 0, 0, 0, 0, 1397965133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) floats = (5, 0.0, 0.0, 10, 0.0, 0.0, 0.0, 0.0, 0.0, 907333664768.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)

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

EPOINT(707,7,124) - Record 12

read_fake(data: bytes, n: int) int[source]
read_freq(data: bytes, n: int) int[source]

FREQ(1307,13,126) - Record 13

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

FREQ1(1007,10,125) - Record 14

1 SID I Set identification number 2 F1 RS First frequency 3 DF RS Frequency increment 4 NDF I Number of frequency increments

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

FREQ2(1107,11,166) - Record 15

1 SID I Set identification number 2 F1 RS First frequency 3 F2 RS Last frequency 4 NF I Number of logarithmic intervals

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

FREQ3(1407,14,39) - Record 16

1 SID I Set identification number 2 F1 RS Lower bound of modal frequency range 3 F2 RS Upper bound of modal frequency range 4 TYPE CHAR4 Type of interpolation: LINE or LOG 5 NEF I Number of frequencies 6 BIAS RS Clustering bias parameter

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

FREQ4(1507,15,40) - Record 17

1 SID I Set identification number 2 F1 RS Lower bound of modal frequency range 3 F2 RS Upper bound of modal frequency range 4 FSPD RS Frequency spread 5 NFM I Number of evenly spaced frequencies per spread

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

FREQ5(1607,16,41) - Record 18

1 SID I Load set identification number 2 F1 RS Lower bound of modal frequency range 3 F2 RS Upper bound of modal frequency range 4 FRI RS Fractions of natural frequencies

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

NLFREQ1, 20, 0.0, 0.01, 150 data = (20, 0.0, 0.01, 150)

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

this card is faked…

read_nolin1(3107, 31, 127)[source]

Word Name Type Description 1 SID I Load set identification number 2 GI I Grid, scalar, or extra point identification number of I 3 CI I Component number for GI. 4 S RS Scale factor 5 GJ I Grid, scalar, or extra point identification number of J 6 CJ I Component number for GJ 7 T I Identification number of a TABLEDi Bulk Data entry. 8 UNDEF none

read_nolin2(3207, 32, 128)[source]

Word Name Type Description 1 SID I Load set identification number 2 GI I Grid, scalar, or extra point identification number of I 3 CI I Component number for GI. 4 S RS Scale factor 5 GJ I Grid, scalar, or extra point identification number of J 6 CJ I Component number for GJ 7 GK I Grid, scalar, or extra point identification number of K 8 CK I Component number for GK

read_nolin3(3307, 33, 129)[source]

Word Name Type Description 1 SID I Load set identification number 2 GI I Grid, scalar, or extra point identification number of I 3 CI I Component number for GI. 4 S RS Scale factor 5 GJ I Grid, scalar, or extra point identification number of J 6 CJ I Component number for GJ 7 A RS Exponent of the forcing function 8 UNDEF none

read_nolin4(3407, 34, 130)[source]

Word Name Type Description 1 SID I Load set identification number 2 GI I Grid, scalar, or extra point identification number of I 3 CI I Component number for GI. 4 S RS Scale factor 5 GJ I Grid, scalar, or extra point identification number of J 6 CJ I Component number for GJ 7 A RS Exponent of the forcing function 8 UNDEF none

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

C:NASAm4formatsgitexamplesmove_tplnlrgap2.op2 NLRGAP SID GA GB PLANE TABK TABG TABU RADIUS nlrgap 200 9 10 XY -961 965 967 5.0 (200, 9, 10, 101, 961, 965, 967, 5.0)

(400, 1, 2, 200, 401, 420, 0, 0,

500, 1, 2, 200, 501, 520, 0, 0)

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

common method for reading NX/MSC RLOAD1

read_randt1(2207, 22, 196)[source]

Word Name Type Description 1 SID I Set identification number 2 N I Number of time lag intervals 3 TO RS Starting time lag 4 TMAX RS Maximum time lag

read_rcross(data: bytes, n: int) int[source]
read_rgyro(data: bytes, n: int) int[source]

this card is faked…

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

common method for reading NX/MSC RLOAD1

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

common method for reading NX/MSC RLOAD2

read_rotord(8210, 82, 599)[source]

1 SID I Set identification number 2 NUMROT I Number of rotors (i=1, NUMROT below) 3 RSTART RS Starting rotor speed (in RPM) 4 RSTEP RS Rotor speed step size (in RPM) 5 NUMSTEP I Number of steps for rotor speed 6,7 REFSYS CHAR8 Rotational reference system (YHROT,YH or YHFIX,YH 8 CMOUT RS Complex mode output request 9,10 RUNIT CHAR8 Revolution input/output units for rotor (YHRPM or YHRAD or YHCPS or YHHZ) 11,12 FUNIT CHAR8 Frequency output units (YHRPM or YHRAD or YHCPS or YHHZ) 13,14 ZSTEIN CHAR8 Flag to incorpoate Steiner inertia terms (YHYES,YH or YHNO,YH) 15 ORBEPS RS Threshold value for detection of whirl direction 16 ROTPRT I Optional printout flag 17 SYNC I Synchronous analysis selection flag 18 ETYPE I Excitation type 19 EORDER RS Excitation order 20-21 (not used) 22+8*(i-1) RIDi I Rotor ID for ith rotor 23+8*(i-1) RSETi I Set number for rotor speed for multiple rotors 24+8*(i-1) RSPEEDi RS Relative rotor speed for multiple rotors 25+8*(i-1) RCOORDI I Coordinate system ID number specifying rotation axis as Z 26+8*(i-1) W3i RS Damping coefficient like PARAM,W3 27+8*(i-1) W4i RS Damping coefficient like PARAM,W4 28+8*(i-1) RFORCEi I RFORCE bulk data ID number specifying rotational force to be applied 29+8*(i-1) BRGSETi I CBEAR bearing set GROUP ID number

verified in NX 2019

read_rotorg(8410, 84, 600)[source]

1 SID I Set identification number of rotor 2 ID I Grid or scalar point ID’s which define a rotor

verified in NX 2019

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

TF

read_tic(6607, 66, 137)[source]

1 SID I Load set identification number 2 G I Grid, scalar, or extra point identification number 3 C I Component number for point GD 4 U0 RS Initial displacement 5 V0 RS Initial velocity

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

common method for reading NX/MSC TLOAD1

(7107, 71, 138, 100000001, 2, 0, 0, 100000000, 0, 0, 0, 0, # 9 100000002, 4, 0, 0, 100000000, 0, 0, 0, 0, 100000004, 6, 0, 0, 100000001, 0, 0, 0, 0, 100000005, 8, 0, 0, 100000001, 0, 0, 0, 0, 100000007, 10, 0, 0, 100000002, 0, 0, 0, 0, 100000008, 12, 0, 0, 100000002, 0, 0, 0, 0, 100000010, 14, 0, 0, 100000003, 0, 0, 0, 0, 100000011, 16, 0, 0, 100000003, 0, 0, 0, 0)

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

common method for reading NX/MSC TLOAD2

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

TSTEP(8307,83,142) - Record 38

Word Name Type Description 1 SID I Set identification number 2 N I Number of time steps of value DTi 3 DT RS Time increment 4 NO I Skip factor for output Words 2 through 4 repeat until (-1,-1,-1) occurs

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

Record - TSTEP1(17500,175,618)

Word Name Type Description 1 SID I Set identification number 2 TEND RS End time 3 NINC I Number of load increments 4 NOUT I >0, output at each NOUT; =-1, YES; =-2, END; =-3, ALL Words 2 through 4 repeat until (-1,-1,-1) occurs

property size: int