axisymmetric_shells
Module¶
- All axisymmetric shell elements are defined in this file. This includes:
- CTRAX3
- CTRAX6
- CTRIAX
- CTRIAX6
- CQUADX
- CQUADX4
- CQUADX8
All tris are TriShell, ShellElement, and Element objects. All quads are QuadShell, ShellElement, and Element objects.
-
class
pyNastran.bdf.cards.elements.axisymmetric_shells.
CTRAX3
(eid, pid, nids, theta=0.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.elements.axisymmetric_shells.AxisymmetricTri
1 2 3 4 5 6 7 CTRAX3 EID PID N1 N2 N3 THETA CTRAX3 is NX only!
-
Area
(self)[source]¶ Get the area, \(A\).
\[A = \frac{1}{2} \lvert (n_1-n_2) \times (n_1-n_3) \rvert\]
-
AreaCentroidNormal
(self)[source]¶ Returns area, centroid, normal as it’s more efficient to do them together
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CTRAX3 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
-
eid
= None¶ Element ID
-
node_ids
¶
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
safe_cross_reference
(self, model, xref_errors)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
type
= 'CTRAX3'¶
-
-
class
pyNastran.bdf.cards.elements.axisymmetric_shells.
CTRAX6
(eid, pid, nids, theta=0.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.elements.axisymmetric_shells.AxisymmetricTri
1 2 3 4 5 6 7 8 9 CTRAX6 EID PID N1 N2 N3 N4 N5 N6 THETA Theta/Mcid is NX only!
-
Area
(self)[source]¶ Get the area, \(A\).
\[A = \frac{1}{2} \lvert (n_1-n_2) \times (n_1-n_3) \rvert\]
-
AreaCentroidNormal
(self)[source]¶ Returns area, centroid, normal as it’s more efficient to do them together
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CTRAX6 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
-
eid
= None¶ Element ID
-
node_ids
¶
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
safe_cross_reference
(self, model, xref_errors)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
type
= 'CTRAX6'¶
-
-
class
pyNastran.bdf.cards.elements.axisymmetric_shells.
CTRIAX
(eid, pid, nids, theta_mcid=0.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.elements.axisymmetric_shells.AxisymmetricTri
1 2 3 4 5 6 7 8 9 CTRIAX EID PID N1 N2 N3 N4 N5 N6 THETA/MCID Theta/Mcid is MSC only!
-
Area
(self)[source]¶ Get the area, \(A\).
\[A = \frac{1}{2} \lvert (n_1-n_2) \times (n_1-n_3) \rvert\]
-
AreaCentroidNormal
(self)[source]¶ Returns area, centroid, normal as it’s more efficient to do them together
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CTRIAX 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
-
eid
= None¶ Element ID
-
node_ids
¶
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
safe_cross_reference
(self, model, xref_errors)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
type
= 'CTRIAX'¶
-
-
class
pyNastran.bdf.cards.elements.axisymmetric_shells.
CTRIAX6
(eid, mid, nids, theta=0.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.elements.shell.TriShell
1 2 3 4 | 5 6 7 8 9 CTRIAX6 EID MID N1 | N2 N3 G4 G5 G6 THETA NX/MSC : Nodes are defined in a non-standard way:
5 / 6 4 / 1----2----3
-
Area
(self)[source]¶ Get the normal vector.
\[A = \frac{1}{2} \lvert (n_1-n_3) \times (n_1-n_5) \rvert\]
-
AreaCentroidNormal
(self)[source]¶ Returns area, centroid, normal as it’s more efficient to do them together
-
Normal
(self)[source]¶ Get the normal vector, \(n\).
5/
6 4
/
1—-2—-3
\[n = \frac{(n_0-n_1) \times (n_0-n_2)} {\lvert (n_0-n_1) \times (n_0-n_2) \lvert}\]
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CTRIAX6 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
-
eid
= None¶ Element ID
-
node_ids
¶ - 5
/ 6 4
/ 1—-2—-3
-
pid
= -53¶
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
safe_cross_reference
(self, model, xref_errors)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
theta
= None¶ theta
-
type
= 'CTRIAX6'¶
-
-
class
pyNastran.bdf.cards.elements.axisymmetric_shells.
CQUADX
(eid, pid, nids, theta_mcid=0.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.elements.axisymmetric_shells.AxisymmetricQuad
Defines an axisymmetric quadrilateral element with up to nine grid points for use in fully nonlinear (i.e., large strain and large rotations) analysis or a linear harmonic or rotordynamic analysis. The element has between four and eight grid points
1 2 3 4 5 6 7 8 9 CQUADX EID PID N1 N2 N3 N4 G5 G6 G7 G8 G9 THETA/MCID Theta/Mcid is MSC only!
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CQUADX 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
-
eid
= None¶ Element ID
-
node_ids
¶
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
safe_cross_reference
(self, model, xref_errors)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
type
= 'CQUADX'¶
-
classmethod
-
class
pyNastran.bdf.cards.elements.axisymmetric_shells.
CQUADX4
(eid, pid, nids, theta=0.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.elements.axisymmetric_shells.AxisymmetricQuad
Defines an isoparametric and axisymmetric quadrilateral cross-section ring element for use in linear and fully nonlinear (i.e., large strain and large rotations) hyperelastic analysis.
1 2 3 4 5 6 7 8 CQUADX4 EID PID N1 N2 N3 N4 THETA CQUADX4 is an NX card only!
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CQUADX4 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
-
eid
= None¶ Element ID
-
node_ids
¶
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
safe_cross_reference
(self, model, xref_errors)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
type
= 'CQUADX4'¶
-
classmethod
-
class
pyNastran.bdf.cards.elements.axisymmetric_shells.
CQUADX8
(eid, pid, nids, theta=0.0, comment='')[source]¶ Bases:
pyNastran.bdf.cards.elements.axisymmetric_shells.AxisymmetricQuad
Defines an isoparametric and axisymmetric quadrilateral cross-section ring element with midside nodes for use in linear and fully nonlinear (i.e., large strain and large rotations) hyperelastic analysis.
1 2 3 4 5 6 7 8 9 CQUADX8 EID PID N1 N2 N3 N4 G5 G6 G7 G8 THETA CQUADX8 is an NX card only!
-
classmethod
add_card
(card, comment='')[source]¶ Adds a CQUADX8 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
-
eid
= None¶ Element ID
-
node_ids
¶
-
repr_fields
(self)[source]¶ Gets the fields in their simplified form
Returns: - fields : List[varies]
the fields that define the card
-
safe_cross_reference
(self, model, xref_errors)[source]¶ Cross links the card so referenced cards can be extracted directly
Parameters: - model : BDF()
the BDF object
-
type
= 'CQUADX8'¶
-
classmethod