loads Package

loads Module

Inheritance diagram of pyNastran.bdf.cards.loads.loads

All static loads are defined in this file. This includes:

  • LSEQ
  • DAREA
  • SLOAD
  • RFORCE
  • RANDPS
class pyNastran.bdf.cards.loads.loads.DAREA(card=None, nOffset=0, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.baseCard.BaseCard

Defines scale (area) factors for static and dynamic loads. In dynamic analysis, DAREA is used in conjunction with ACSRCE, RLOADi and TLOADi entries.

DAREA SID P1 C1 A1 P2 C2 A2
DAREA 3 6 2 8.2 15 1 10.1
raw_fields()[source]
type = u'DAREA'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.loads.LSEQ(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.baseCard.BaseCard

Defines a sequence of static load sets

Todo

how does this work...

Lid()[source]
LoadID(lid)[source]
Tid()[source]
cross_reference(model)[source]
getLoads()[source]
raw_fields()[source]
repr_fields()[source]
type = u'LSEQ'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.loads.Load(card, data)[source]

Bases: pyNastran.bdf.cards.baseCard.BaseCard

defines the DefaultLoad class

Cid()[source]
nodeIDs(nodes=None)[source]

returns nodeIDs for repr functions

node_ids[source]
type = u'DefLoad'
class pyNastran.bdf.cards.loads.loads.LoadCombination(card, data)[source]

Bases: pyNastran.bdf.cards.loads.loads.Load

LoadID(lid)[source]
cross_reference(model)[source]
getLoads()[source]

Note

requires a cross referenced load

loadIDs = None

individual loadIDs (corresponds to scaleFactors)

scale = None

overall scale factor

scaleFactors = None

individual scale factors (corresponds to loadIDs)

sid = None

load ID

class pyNastran.bdf.cards.loads.loads.RANDPS(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.loads.RandomLoad

Power Spectral Density Specification

Defines load set power spectral density factors for use in random analysis having the frequency dependent form:

\[S_{jk}(F) = (X+iY)G(F)\]
Tid()[source]
cross_reference(model)[source]
getLoads()[source]
j = None

Subcase identification number of the excited load set. (Integer > 0)

k = None

Subcase identification number of the applied load set. (Integer >= 0; K >= J)

raw_fields()[source]
repr_fields()[source]
sid = None

Random analysis set identification number. (Integer > 0) Defined by RANDOM in the Case Control Deck.

tid = None

Identification number of a TABRNDi entry that defines G(F).

type = u'RANDPS'
write_card(size=8, is_double=False)[source]
x = None

Components of the complex number. (Real)

class pyNastran.bdf.cards.loads.loads.RFORCE(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.loads.Load

Cid()[source]
Nid()[source]
cross_reference(model)[source]
getLoads()[source]
raw_fields()[source]
repr_fields()[source]
type = u'RFORCE'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.loads.RandomLoad(card, data)[source]

Bases: pyNastran.bdf.cards.baseCard.BaseCard

class pyNastran.bdf.cards.loads.loads.SLOAD(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.loads.Load

Static Scalar Load

Defines concentrated static loads on scalar or grid points.

Note

Can be used in statics OR dynamics.

If Si refers to a grid point, the load is applied to component T1 of the displacement coordinate system (see the CD field on the GRID entry).

Nid(node)[source]
cross_reference(model)[source]
getLoads()[source]

Todo

not done

raw_fields()[source]
repr_fields()[source]
sid = None

load ID

type = u'SLOAD'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.loads.TabularLoad(card, data)[source]

Bases: pyNastran.bdf.cards.baseCard.BaseCard

staticLoads Module

Inheritance diagram of pyNastran.bdf.cards.loads.staticLoads

All static loads are defined in this file. This includes:

  • LOAD
  • GRAV
  • ACCEL
  • ACCEL1
  • FORCE1
  • FORCE2
  • MOMENT
  • PLOAD
  • PLOAD2
  • PLOAD3
  • PLOAD4
  • PLOADX1
class pyNastran.bdf.cards.loads.staticLoads.ACCEL(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.baseCard.BaseCard

Acceleration Load

Defines static acceleration loads, which may vary over a region of the structural model. The load variation is based upon the tabular input defined on this Bulk Data entry.

1 2 3 4 5 6 7 8 9
ACCEL SID CID N1 N2 N3 DIR    
  LOC1 VAL1 LOC2 VAL2 Continues in Groups of 2
Cid()[source]
N = None

Components of the acceleration vector measured in coordinate system CID. (Real; at least one Ni != 0)

cid = None

Coordinate system identification number. (Integer>0: Default=0)

cross_reference(model)[source]
dir = None

Acceleration vector scale factor. (Real)

getLoads()[source]
raw_fields()[source]
sid = None

Load set identification number (Integer>0)

type = u'ACCEL'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.ACCEL1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.baseCard.BaseCard

Acceleration Load

Defines static acceleration loads at individual GRID points.

Cid()[source]
N = None

Components of the acceleration vector measured in coordinate system CID. (Real; at least one Ni != 0)

cid = None

Coordinate system identification number. (Integer>0: Default=0)

cross_reference(model)[source]
getLoads()[source]
nodeIDs(nodes=None)[source]

returns nodeIDs for repr functions

nodes = None

nodes to apply the acceleration to

raw_fields()[source]
scale = None

Acceleration vector scale factor. (Real)

sid = None

Load set identification number (Integer>0)

type = u'ACCEL1'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.FORCE(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.staticLoads.Force

FORCE 3 1 100. 0. 0. 1.

Cid()[source]
F()[source]
cross_reference(model)[source]

Todo

cross reference and fix repr function

raw_fields()[source]
repr_fields()[source]
type = u'FORCE'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.FORCE1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.staticLoads.Force

Defines a static concentrated force at a grid point by specification of a magnitude and two grid points that determine the direction.

G1()[source]
G2()[source]
NodeID()[source]
cross_reference(model)[source]

Todo

cross reference and fix repr function

raw_fields()[source]
repr_fields()[source]
type = u'FORCE1'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.FORCE2(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.staticLoads.Force

Defines a static concentrated force at a grid point by specification of a magnitude and four grid points that determine the direction.

FORCE2 SID G F G1 G2 G3 G4

G1()[source]
G2()[source]
G3()[source]
G4()[source]
NodeID()[source]
cross_reference(model)[source]

Todo

cross reference and fix repr function

raw_fields()[source]
repr_fields()[source]
type = u'FORCE2'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.Force(card, data)[source]

Bases: pyNastran.bdf.cards.loads.loads.Load

Generic class for all Forces

F()[source]
getLoads()[source]
getReducedLoads()[source]
normalize()[source]

adjust the vector to a unit length scale up the magnitude of the vector

organizeLoads(model)[source]
transformLoad()[source]
type = u'Force'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.GRAV(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.baseCard.BaseCard

Defines acceleration vectors for gravity or other acceleration loading.:

+------+-----+-----+------+-----+-----+------+-----+
GRAV | SID | CID | A | N1 | N2 | N3 | MB |
GRAV 1 3 32.2 0.0 0.0 -1.0  
Cid()[source]
GravityVector()[source]

returns the gravity vector in absolute coordinates

N = None

Acceleration vector components measured in coordinate system CID

cid = None

Coordinate system identification number.

cross_reference(model)[source]
getLoads()[source]
mb = None

Indicates whether the CID coordinate system is defined in the main Bulk Data Section (MB = -1) or the partitioned superelement Bulk Data Section (MB = 0). Coordinate systems referenced in the main Bulk Data Section are considered stationary with respect to the assembly basic coordinate system. See Remark 10. (Integer; Default = 0)

organizeLoads(model)[source]
raw_fields()[source]
repr_fields()[source]
scale = None

scale factor

sid = None

Set identification number

transformLoad()[source]
type = u'GRAV'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.LOAD(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.loads.LoadCombination

getLoadIDs()[source]

Note

requires a cross referenced load

getLoadTypes()[source]

Note

requires a cross referenced load

getReducedLoads()[source]

Get all load objects in a simplified form, which means all scale factors are already applied and only base objects (no LOAD cards) will be returned.

Todo

lots more object types to support

organizeLoads(model)[source]

Figures out magnitudes of the loads to be applied to the various nodes. This includes figuring out scale factors.

raw_fields()[source]
repr_fields()[source]
type = u'LOAD'
write_calculix_GRAV(gx, gy, gz)[source]
write_card(size=8, is_double=False)[source]
write_code_aster_load(model, grid_word=u'node')[source]
class pyNastran.bdf.cards.loads.staticLoads.MOMENT(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.staticLoads.Moment

Defines a static concentrated moment at a grid point by specifying a scale factor and a vector that determines the direction.:

MOMENT SID G CID M    N1  N2  N3
MOMENT 2   5   6 2.9 0.0 1.0 0.0
Cid()[source]
cross_reference(model)[source]

Todo

cross reference and fix repr function

raw_fields()[source]
repr_fields()[source]
type = u'MOMENT'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.MOMENT1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.staticLoads.Moment

Defines a static concentrated moment at a grid point by specifying a magnitude and two grid points that determine the direction.:

MOMENT1 SID G M G1 G2
G1()[source]
G2()[source]
cross_reference(model)[source]

Todo

cross reference and fix repr function

get_node_id()[source]
raw_fields()[source]
repr_fields()[source]
type = u'MOMENT1'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.MOMENT2(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.staticLoads.Moment

Defines a static concentrated moment at a grid point by specification of a magnitude and four grid points that determine the direction.:

MOMENT2 SID G M G1 G2 G3 G4
G1()[source]
G2()[source]
G3()[source]
G4()[source]
NodeID()[source]
cross_reference(model)[source]

Todo

cross reference and fix repr function

raw_fields()[source]
repr_fields()[source]
type = u'MOMENT2'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.Moment(card, data)[source]

Bases: pyNastran.bdf.cards.loads.loads.Load

Generic class for all Moments

M()[source]
getLoads()[source]
getReducedLoads()[source]
normalize()[source]

adjust the vector to a unit length scale up the magnitude of the vector

organizeLoads(model)[source]
transformLoad()[source]
type = u'Moment'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.PLOAD(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.loads.Load

cross_reference(model)[source]

Todo

cross reference and fix repr function

getLoads()[source]
raw_fields()[source]
repr_fields()[source]
type = u'PLOAD'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.PLOAD1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.loads.Load

Eid()[source]
cross_reference(model)[source]

Todo

cross reference and fix repr function

getLoads()[source]
getReducedLoads()[source]

Get all load objects in a simplified form, which means all scale factors are already applied and only base objects (no LOAD cards) will be returned.

Todo

lots more object types to support

organizeLoads(model)[source]

Figures out magnitudes of the loads to be applied to the various nodes. This includes figuring out scale factors.

raw_fields()[source]
repr_fields()[source]
transformLoad()[source]
type = u'PLOAD1'
validScales = [u'LE', u'FR', u'LEPR', u'FRPR']
validTypes = [u'FX', u'FY', u'FZ', u'FXE', u'FYE', u'FZE', u'MX', u'MY', u'MZ', u'MXE', u'MYE', u'MZE']
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.PLOAD2(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.loads.Load

cross_reference(model)[source]

Todo

cross reference and fix repr function

getLoads()[source]
raw_fields()[source]
repr_fields()[source]
type = u'PLOAD2'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.PLOAD4(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.loads.Load

Cid()[source]
Eid(eid)[source]
cid = None

Coordinate system identification number. See Remark 2. (Integer >= 0;Default=0)

cross_reference(model)[source]
eids = None

used for CPENTA, CHEXA

g1 = None

used for solid element only

g34 = None

g3/g4 - different depending on CHEXA/CPENTA or CTETRA

getElementIDs(eid=None)[source]
getLoads()[source]
nodeIDs(nodes=None)[source]
raw_fields()[source]
repr_fields()[source]
transformLoad()[source]

Warning

sorl=SURF is supported (not LINE)

Warning

ldir=NORM is supported (not X,Y,Z)

type = u'PLOAD4'
write_card(size=8, is_double=False)[source]
class pyNastran.bdf.cards.loads.staticLoads.PLOADX1(card=None, data=None, comment=u'')[source]

Bases: pyNastran.bdf.cards.loads.loads.Load

cross_reference(model)[source]
getLoads()[source]
raw_fields()[source]
repr_fields()[source]
type = u'PLOADX1'
write_card(size=8, is_double=False)[source]