rigid
Module
digraph inheritance196d8a2d04 {
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.base_card.Element" [URL="../pyNastran.bdf.cards.base_card.html#pyNastran.bdf.cards.base_card.Element",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 the Element class"];
"pyNastran.bdf.cards.base_card.BaseCard" -> "pyNastran.bdf.cards.base_card.Element" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.elements.rigid.RBAR" [URL="#pyNastran.bdf.cards.elements.rigid.RBAR",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 rigid bar with six degrees-of-freedom at each end."];
"pyNastran.bdf.cards.elements.rigid.RigidElement" -> "pyNastran.bdf.cards.elements.rigid.RBAR" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.elements.rigid.RBAR1" [URL="#pyNastran.bdf.cards.elements.rigid.RBAR1",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.elements.rigid.RigidElement" -> "pyNastran.bdf.cards.elements.rigid.RBAR1" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.elements.rigid.RBE1" [URL="#pyNastran.bdf.cards.elements.rigid.RBE1",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.elements.rigid.RigidElement" -> "pyNastran.bdf.cards.elements.rigid.RBE1" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.elements.rigid.RBE2" [URL="#pyNastran.bdf.cards.elements.rigid.RBE2",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.elements.rigid.RigidElement" -> "pyNastran.bdf.cards.elements.rigid.RBE2" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.elements.rigid.RBE3" [URL="#pyNastran.bdf.cards.elements.rigid.RBE3",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.elements.rigid.RigidElement" -> "pyNastran.bdf.cards.elements.rigid.RBE3" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.elements.rigid.RROD" [URL="#pyNastran.bdf.cards.elements.rigid.RROD",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="Rigid Pin-Ended Element Connection"];
"pyNastran.bdf.cards.elements.rigid.RigidElement" -> "pyNastran.bdf.cards.elements.rigid.RROD" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.elements.rigid.RSPLINE" [URL="#pyNastran.bdf.cards.elements.rigid.RSPLINE",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.elements.rigid.RigidElement" -> "pyNastran.bdf.cards.elements.rigid.RSPLINE" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.elements.rigid.RSSCON" [URL="#pyNastran.bdf.cards.elements.rigid.RSSCON",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.elements.rigid.RigidElement" -> "pyNastran.bdf.cards.elements.rigid.RSSCON" [arrowsize=0.5,style="setlinewidth(0.5)"];
"pyNastran.bdf.cards.elements.rigid.RigidElement" [URL="#pyNastran.bdf.cards.elements.rigid.RigidElement",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.Element" -> "pyNastran.bdf.cards.elements.rigid.RigidElement" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
All rigid elements are defined in this file. This includes:
RBAR
RBAR1
RBE1
RBE2
RBE3
RSPLINE
RSSCON
All rigid elements are RigidElement and Element objects.
- class pyNastran.bdf.cards.elements.rigid.RBAR(eid: int, nids: list[int], cna: str, cnb: str, cma: str, cmb: str, alpha: float = 0.0, tref: float = 0.0, comment='')[source]
Bases:
RigidElement
Defines a rigid bar with six degrees-of-freedom at each end.
1
2
3
4
5
6
7
8
9
RBAR
EID
GA
GB
CNA
CNB
CMA
CMB
ALPHA
RBAR
5
1
2
123456
6.5-6
TREF was added in MSC 2021
Creates a RBAR element
- Parameters:
- eidint
element id
- nidslist[int, int]
node ids; connected grid points at ends A and B
- cna / cnbstr
independent DOFs in ‘123456’
- cma / cmbstr
dependent DOFs in ‘123456’
- alphafloat; default=0.0
coefficient of thermal expansion
- commentstr; default=’’
a comment for the card
- _properties = ['dependent_nodes', 'independent_nodes', 'nodes']
- classmethod add_card(card: BDFCard, comment: str = '')[source]
Adds a RBAR 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 dependent_nodes: list[int]
gets the dependent node ids
- property independent_nodes: list[int]
gets the independent node ids
- property nodes: list[int]
- 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 = 'RBAR'
- class pyNastran.bdf.cards.elements.rigid.RBAR1(eid: int, nids: list[int], cb: str | None, alpha: float = 0.0, comment: str = '')[source]
Bases:
RigidElement
1
2
3
4
5
6
RBAR1
EID
GA
GB
CB
ALPHA
RBAR1
5
1
2
123
6.5-6
dummy init
- _properties = ['dependent_nodes', 'independent_nodes', 'nodes']
- classmethod add_card(card: BDFCard, comment: str = '')[source]
Adds a RBAR1 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 dependent_nodes: list[int]
gets the dependent node ids
- property independent_nodes: list[int]
gets the independent 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 = 'RBAR1'
- class pyNastran.bdf.cards.elements.rigid.RBE1(eid: int, Gni: list[int], Cni: list[str], Gmi: list[int], Cmi: list[str], alpha: float = 0.0, comment: str = '')[source]
Bases:
RigidElement
1
2
3
4
5
6
7
8
RBE1
EID
GN1
CN1
GN2
CN2
GN3
CN3
GN4
CN4
GN5
CN5
GN6
CN6
UM
GM1
CM1
GM2
CM2
GM3
CM3
GM4
CM4
etc
ALPHA
RBE1
59
59
123
60
456
UM
61
246
Creates an RBE1 element
- Parameters:
- eidint
element id
- Gnilist[int]
independent node ids
- Cnilist[str]
the independent components (e.g., ‘123456’)
- Gmilist[int]
dependent node ids
- Cmilist[str]
the dependent components (e.g., ‘123456’)
- alphafloat; default=0.
thermal expansion coefficient
- commentstr; default=’’
a comment for the card
- property Gmi_node_ids: list[int]
- property Gni_node_ids: list[int]
- _properties = ['Gmi_node_ids', 'Gni_node_ids', 'dependent_nodes', 'independent_nodes']
- classmethod add_card(card: BDFCard, comment: str = '')[source]
Adds a RBE1 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 dependent_nodes: list[int]
gets the dependent node ids
- property independent_nodes: list[int]
gets the independent 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 = 'RBE1'
- class pyNastran.bdf.cards.elements.rigid.RBE2(eid: int, gn: int, cm: str, Gmi: list[int], alpha: float = 0.0, tref: float = 0.0, comment: str = '')[source]
Bases:
RigidElement
1
2
3
4
5
6
7
8
9
RBE2
EID
GN
CM
GM1
GM2
GM3
GM4
GM5
GM6
GM7
GM8
etc.
ALPHA
TREF
TREF was added in MSC 2021
Creates an RBE2 element
- Parameters:
- eidint
element id
- gnint
Identification number of grid point to which all six independent degrees-of-freedom for the element are assigned.
- cmstr
Component numbers of the dependent degrees-of-freedom in the global coordinate system at grid points GMi.
- Gmilist[int]
dependent nodes
- alphafloat; default=0.0
thermal expansion coefficient
- treffloat; default=0.0
reference temperature TREF was added in MSC 2021
- property Gmi_node_ids: list[int]
- _properties = ['Gmi_node_ids', 'dependent_nodes', 'independent_nodes']
- classmethod add_card(card: BDFCard, comment: str = '')[source]
Adds a RBE2 card from
BDF.add_card(...)
- Parameters:
- cardBDFCard()
a BDFCard object
- commentstr; default=’’
a comment for the card
- cm
Component numbers of the dependent degrees-of-freedom in the global coordinate system at grid points GMi. (Integers 1 through 6 with no embedded blanks.)
- convert_to_mpc(mpc_id: int) list[Any] [source]
- \[-A_i u_i + A_j u_j = 0\]
where \(u_i\) are the base DOFs (max=6)
1
2
3
4
5
6
7
8
MPC
sid
g1
c1
a1
g2
c2
a2
RBE2
eid
gn
cm
g1
g2
g3
g4
- cross_reference(model: BDF) None [source]
Cross links the card so referenced cards can be extracted directly
- Parameters:
- modelBDF()
the BDF object
- property dependent_nodes: list[int]
gets the dependent node ids
- eid
Element identification number
- gn
Identification number of grid point to which all six independent degrees-of-freedom for the element are assigned. (Integer > 0)
- property independent_nodes: list[int]
gets the independent 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 = 'RBE2'
- class pyNastran.bdf.cards.elements.rigid.RBE3(eid: int, refgrid: int, refc: str, weights: list[float], comps: list[str], Gijs: list[int], Gmi=None, Cmi=None, alpha: float = 0.0, tref: float = 0.0, comment: str = '')[source]
Bases:
RigidElement
1
2
3
4
5
6
7
8
9
RBE3
EID
REFGRID
REFC
WT1
C1
G1,1
G1,2
G1,3
WT2
C2
G2,1
G2,2
etc.
WT3
C3
G3,1
G3,2
etc.
WT4
C4
G4,1
G4,2
etc.
‘UM’
GM1
CM1
GM2
CM2
GM3
CM3
GM4
CM4
GM5
CM5
etc.
‘ALPHA’
ALPHA
Creates an RBE3 element
- Parameters:
- eidint
element id
- refgridint
dependent node
- refcstr
dependent components for refgrid???
- weightslist[float]
independent weights for the importance of the DOF
- compslist[str]
independent components len(comps) = len(weights)
- GiJsvaries
independent nodes list[list[int]]:
allows for different nodes for the different weights len(GiJs) = len(weights)
- list[int, …, int]:
intended for a single weight This will be expanded into list[list[int]]
- Gmilist[int]; default=None -> []
dependent nodes / UM Set
- Cmilist[str]; default=None -> []
dependent components / UM Set
- alphafloat; default=0.0
thermal expansion coefficient
- treffloat; default=0.0
reference temperature (new in MSC 2021)
- commentstr; default=’’
a comment for the card
- property Gijs_node_ids: list[int]
- property Gmi_node_ids: list[int]
- _properties = ['wt_cg_groups', 'ref_grid_id', 'Gijs_node_ids', 'dependent_nodes', 'independent_nodes']
- classmethod add_card(card, comment: str = '')[source]
Adds a RBE3 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 dependent_nodes: list[int]
gets the dependent node ids
- property independent_nodes: list[int]
gets the independent node ids
- property ref_grid_id: int
- repr_fields()[source]
Gets the fields in their simplified form
- Returns:
- fieldslist[varies]
the fields that define the card
- type = 'RBE3'
- 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
- property wt_cg_groups: list[tuple[float, str, int]]
- class pyNastran.bdf.cards.elements.rigid.RROD(eid: int, nids: list[str], cma: str | None = None, cmb: str | None = None, alpha: float = 0.0, comment: str = '')[source]
Bases:
RigidElement
Rigid Pin-Ended Element Connection Defines a pin-ended element that is rigid in translation
1
2
3
4
5
6
7
RROD
EID
GA
GB
CMA
CMB
ALPHA
RROD
5
1
2
6.5-6
Creates a RROD element
- Parameters:
- eidint
element id
- nidslist[int, int]
node ids; connected grid points at ends A and B
- cma / cmbstr; default=None
dependent DOF must be in [None, ‘1’, ‘2’, ‘3’] one of them must be None
- alphafloat; default=0.0
coefficient of thermal expansion
- commentstr; default=’’
a comment for the card
- _properties = ['dependent_nodes', 'independent_nodes']
- classmethod add_card(card: BDFCard, comment: str = '')[source]
Adds a RROD 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 dependent_nodes: list[int]
gets the dependent node ids
- property independent_nodes: list[int]
gets the independent 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 = 'RROD'
- class pyNastran.bdf.cards.elements.rigid.RSPLINE(eid: int, independent_nid: int, dependent_nids: list[int], dependent_components: list[str], diameter_ratio: float = 0.1, comment: str = '')[source]
Bases:
RigidElement
Creates a RSPLINE card, which uses multipoint constraints for the interpolation of displacements at grid points
- Parameters:
- eidint
element id
- independent_nidint
the independent node id
- dependent_nidslist[int]
the dependent node ids
- dependent_componentslist[str]
Components to be constrained
- diameter_ratiofloat; default=0.1
Ratio of the diameter of the elastic tube to the sum of the lengths of all segments
- commentstr; default=’’
a comment for the card
- _properties = ['dependent_nodes', 'independent_nodes']
Defines multipoint constraints for the interpolation of displacements at grid points.
1
2
3
4
5
6
7
8
9
RSPLINE
EID
D/L
G1
G2
C2
G3
C3
G4
C4
G5
C5
G6
etc.
- classmethod add_card(card: BDFCard, comment: str = '')[source]
Adds a RSPLINE 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 dependent_nodes: list[int]
gets the dependent node ids
- property independent_nodes: list[int]
gets the independent 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 = 'RSPLINE'
- class pyNastran.bdf.cards.elements.rigid.RSSCON(eid: int, rigid_type: str, shell_eid=None, solid_eid=None, a_solid_grids=None, b_solid_grids=None, shell_grids=None, comment='')[source]
Bases:
RigidElement
Creates an RSSCON card, which defines multipoint constraints to model clamped connections of shell-to-solid elements.
- Parameters:
- eidint
element id
- rigid_typestr
GRID/ELEM
- shell/solid_eidint; default=None
the shell/solid element id (if rigid_type=ELEM)
- shell/solid_gridslist[int, int]; default=None
the shell/solid node ids (if rigid_type=GRID)
- commentstr; default=’’
a comment for the card
- B—-S—-A
- classmethod add_card(card: BDFCard, comment: str = '')[source]
Adds a RSSCON 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 dependent_nodes: list[int]
gets the dependent node ids
- property independent_nodes: list[int]
gets the independent 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 = 'RSSCON'
Defines multipoint constraints to model clamped connections of shell-to-solid elements.
1
2
3
4
5
6
7
8
9
RSSCON
RBID
TYPE
ES1
EA1
EB1
ES2
EA2
EB2
RSSCON
110
GRID
11
12
13
14
15
16
RSSCON
111
GRID
31
74
75
RSSCON
115
ELEM
311
741
RSSCON
116
INTC
2
1
3