springs
Module¶
All spring properties are defined in this file. This includes:
- PELAS
- PELAST
All spring properties are SpringProperty and Property objects.
-
class
pyNastran.bdf.cards.properties.springs.
PELAS
(pid, k, ge=0.0, s=0.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.properties.springs.SpringProperty
Specifies the stiffness, damping coefficient, and stress coefficient of a scalar elastic (spring) element (CELAS1 or CELAS3 entry).
Creates a PELAS card
Parameters: - pid : int
property id
- k : float
spring stiffness
- ge : int; default=0.0
damping coefficient
- s : float; default=0.0
stress coefficient
- comment : str; default=’‘
a comment for the card
-
classmethod
add_card
(card, icard=0, comment='')[source]¶ Adds a PELAS card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- icard : int; default=0
the index of the PELAS card that’s being parsed must be 0 or 1
- comment : str; default=’‘
a comment for the card
-
ge
= None¶ Damping coefficient, . See Remarks 5. and 6. (Real) To obtain the damping coefficient GE, multiply the critical damping ratio c/c0 by 2.0.
-
k
= None¶ Ki Elastic property value. (Real)
-
pid
= None¶ Property identification number. (Integer > 0)
-
pname_fid_map
= {'GE1': 'ge', 'K1': 'k'}¶
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
s
= None¶ Stress coefficient. (Real)
-
type
= 'PELAS'¶
-
class
pyNastran.bdf.cards.properties.springs.
PELAST
(pid, tkid=0, tgeid=0, tknid=0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.properties.springs.SpringProperty
Frequency Dependent Elastic Property Defines the frequency dependent properties for a PELAS Bulk Data entry.
The PELAST entry is ignored in all solution sequences except frequency response (108) or nonlinear analyses (129).
Creates a PELAST card
Parameters: - pid : int
property id
- tkid : float
TABLEDx that defines k vs. frequency
- tgeid : int; default=0
TABLEDx that defines ge vs. frequency
- s : float; default=0.
TABLEDx that defines force vs. displacement
- comment : str; default=’‘
a comment for the card
-
Tgeid
(self)[source]¶ Returns the table ID for nondimensional structural damping coefficient vs. frequency (c/c0 vs freq)
-
Tkid
(self)[source]¶ Returns the table ID for force per unit displacement vs frequency (k=F/d vs freq)
-
classmethod
add_card
(card, comment='')[source]¶ Adds a PELAST card from
BDF.add_card(...)
Parameters: - card : BDFCard()
a BDFCard object
- comment : str; default=’‘
a comment for the card
-
cross_reference
(self, model)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
pid
= None¶ Property identification number. (Integer > 0)
-
pname_fid_map
= {'TKID': 'tknid'}¶
-
tgeid
= None¶ Identification number of a TABLEDi entry that defines the nondimensional structural damping coefficient vs. frequency relationship. (Integer > 0; Default = 0)
-
tkid
= None¶ Identification number of a TABLEDi entry that defines the force per unit displacement vs. frequency relationship. (Integer > 0; Default = 0)
-
tknid
= None¶ Identification number of a TABELDi entry that defines the nonlinear force vs. displacement relationship. (Integer > 0; Default = 0)
-
type
= 'PELAST'¶