random_loads Module¶

All static loads are defined in this file. This includes:
LSEQ
DAREA
SLOAD
RFORCE
RANDPS
-
class
pyNastran.bdf.cards.loads.random_loads.RANDPS(sid, j, k, x=0.0, y=0.0, tid=0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.loads.random_loads.RandomLoadPower 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)\]Creates a RANDPS card
- Parameters
- sidint
random analysis set id defined by RANDOM in the case control deck
- jint
Subcase id of the excited load set
- kint
Subcase id of the applied load set k > j
- x / yfloat; default=0.0
Components of the complex number
- tidint; default=0
TABRNDi id that defines G(F)
- commentstr; default=’’
a comment for the card
-
classmethod
add_card(card, comment='')[source]¶ Adds a RANDPS card from
BDF.add_card(...)- Parameters
- cardBDFCard()
a BDFCard object
- commentstr; default=’’
a comment for the card
-
cross_reference(model: BDF) → None[source]¶ Cross links the card so referenced cards can be extracted directly
- Parameters
- modelBDF()
the BDF object
-
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)
-
repr_fields()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[varies]
the fields that define the card
-
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= 'RANDPS'¶
-
write_card(size: int = 8, is_double: bool = False) → str[source]¶ Writes the card with the specified width and precision
- Parameters
- sizeint (default=8)
size of the field; {8, 16}
- is_doublebool (default=False)
is this card double precision
- Returns
- msgstr
the string representation of the card
-
x= None¶ Components of the complex number. (Real)
-
class
pyNastran.bdf.cards.loads.random_loads.RANDT1(sid: int, n: int, t0: int, tmax: float, comment: str = '')[source]¶ Bases:
pyNastran.bdf.cards.loads.random_loads.RandomLoadCreates a RANDT1 card
- Parameters
- sidint
random analysis set id defined by RANDOM in the case control deck
- nint
???
- t0int
???
- tmaxfloat
???
- commentstr; default=’’
a comment for the card
-
classmethod
add_card(card, comment='')[source]¶ Adds a RANDT1 card from
BDF.add_card(...)- Parameters
- cardBDFCard()
a BDFCard object
- commentstr; default=’’
a comment for the card
-
cross_reference(model: BDF) → None[source]¶ Cross links the card so referenced cards can be extracted directly
- Parameters
- modelBDF()
the BDF object
-
repr_fields()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[varies]
the fields that define the card
-
sid= None¶ Random analysis set identification number. (Integer > 0) Defined by RANDOM in the Case Control Deck.
-
type= 'RANDT1'¶