dloads
Module
digraph inheritance29dd46f942 {
bgcolor=transparent;
rankdir=LR;
size="";
"pyNastran.bdf.cards.base_card.BaseCard" [URL="../pyNastran.bdf.cards.base_card.html#pyNastran.bdf.cards.base_card.BaseCard",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 a series of base methods for every card class"];
"pyNastran.bdf.cards.loads.dloads.ACSRCE" [URL="#pyNastran.bdf.cards.loads.dloads.ACSRCE",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 acoustic source as a function of power vs. frequency."];
"pyNastran.bdf.cards.base_card.BaseCard" -> "pyNastran.bdf.cards.loads.dloads.ACSRCE" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.loads.dloads.DLOAD" [URL="#pyNastran.bdf.cards.loads.dloads.DLOAD",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="+-------+-----+----+------+----+----+----+----+----+"];
"pyNastran.bdf.cards.loads.loads.LoadCombination" -> "pyNastran.bdf.cards.loads.dloads.DLOAD" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.loads.dloads.RLOAD1" [URL="#pyNastran.bdf.cards.loads.dloads.RLOAD1",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 a frequency-dependent dynamic load of the form"];
"pyNastran.bdf.cards.loads.loads.DynamicLoad" -> "pyNastran.bdf.cards.loads.dloads.RLOAD1" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.loads.dloads.RLOAD2" [URL="#pyNastran.bdf.cards.loads.dloads.RLOAD2",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 a frequency-dependent dynamic load of the form"];
"pyNastran.bdf.cards.loads.loads.DynamicLoad" -> "pyNastran.bdf.cards.loads.dloads.RLOAD2" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.loads.dloads.TLOAD1" [URL="#pyNastran.bdf.cards.loads.dloads.TLOAD1",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="Transient Response Dynamic Excitation, Form 1"];
"pyNastran.bdf.cards.loads.loads.DynamicLoad" -> "pyNastran.bdf.cards.loads.dloads.TLOAD1" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.loads.dloads.TLOAD2" [URL="#pyNastran.bdf.cards.loads.dloads.TLOAD2",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="Transient Response Dynamic Excitation, Form 1"];
"pyNastran.bdf.cards.loads.loads.DynamicLoad" -> "pyNastran.bdf.cards.loads.dloads.TLOAD2" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.loads.loads.DynamicLoad" [URL="pyNastran.bdf.cards.loads.loads.html#pyNastran.bdf.cards.loads.loads.DynamicLoad",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"];
"pyNastran.bdf.cards.base_card.BaseCard" -> "pyNastran.bdf.cards.loads.loads.DynamicLoad" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.loads.loads.LoadCombination" [URL="pyNastran.bdf.cards.loads.loads.html#pyNastran.bdf.cards.loads.loads.LoadCombination",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="Common method for LOAD, DLOAD"];
"pyNastran.bdf.cards.base_card.BaseCard" -> "pyNastran.bdf.cards.loads.loads.LoadCombination" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
All dynamic loads are defined in this file. This includes:
ACSRCE
DLOAD
TLOAD1
TLOAD2
RLOAD1
RLOAD2
- class pyNastran.bdf.cards.loads.dloads.ACSRCE(sid: int, excite_id: int, rho: float, b: float, delay: int | float = 0, dphase: int | float = 0, power: int | float = 0, comment='')[source]
Bases:
BaseCard
Defines acoustic source as a function of power vs. frequency.
1
2
3
4
5
6
7
8
ACSRCE
SID
EXCITEID
DELAYI/DELAYR
DPHASEI/DPHASER
TP/RP
RHO
B
- ..math ::
C = sqrt(B ⁄ ρ) Source Strength = {A} * 1/(2πf) * sqrt( 8πC P(f) / ρ) ^ (ei(θ + 2πfτ))
Creates an ACSRCE card
- Parameters:
- sidint
load set id number (referenced by DLOAD)
- excite_idint
Identification number of a DAREA or SLOAD entry that lists each degree of freedom to apply the excitation and the corresponding scale factor, A, for the excitation
- rhofloat
Density of the fluid
- bfloat
Bulk modulus of the fluid
- delayint; default=0
Time delay, τ.
- dphaseint / float; default=0
the dphase; if it’s 0/blank there is no phase lag float : delay in units of time int : delay id
- powerint; default=0
Power as a function of frequency, P(f). float : value of P(f) used over all frequencies for all
degrees of freedom in EXCITEID entry.
- intTABLEDi entry that defines P(f) for all degrees of
freedom in EXCITEID entry.
- commentstr; default=’’
a comment for the card
- classmethod add_card(card: BDFCard, comment: str = '')[source]
Adds a ACSRCE 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
- get_load_at_freq(freq: float) float [source]
- ..math ::
C = sqrt(B ⁄ ρ) Source_strength = {A} * 1/(2πf) * sqrt( 8πC P(f) / ρ) ^ (ei(θ + 2πfτ))
- repr_fields()[source]
Gets the fields in their simplified form
- Returns:
- fieldslist[varies]
the fields that define the card
- type = 'ACSRCE'
- class pyNastran.bdf.cards.loads.dloads.DLOAD(sid, scale, scale_factors, load_ids, comment='')[source]
Bases:
LoadCombination
1
2
3
4
5
6
7
8
9
DLOAD
SID
S
S1
L1
S2
L2
S3
L3
S4
L4
etc.
Creates a DLOAD card
- Parameters:
- sidint
Load set identification number. See Remarks 1. and 4. (Integer > 0)
- scalefloat
Scale factor. See Remarks 2. and 8. (Real)
- Silist[float]
Scale factors. See Remarks 2., 7. and 8. (Real)
- load_idslist[int]
Load set identification numbers of RLOAD1, RLOAD2, TLOAD1, TLOAD2, and ACSRCE entries. See Remarks 3 and 7. (Integer > 0)
- 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
- type = 'DLOAD'
- class pyNastran.bdf.cards.loads.dloads.RLOAD1(sid, excite_id, delay=0, dphase=0, tc=0, td=0, Type='LOAD', comment='')[source]
Bases:
DynamicLoad
Defines a frequency-dependent dynamic load of the form for use in frequency response problems.
\[\left\{ P(f) \right\} = \left\{A\right\} [ C(f)+iD(f)] e^{ i \left\{\theta - 2 \pi f \tau \right\} }\]1
2
3
4
5
6
7
8
RLOAD1
SID
EXCITEID
DELAY
DPHASE
TC
TD
TYPE
RLOAD1
5
3
1
NX allows DELAY and DPHASE to be floats
Creates an RLOAD1 card, which defines a frequency-dependent load based on TABLEDs.
- Parameters:
- sidint
load id
- excite_idint
node id where the load is applied
- delayint/float; default=None
the delay; if it’s 0/blank there is no delay float : delay in units of time int : delay id
- dphaseint/float; default=None
the dphase; if it’s 0/blank there is no phase lag float : delay in units of time int : delay id
- tcint/float; default=0
TABLEDi id that defines C(f) for all degrees of freedom in EXCITEID entry
- tdint/float; default=0
TABLEDi id that defines D(f) for all degrees of freedom in EXCITEID entry
- Typeint/str; default=’LOAD’
the type of load 0/LOAD 1/DISP 2/VELO 3/ACCE 4, 5, 6, 7, 12, 13 - MSC only
- commentstr; default=’’
a comment for the card
- _properties = ['delay_id', 'dphase_id']
- classmethod add_card(card, comment='')[source]
Adds a RLOAD1 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
- property delay_id
- property dphase_id
- repr_fields()[source]
Gets the fields in their simplified form
- Returns:
- fieldslist[varies]
the fields that define the card
- type = 'RLOAD1'
- class pyNastran.bdf.cards.loads.dloads.RLOAD2(sid, excite_id, delay=0, dphase=0, tb=0, tp=0, Type='LOAD', comment='')[source]
Bases:
DynamicLoad
Defines a frequency-dependent dynamic load of the form for use in frequency response problems.
\[\left\{ P(f) \right\} = \left\{A\right\} * B(f) e^{ i \left\{ \phi(f) + \theta - 2 \pi f \tau \right\} }\]1
2
3
4
5
6
7
8
RLOAD2
SID
EXCITEID
DELAY
DPHASE
TB
TP
TYPE
RLOAD2
5
3
1
NX allows DELAY and DPHASE to be floats
Creates an RLOAD2 card, which defines a frequency-dependent load based on TABLEDs.
- Parameters:
- sidint
load id
- excite_idint
node id where the load is applied
- delayint/float; default=None
the delay; if it’s 0/blank there is no delay float : delay in units of time int : delay id
- dphaseint/float; default=None
the dphase; if it’s 0/blank there is no phase lag float : dphase in units of degrees int : dphase id
- tbint/float; default=0
TABLEDi id that defines B(f) for all degrees of freedom in EXCITEID entry
- tpint/float; default=0
TABLEDi id that defines phi(f) for all degrees of freedom in EXCITEID entry
- Typeint/str; default=’LOAD’
the type of load 0/LOAD 1/DISP 2/VELO 3/ACCE 4, 5, 6, 7, 12, 13 - MSC only
- commentstr; default=’’
a comment for the card
- _properties = ['delay_id', 'dphase_id']
- classmethod add_card(card, comment='')[source]
Adds a RLOAD2 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
- property delay_id
- property dphase_id
- repr_fields()[source]
Gets the fields in their simplified form
- Returns:
- fieldslist[varies]
the fields that define the card
- type = 'RLOAD2'
- class pyNastran.bdf.cards.loads.dloads.TLOAD1(sid: int, excite_id: int, tid: int | float, delay: int | float = 0, Type: str = 'LOAD', us0: float = 0.0, vs0: float = 0.0, comment: str = '')[source]
Bases:
DynamicLoad
Transient Response Dynamic Excitation, Form 1
Defines a time-dependent dynamic load or enforced motion of the form:
\[\left\{ P(t) \right\} = \left\{ A \right\} \cdot F(t-\tau)\]for use in transient response analysis.
MSC 20005.2 +——–+—–+———-+——-+——+—–+—–+—–+ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | +========+=====+==========+=======+======+=====+=====+=====+ | TLOAD1 | SID | EXCITEID | DELAY | TYPE | TID | US0 | VS0 | +——–+—–+———-+——-+——+—–+—–+—–+
NX 11 +——–+—–+———-+——-+——+—–+ | 1 | 2 | 3 | 4 | 5 | 6 | +========+=====+==========+=======+======+=====+ | TLOAD1 | SID | EXCITEID | DELAY | TYPE | TID | +——–+—–+———-+——-+——+—–+
Creates a TLOAD1 card, which defines a time-dependent load based on a DTABLE.
- Parameters:
- sidint
load id
- excite_idint
node id where the load is applied
- tidint / float
TABLEDi id that defines F(t) for all degrees of freedom in EXCITEID entry
- delayint/float; default=None
the delay; if it’s 0/blank there is no delay float : delay in units of time int : delay id
- Typeint/str; default=’LOAD’
the type of load 0/LOAD 1/DISP 2/VELO 3/ACCE 4, 5, 6, 7, 12, 13 - MSC only
- us0float; default=0.
Factor for initial displacements of the enforced degrees-of-freedom MSC only
- vs0float; default=0.
Factor for initial velocities of the enforced degrees-of-freedom MSC only
- commentstr; default=’’
a comment for the card
- Type
Defines the type of the dynamic excitation. (LOAD,DISP, VELO, ACCE)
- _properties = ['delay_id']
- classmethod add_card(card, comment='')[source]
Adds a TLOAD1 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
- delay
If it is a non-zero integer, it represents the identification number of DELAY Bulk Data entry that defines . If it is real, then it directly defines the value of that will be used for all degrees-of-freedom that are excited by this dynamic load entry. See also Remark 9. (Integer >= 0, real or blank)
- property delay_id: int | float
- excite_id
Identification number of DAREA or SPCD entry set or a thermal load set (in heat transfer analysis) that defines {A}. (Integer > 0)
- repr_fields()[source]
Gets the fields in their simplified form
- Returns:
- fieldslist[varies]
the fields that define the card
- sid
load ID
- tid
Identification number of TABLEDi entry that gives F(t). (Integer > 0)
- type = 'TLOAD1'
- us0
Factor for initial displacements of the enforced degrees-of-freedom. (Real; Default = 0.0)
- vs0
Factor for initial velocities of the enforced degrees-of-freedom. (Real; Default = 0.0)
- class pyNastran.bdf.cards.loads.dloads.TLOAD2(sid: int, excite_id: int, delay: int | float = 0, Type: str = 'LOAD', T1: float = 0.0, T2: float | None = None, frequency: float = 0.0, phase: int | float = 0.0, c: float = 0.0, b: float = 0.0, us0: float = 0.0, vs0: float = 0.0, comment: str = '')[source]
Bases:
DynamicLoad
Transient Response Dynamic Excitation, Form 1
Defines a time-dependent dynamic load or enforced motion of the form:
\[\]left{ P(t) right} = left{ A right} e^(C*t) cos(2 pi f t + phi)
P(t) = 0 (t<T1+tau or t > T2+tau) P(t) = {A} * t^b * e^(C*t) * cos(2*pi*f*t + phase) (T1+tau <= t <= T2+tau)
for use in transient response analysis.
MSC 2016.1 +——–+—–+———-+——-+——+—–+—–+——–+———+ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | +========+=====+==========+=======+======+=====+=====+========+=========+ | TLOAD2 | SID | EXCITEID | DELAY | TYPE | T1 | T2 | FREQ | PHASE | +——–+—–+———-+——-+——+—–+—–+——–+———+ | | C | B | US0 | VS0 | | | | | +——–+—–+———-+——-+——+—–+—–+——–+———+
NX 11 +——–+—–+———-+——-+——+—–+—–+——–+———+ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | +========+=====+==========+=======+======+=====+=====+========+=========+ | TLOAD2 | SID | EXCITEID | DELAY | TYPE | T1 | T2 | FREQ | PHASE | +——–+—–+———-+——-+——+—–+—–+——–+———+ | | C | B | | | | | | | +——–+—–+———-+——-+——+—–+—–+——–+———+
Creates a TLOAD2 card, which defines a exponential time dependent load based on constants.
- Parameters:
- sidint
load id
- excite_idint
node id where the load is applied
- delayint/float; default=None
the delay; if it’s 0/blank there is no delay float : delay in units of time int : delay id
- Typeint/str; default=’LOAD’
the type of load 0/LOAD 1/DISP 2/VELO 3/ACCE 4, 5, 6, 7, 12, 13 - MSC only
- T1float; default=0.
time constant (t1 > 0.0) times below this are ignored
- T2float; default=None
time constant (t2 > t1) times above this are ignored
- frequencyfloat; default=0.
Frequency in cycles per unit time.
- phasefloat; default=0.
Phase angle in degrees.
- cfloat; default=0.
Exponential coefficient.
- bfloat; default=0.
Growth coefficient.
- us0float; default=0.
Factor for initial displacements of the enforced degrees-of-freedom MSC only
- vs0float; default=0.
Factor for initial velocities of the enforced degrees-of-freedom MSC only
- commentstr; default=’’
a comment for the card
- T1
Time constant. (Real >= 0.0)
- T2
Time constant. (Real; T2 > T1)
- Type
Defines the type of the dynamic excitation. (Integer; character or blank; Default = 0)
- _properties = ['delay_id']
- classmethod add_card(card, comment='')[source]
Adds a TLOAD2 card from
BDF.add_card(...)
- Parameters:
- cardBDFCard()
a BDFCard object
- commentstr; default=’’
a comment for the card
- b
Growth coefficient. (Real; Default = 0.0)
- c
Exponential coefficient. (Real; Default = 0.0)
- cross_reference(model: BDF) None [source]
Cross links the card so referenced cards can be extracted directly
- Parameters:
- modelBDF()
the BDF object
- property delay_id: int | float
- property dphase_id: int | float
- frequency
Frequency in cycles per unit time. (Real >= 0.0; Default = 0.0)
- phase
Phase angle in degrees. (Real; Default = 0.0)
- repr_fields()[source]
Gets the fields in their simplified form
- Returns:
- fieldslist[varies]
the fields that define the card
- sid
load ID SID must be unique for all TLOAD1, TLOAD2, RLOAD1, RLOAD2, and ACSRCE entries.
- type = 'TLOAD2'
- us0
Factor for initial displacements of the enforced degrees-of-freedom. (Real; Default = 0.0)
- vs0
Factor for initial velocities of the enforced degrees-of-freedom (Real; Default = 0.0)
- pyNastran.bdf.cards.loads.dloads._cross_reference_excite_id(self, model, msg)[source]
not quite done…not sure how to handle the very odd xref
EXCITEID may refer to one or more static load entries (FORCE, PLOADi, GRAV, etc.).
- pyNastran.bdf.cards.loads.dloads._cross_reference_excite_id_backup(self, model, msg)[source]
not quite done…not sure how to handle the very odd xref
EXCITEID may refer to one or more static load entries (FORCE, PLOADi, GRAV, etc.).
- pyNastran.bdf.cards.loads.dloads.fix_loadtype_tload1(load_type: int | str) str [source]
4 FLOW boundary condition on the face of an Eulerian solid element (SOL 700 only). 5 Displacement of SPH elements before activation by a FLOWSPH
boundary condition (SOL 700 only).
- 6 Velocity of SPH elements before activation by a FLOWSPH
boundary condition (SOL 700 only).
- 7 Acceleration of SPH elements before activation by a FLOWSPH
boundary condition (SOL 700 only)
12 Velocity of the center of gravity of a rigid body (SOL 700 only) 13 Force or moment on the center of gravity of a rigid body (SOL 700 only).