bush
Module¶
All bush elements are defined in this file. This includes:
CBUSH
CBUSH1D
CBUSH2D
All bush elements are BushElement and Element objects.
-
class
pyNastran.bdf.cards.elements.bush.
BushElement
[source]¶ Bases:
pyNastran.bdf.cards.base_card.Element
dummy init
-
class
pyNastran.bdf.cards.elements.bush.
CBUSH
(eid, pid, nids, x, g0, cid=None, s=0.5, ocid=-1, si=None, comment='')[source]¶ Bases:
pyNastran.bdf.cards.elements.bush.BushElement
Generalized Spring-and-Damper Connection
Defines a generalized spring-and-damper structural element that may be nonlinear or frequency dependent.
1
2
3
4
5
6
7
8
9
CBUSH
EID
PID
GA
GB
GO/X1
X2
X3
CID
S
OCID
S1
S2
S3
Creates a CBUSH card
- Parameters
- eidint
Element id
- pidint
Property id (PBUSH)
- nidsList[int, int]
node ids; connected grid points at ends A and B The nodes may be coincident, but then cid is required.
- xList[float, float, float]; None
- Listthe directional vector used to define the stiffnesses
or damping from the PBUSH card
None : use g0
- g0int/None
- intthe directional vector used to define the stiffnesses
or damping from the PBUSH card
None : use x
- cidint; default=None
Element coordinate system identification. A 0 means the basic coordinate system. If CID is blank, then the element coordinate system is determined from GO or Xi.
- s: float; default=0.5
Location of spring damper (0 <= s <= 1.0)
- ocidint; default=-1
Coordinate system identification of spring-damper offset. (Integer > -1; Default = -1, which means the offset point lies on the line between GA and GB)
- siList[float, float, float]; default=None
Components of spring-damper offset in the OCID coordinate system if OCID > 0. None : [None, None, None]
- commentstr; default=’’
a comment for the card
-
_properties
= ['_field_map']¶
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CBUSH 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
node_ids
¶
-
repr_fields
()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[varies]
the fields that define the card
-
safe_cross_reference
(model: BDF, xref_errors)[source]¶ Cross links the card so referenced cards can be extracted directly
- Parameters
- modelBDF()
the BDF object
-
type
= 'CBUSH'¶
-
class
pyNastran.bdf.cards.elements.bush.
CBUSH1D
(eid, pid, nids, cid=None, comment='')[source]¶ Bases:
pyNastran.bdf.cards.elements.bush.BushElement
dummy init
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CBUSH1D 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
node_ids
¶
-
property
nodes
¶
-
property
nodes_ref
¶
-
safe_cross_reference
(model: BDF, xref_errors)[source]¶ Cross links the card so referenced cards can be extracted directly
- Parameters
- modelBDF()
the BDF object
-
type
= 'CBUSH1D'¶
-
classmethod
-
class
pyNastran.bdf.cards.elements.bush.
CBUSH2D
(eid, pid, nids, cid=0, plane='XY', sptid=None, comment='')[source]¶ Bases:
pyNastran.bdf.cards.elements.bush.BushElement
2-D Linear-Nonlinear Connection Defines the connectivity of a two-dimensional Linear-Nonlinear element.
dummy init
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CBUSH2D 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
-
classmethod
export_to_hdf5
(h5_file, model, eids, encoding='ascii')[source]¶ exports the elements in a vectorized way
-
property
node_ids
¶
-
property
nodes
¶
-
safe_cross_reference
(model: BDF, xref_errors)[source]¶ Cross links the card so referenced cards can be extracted directly
- Parameters
- modelBDF()
the BDF object
-
type
= 'CBUSH2D'¶
-
classmethod