bdf_sets Module

digraph inheritancef5f4c07199 { 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.bdf_sets.ABCQSet" [URL="#pyNastran.bdf.cards.bdf_sets.ABCQSet",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="Generic Class ASET, BSET, CSET, QSET cards inherit from."]; "pyNastran.bdf.cards.bdf_sets.Set" -> "pyNastran.bdf.cards.bdf_sets.ABCQSet" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.ABCQSet1" [URL="#pyNastran.bdf.cards.bdf_sets.ABCQSet1",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="Generic Class ASET1, BSET1, QSET1 cards inherit from."]; "pyNastran.bdf.cards.bdf_sets.Set" -> "pyNastran.bdf.cards.bdf_sets.ABCQSet1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.ASET" [URL="#pyNastran.bdf.cards.bdf_sets.ASET",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 degrees-of-freedom in the analysis set (A-set)."]; "pyNastran.bdf.cards.bdf_sets.ABCQSet" -> "pyNastran.bdf.cards.bdf_sets.ASET" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.ASET1" [URL="#pyNastran.bdf.cards.bdf_sets.ASET1",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 degrees-of-freedom in the analysis set (a-set)"]; "pyNastran.bdf.cards.bdf_sets.ABCQSet1" -> "pyNastran.bdf.cards.bdf_sets.ASET1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.BSET" [URL="#pyNastran.bdf.cards.bdf_sets.BSET",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 analysis set (a-set) degrees-of-freedom to be fixed (b-set)"]; "pyNastran.bdf.cards.bdf_sets.ABCQSet" -> "pyNastran.bdf.cards.bdf_sets.BSET" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.BSET1" [URL="#pyNastran.bdf.cards.bdf_sets.BSET1",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 analysis set (a-set) degrees-of-freedom to be fixed (b-set)"]; "pyNastran.bdf.cards.bdf_sets.ABCQSet1" -> "pyNastran.bdf.cards.bdf_sets.BSET1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.CSET" [URL="#pyNastran.bdf.cards.bdf_sets.CSET",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 degree of freedoms that will be free during a"]; "pyNastran.bdf.cards.bdf_sets.ABCQSet" -> "pyNastran.bdf.cards.bdf_sets.CSET" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.CSET1" [URL="#pyNastran.bdf.cards.bdf_sets.CSET1",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 degree of freedoms that will be free during a"]; "pyNastran.bdf.cards.bdf_sets.ABCQSet1" -> "pyNastran.bdf.cards.bdf_sets.CSET1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.OMIT" [URL="#pyNastran.bdf.cards.bdf_sets.OMIT",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 analysis set (a-set) degrees-of-freedom to be fixed (b-set)"]; "pyNastran.bdf.cards.bdf_sets.ABCQSet" -> "pyNastran.bdf.cards.bdf_sets.OMIT" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.OMIT1" [URL="#pyNastran.bdf.cards.bdf_sets.OMIT1",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 degrees-of-freedom to be excluded (o-set) from the analysis set (a-set)."]; "pyNastran.bdf.cards.bdf_sets.ABCQSet1" -> "pyNastran.bdf.cards.bdf_sets.OMIT1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.QSET" [URL="#pyNastran.bdf.cards.bdf_sets.QSET",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 generalized degrees-of-freedom (q-set) to be used for"]; "pyNastran.bdf.cards.bdf_sets.ABCQSet" -> "pyNastran.bdf.cards.bdf_sets.QSET" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.QSET1" [URL="#pyNastran.bdf.cards.bdf_sets.QSET1",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 generalized degrees-of-freedom (q-set) to be used for"]; "pyNastran.bdf.cards.bdf_sets.ABCQSet1" -> "pyNastran.bdf.cards.bdf_sets.QSET1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.RADSET" [URL="#pyNastran.bdf.cards.bdf_sets.RADSET",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="Specifies which radiation cavities are to be included for"]; "pyNastran.bdf.cards.bdf_sets.ABCQSet1" -> "pyNastran.bdf.cards.bdf_sets.RADSET" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SEBSET" [URL="#pyNastran.bdf.cards.bdf_sets.SEBSET",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 boundary degrees-of-freedom to be fixed (b-set) during generalized"]; "pyNastran.bdf.cards.bdf_sets.SuperABCQSet" -> "pyNastran.bdf.cards.bdf_sets.SEBSET" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SEBSET1" [URL="#pyNastran.bdf.cards.bdf_sets.SEBSET1",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 boundary degrees-of-freedom to be fixed (b-set) during"]; "pyNastran.bdf.cards.bdf_sets.SuperABCQSet1" -> "pyNastran.bdf.cards.bdf_sets.SEBSET1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SECSET" [URL="#pyNastran.bdf.cards.bdf_sets.SECSET",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.bdf_sets.SuperABCQSet" -> "pyNastran.bdf.cards.bdf_sets.SECSET" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SECSET1" [URL="#pyNastran.bdf.cards.bdf_sets.SECSET1",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 SECSET1"]; "pyNastran.bdf.cards.bdf_sets.SuperABCQSet1" -> "pyNastran.bdf.cards.bdf_sets.SECSET1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SEQSEP" [URL="#pyNastran.bdf.cards.bdf_sets.SEQSEP",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="Used with the CSUPER entry to define the correspondence of the"]; "pyNastran.bdf.cards.bdf_sets.SetSuper" -> "pyNastran.bdf.cards.bdf_sets.SEQSEP" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SEQSET" [URL="#pyNastran.bdf.cards.bdf_sets.SEQSET",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.bdf_sets.SuperABCQSet" -> "pyNastran.bdf.cards.bdf_sets.SEQSET" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SEQSET1" [URL="#pyNastran.bdf.cards.bdf_sets.SEQSET1",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.bdf_sets.SuperABCQSet1" -> "pyNastran.bdf.cards.bdf_sets.SEQSET1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SESET" [URL="#pyNastran.bdf.cards.bdf_sets.SESET",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 interior grid points for a superelement."]; "pyNastran.bdf.cards.bdf_sets.SetSuper" -> "pyNastran.bdf.cards.bdf_sets.SESET" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SET1" [URL="#pyNastran.bdf.cards.bdf_sets.SET1",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 list of structural grid points or element identification"]; "pyNastran.bdf.cards.bdf_sets.Set" -> "pyNastran.bdf.cards.bdf_sets.SET1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SET2" [URL="#pyNastran.bdf.cards.bdf_sets.SET2",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 list of structural grid points in terms of aerodynamic"]; "pyNastran.bdf.cards.bdf_sets.Set" -> "pyNastran.bdf.cards.bdf_sets.SET2" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SET3" [URL="#pyNastran.bdf.cards.bdf_sets.SET3",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 list of grids, elements or points."]; "pyNastran.bdf.cards.bdf_sets.Set" -> "pyNastran.bdf.cards.bdf_sets.SET3" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.Set" [URL="#pyNastran.bdf.cards.bdf_sets.Set",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="Generic Class all SETx cards inherit from"]; "pyNastran.bdf.cards.base_card.BaseCard" -> "pyNastran.bdf.cards.bdf_sets.Set" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SetSuper" [URL="#pyNastran.bdf.cards.bdf_sets.SetSuper",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="Generic Class all Superelement SETx cards inherit from."]; "pyNastran.bdf.cards.bdf_sets.Set" -> "pyNastran.bdf.cards.bdf_sets.SetSuper" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SuperABCQSet" [URL="#pyNastran.bdf.cards.bdf_sets.SuperABCQSet",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="Generic Class ASET, BSET, CSET, QSET cards inherit from."]; "pyNastran.bdf.cards.bdf_sets.Set" -> "pyNastran.bdf.cards.bdf_sets.SuperABCQSet" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.SuperABCQSet1" [URL="#pyNastran.bdf.cards.bdf_sets.SuperABCQSet1",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="Generic Class SEBSET1, SEQSET1 cards inherit from."]; "pyNastran.bdf.cards.bdf_sets.Set" -> "pyNastran.bdf.cards.bdf_sets.SuperABCQSet1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.USET" [URL="#pyNastran.bdf.cards.bdf_sets.USET",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 degrees-of-freedom set."]; "pyNastran.bdf.cards.bdf_sets.Set" -> "pyNastran.bdf.cards.bdf_sets.USET" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_sets.USET1" [URL="#pyNastran.bdf.cards.bdf_sets.USET1",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 degree-of-freedom set."]; "pyNastran.bdf.cards.bdf_sets.ABCQSet1" -> "pyNastran.bdf.cards.bdf_sets.USET1" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

All set cards are defined in this file. This includes:

  • sets * SET1, SET2, SET3, RADSET # ??? RADSET

  • asets - aset, aset1

  • omits - omit, omit1

  • bsets - bset, bset1

  • csets - cset, cset1

  • qsets - qset, qset1

  • usets - uset, uset1 # USET 1 is not supported

The superelement sets start with SE: * se_bsets - sebset, sebset1 * se_csets - secset, secset1 * se_qsets - seqset, seqset1 * se_usets - seuset, seuset1 *se_sets

  • SESET

  • SEQSEP

#* Set #* SetSuper

Entry Type

Equivalent Type

SEQSETi

QSETi

SESUP

SUPORT

SECSETi

CSETi

SEBSETi

BSETi

class pyNastran.bdf.cards.bdf_sets.ABCQSet(ids: list[int], components: list[int], comment: str = '')[source]

Bases: Set

Generic Class ASET, BSET, CSET, QSET cards inherit from.

Defines degrees-of-freedom in the analysis set (A-set)

1

2

3

4

5

6

7

8

9

ASET

ID1

C1

ID2

C2

ID3

C3

ID4

C4

ASET

16

2

23

3516

1

4

_finalize_hdf5(encoding)[source]

hdf5 helper function

classmethod add_card(card, comment='')[source]
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: list[int]
raw_fields()[source]

gets the “raw” card without any processing as a list for printing

type = 'ABCQSet'
uncross_reference() None[source]

Removes cross-reference links

validate() None[source]

card checking method that should be overwritten

class pyNastran.bdf.cards.bdf_sets.ABCQSet1(ids, components, comment='')[source]

Bases: Set

Generic Class ASET1, BSET1, QSET1 cards inherit from.

Defines degrees-of-freedom in the analysis set (a-set).

1

2

3

4

5

6

7

8

9

xSET1

C

ID1

ID2

ID3

ID4

ID5

ID6

ID7

ID8

ID9

xSET1

C

ID1

THRU

ID2

_finalize_hdf5(encoding)[source]

hdf5 helper function

classmethod add_card(card, comment='')[source]
components

Component number. (Integer zero or blank for scalar points or any unique combination of the Integers 1 through 6 for grid points with no embedded blanks.)

cross_reference(model: BDF) None[source]

Cross links the card so referenced cards can be extracted directly

Parameters:
modelBDF()

the BDF object

ids

Identifiers of grids points. (Integer > 0)

property node_ids
raw_fields()[source]

gets the “raw” card without any processing as a list for printing

type = 'ABQSet1'
uncross_reference() None[source]

Removes cross-reference links

class pyNastran.bdf.cards.bdf_sets.ASET(ids, components, comment='')[source]

Bases: ABCQSet

Defines degrees-of-freedom in the analysis set (A-set).

1

2

3

4

5

6

7

8

9

ASET

ID1

C1

ID2

C2

ID3

C3

ID4

C4

ASET

16

2

23

3516

1

4

Creates an ASET card, which defines the degree of freedoms that will be retained during an ASET modal reduction.

Parameters:
idslist[int]

the GRID/SPOINT ids

componentslist[str]

the degree of freedoms to be retained (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

..note :: the length of components and ids must be the same
classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'ASET'
class pyNastran.bdf.cards.bdf_sets.ASET1(ids, components, comment='')[source]

Bases: ABCQSet1

Defines degrees-of-freedom in the analysis set (a-set)

1

2

3

4

5

6

7

8

9

ASET1

C

ID1

ID2

ID3

ID4

ID5

ID6

ID7

ID8

ID9

ASET1

C

ID1

THRU

ID2

Creates an ASET1 card, which defines the degree of freedoms that will be retained during an ASET modal reduction.

Parameters:
idslist[int]

the GRID/SPOINT ids

componentsstr

the degree of freedoms to be retained (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'ASET1'
class pyNastran.bdf.cards.bdf_sets.BSET(ids, components, comment='')[source]

Bases: ABCQSet

Defines analysis set (a-set) degrees-of-freedom to be fixed (b-set) during generalized dynamic reduction or component mode synthesis calculations.

1

2

3

4

5

6

7

8

9

BSET

ID1

C1

ID2

C2

ID3

C3

ID4

C4

BSET

16

2

23

3516

1

4

Creates an BSET card, which defines the degree of freedoms that will be fixed during a generalized dynamic reduction or component model synthesis calculation.

Parameters:
idslist[int]

the GRID/SPOINT ids

componentslist[str]

the degree of freedoms to be fixed (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

..note :: the length of components and ids must be the same
classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'BSET'
class pyNastran.bdf.cards.bdf_sets.BSET1(ids, components, comment='')[source]

Bases: ABCQSet1

Defines analysis set (a-set) degrees-of-freedom to be fixed (b-set) during generalized dynamic reduction or component mode synthesis calculations.

1

2

3

4

5

6

7

8

9

BSET1

C

ID1

ID2

ID3

ID4

ID5

ID6

ID7

ID8

ID9

BSET1

C

ID1

THRU

ID2

Creates an BSET1 card, which defines the degree of freedoms that will be fixed during a generalized dynamic reduction or component model synthesis calculation.

Parameters:
idslist[int]

the GRID/SPOINT ids

componentsstr

the degree of freedoms to be fixed (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'BSET1'
class pyNastran.bdf.cards.bdf_sets.CSET(ids, components, comment='')[source]

Bases: ABCQSet

Defines the degree of freedoms that will be free during a generalized dynamic reduction or component model synthesis calculation.

1

2

3

4

5

6

7

8

9

CSET

ID1

C1

ID2

C2

ID3

C3

ID4

C4

CSET

16

2

23

3516

1

4

Creates an CSET card, which defines the degree of freedoms that will be free during a generalized dynamic reduction or component model synthesis calculation.

Parameters:
idslist[int]

the GRID/SPOINT ids

componentslist[str]

the degree of freedoms to be free (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

..note :: the length of components and ids must be the same
classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'CSET'
class pyNastran.bdf.cards.bdf_sets.CSET1(ids, components, comment='')[source]

Bases: ABCQSet1

Defines the degree of freedoms that will be free during a generalized dynamic reduction or component model synthesis calculation.

1

2

3

4

5

6

7

8

9

CSET1

C

ID1

ID2

ID3

ID4

ID5

ID6

ID7

ID8

ID9

CSET1

C

ID1

THRU

ID2

CSET1

,,

ALL

Creates an CSET1 card, which defines the degree of freedoms that will be free during a generalized dynamic reduction or component model synthesis calculation.

Parameters:
idslist[int]

the GRID/SPOINT ids

componentsstr

the degree of freedoms to be free (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
_properties = ['node_ids']
classmethod add_card(card, comment='')[source]

Adds a CSET1 card from BDF.add_card(...)

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

ids

Identifiers of grids points. (Integer > 0)

raw_fields()[source]

gets the “raw” card without any processing as a list for printing

type = 'CSET1'
class pyNastran.bdf.cards.bdf_sets.OMIT(ids, components, comment='')[source]

Bases: ABCQSet

Defines analysis set (a-set) degrees-of-freedom to be fixed (b-set) during generalized dynamic reduction or component mode synthesis calculations.

1

2

3

4

5

6

7

8

9

OMIT

ID1

C1

ID2

C2

ID3

C3

ID4

C4

OMIT

16

2

23

3516

1

4

Creates an BSET card, which defines the degree of freedoms that will be fixed during a generalized dynamic reduction or component model synthesis calculation.

Parameters:
idslist[int]

the GRID/SPOINT ids

componentslist[str]

the degree of freedoms to be fixed (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

..note :: the length of components and ids must be the same
classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'OMIT'
class pyNastran.bdf.cards.bdf_sets.OMIT1(ids, components, comment='')[source]

Bases: ABCQSet1

Defines degrees-of-freedom to be excluded (o-set) from the analysis set (a-set).

1

2

3

4

5

6

7

8

9

OMIT

C

ID1

ID2

ID3

ID4

ID5

ID6

ID7

ID8

ID9

OMIT1

C

ID1

THRU

ID2

Creates an OMIT1 card, which defines the degree of freedoms that will be excluded (o-set) from the analysis set (a-set).

Parameters:
idslist[int]

the GRID/SPOINT ids

componentsstr

the degree of freedoms to be omitted (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'OMIT1'
class pyNastran.bdf.cards.bdf_sets.QSET(ids, components, comment='')[source]

Bases: ABCQSet

Defines generalized degrees-of-freedom (q-set) to be used for dynamic reduction or component mode synthesis.

1

2

3

4

5

6

7

8

9

QSET

ID1

C1

ID2

C2

ID3

C3

ID4

C4

QSET

16

2

23

3516

1

4

Creates a QSET card, which defines generalized degrees of freedom (q-set) to be used for dynamic reduction or component mode synthesis.

Parameters:
idslist[int]

the GRID/SPOINT ids

componentslist[str]

the degree of freedoms to be created (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'QSET'
class pyNastran.bdf.cards.bdf_sets.QSET1(ids, components, comment='')[source]

Bases: ABCQSet1

Defines generalized degrees-of-freedom (q-set) to be used for dynamic reduction or component mode synthesis.

Creates a QSET1 card, which defines generalized degrees of freedom (q-set) to be used for dynamic reduction or component mode synthesis.

Parameters:
idslist[int]

the GRID/SPOINT ids

componentsstr

the degree of freedoms to be created (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'QSET1'
class pyNastran.bdf.cards.bdf_sets.RADSET(cavities, comment='')[source]

Bases: ABCQSet1

Specifies which radiation cavities are to be included for radiation enclosure analysis.

1

2

3

4

5

6

7

8

9

RADSET

ICAVITY1

ICAVITY2

ICAVITY3

ICAVITY4

ICAVITY5

ICAVITY6

ICAVITY7

ICAVITY8

ICAVITY9

RADSET

1

2

3

4

Creates a RADSET card

Parameters:
cavitieslist[int]

the RADCAV ids

commentstr; default=’’

a comment for the card

_finalize_hdf5(encoding)[source]

hdf5 helper function

classmethod _init_from_empty()[source]
classmethod add_card(card: BDFCard, comment: str = '')[source]

Adds a RADSET card from BDF.add_card(...)

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

raw_fields()[source]

gets the “raw” card without any processing as a list for printing

type = 'RADSET'
class pyNastran.bdf.cards.bdf_sets.SEBSET(seid, ids, components, comment='')[source]

Bases: SuperABCQSet

Defines boundary degrees-of-freedom to be fixed (b-set) during generalized dynamic reduction or component mode calculations.

1

2

3

4

5

6

7

8

SEBSET

SEID

ID1

C1

ID2

C2

ID3

C3

SEBSET

C

ID1

THRU

ID2

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'SEBSET'
class pyNastran.bdf.cards.bdf_sets.SEBSET1(seid, ids, components, comment='')[source]

Bases: SuperABCQSet1

Defines boundary degrees-of-freedom to be fixed (b-set) during generalized dynamic reduction or component mode synthesis calculations.

1

2

3

4

5

6

7

8

9

SEBSET1

SEID

C

ID1

ID2

ID3

ID4

ID5

ID6

ID7

ID9

SEBSET1

SEID

C

ID1

THRU

ID2

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'SEBSET1'
class pyNastran.bdf.cards.bdf_sets.SECSET(seid, ids, components, comment='')[source]

Bases: SuperABCQSet

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'SECSET'
class pyNastran.bdf.cards.bdf_sets.SECSET1(seid, ids, components, comment='')[source]

Bases: SuperABCQSet1

Defines SECSET1

1

2

3

4

5

6

7

8

9

SECSET1

SEID

C

ID1

ID2

ID3

ID4

ID5

ID6

ID7

ID9

SECSET1

SEID

C

ID1

THRU

ID2

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'SECSET1'
class pyNastran.bdf.cards.bdf_sets.SEQSEP(ssid, psid, ids, comment='')[source]

Bases: SetSuper

Used with the CSUPER entry to define the correspondence of the exterior grid points between an identical or mirror-image superelement and its primary superelement.

classmethod add_card(card, comment='')[source]

Adds a SEQSEP card from BDF.add_card(...)

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

get_ids() list[int][source]

gets the ids

ids

Exterior grid point identification numbers for the primary superelement. (Integer > 0)

psid

Identification number for the primary superelement. (Integer >= 0).

raw_fields()[source]

gets the “raw” card without any processing as a list for printing

ssid

Identification number for secondary superelement. (Integer >= 0).

type = 'SEQSEP'
class pyNastran.bdf.cards.bdf_sets.SEQSET(seid, ids, components, comment='')[source]

Bases: SuperABCQSet

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'SEQSET'
class pyNastran.bdf.cards.bdf_sets.SEQSET1(seid, ids, components, comment='')[source]

Bases: SuperABCQSet1

classmethod _init_from_empty()[source]
_properties = ['node_ids']
type = 'SEQSET1'
class pyNastran.bdf.cards.bdf_sets.SESET(seid, ids, comment='')[source]

Bases: SetSuper

Defines interior grid points for a superelement.

classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

Adds a SESET card from BDF.add_card(...)

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

add_seset(seset)[source]
cross_reference(model: BDF) None[source]
ids

Grid or scalar point identification number. (0 < Integer < 1000000; G1 < G2)

raw_fields()[source]
type = 'SESET'
uncross_reference() None[source]

Removes cross-reference links

class pyNastran.bdf.cards.bdf_sets.SET1(sid, ids, is_skin=False, comment='')[source]

Bases: Set

Defines a list of structural grid points or element identification numbers.

1

2

3

4

5

6

7

8

9

SET1

SID

ID1

ID2

ID3

ID4

ID5

ID6

ID7

ID8

etc.

SET1

3

31

62

93

124

16

17

18

19

SET1

6

29

32

THRU

50

61

THRU

70

17

57

Creates a SET1 card, which defines a list of structural grid points or element identification numbers.

Parameters:
sidint

set id

idslist[int, str]

AECOMP, SPLINEx, PANEL : all grid points must exist XYOUTPUT : missing grid points are ignored The only valid string is THRU ids = [1, 3, 5, THRU, 10]

is_skinbool; default=False

if is_skin is used; ids must be empty

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

Adds a SET1 card from BDF.add_card(...)

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

add_set(set1)[source]
cross_reference_set(model, xref_type, msg='', allow_empty_nodes=False)[source]

Cross links the card so referenced cards can be extracted directly

Parameters:
modelBDF()

the BDF object

xref_typestr

{‘Node’, ‘Point’}

allow_empty_nodesbool; default=False

do all nodes need to exist?

SPLINEx, ACMODL, PANEL, AECOMP, XYOUTPUT
- nodes
  • SPLINEx (all nodes must exist)

  • PANEL (all nodes must exist)

  • XYOUTPUT (missing nodes ignored)

  • AECOMP

  • ACMODL (optional)

- elements
  • ACMODL (optional)

get_ids()[source]
ids

list of structural grid point or element identification numbers. (Integer > 0 or ‘THRU’; for the ‘THRU’ option, ID1 < ID2 or ‘SKIN’; in field 3)

raw_fields()[source]
safe_cross_reference(model: BDF, xref_type, msg='', allow_empty_nodes=False)[source]

Cross links the card so referenced cards can be extracted directly

Parameters:
modelBDF()

the BDF object

xref_typestr

{‘Node’}

allow_empty_nodesbool; default=False

do all nodes need to exist?

SPLINEx, ACMODL, PANEL, AECOMP, XYOUTPUT
- nodes
  • SPLINEx (all nodes must exist)

  • PANEL (all nodes must exist)

  • XYOUTPUT (missing nodes ignored)

  • AECOMP

  • ACMODL (optional)

- elements
  • ACMODL (optional)

sid

Unique identification number. (Integer > 0)

symmetric_difference(set1)[source]
type = 'SET1'
uncross_reference() None[source]

Removes cross-reference links

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

class pyNastran.bdf.cards.bdf_sets.SET2(sid: int, macro: int, sp1: float, sp2: float, ch1: float, ch2: float, zmax: float = 0.0, zmin: float = 0.0, comment: str = '')[source]

Bases: Set

Defines a list of structural grid points in terms of aerodynamic macro elements.

1

2

3

4

5

6

7

8

9

SET2

SID

MACRO

SP1

SP2

CH1

CH2

ZMAX

ZMIN

SET2

3

111

0.0

0.75

0.0

0.667

3.51

SET2

6

222

0.0

0.75

0.0

0.667

3.51

-1.0

SET2 entries are referenced by: - SPLINEi

Creates a SET2 card, which sefines a list of structural grid points in terms of aerodynamic macro elements.

Remarks:

  • Points exactly on the boundary may be missed; therefore, to get all the grid points within the area of the macro element, SP1=-0.01, SP2=1.01, etc. should be used.

  • Use DIAG 18 to print the internal grid Ids found.

Parameters:
sidint

set id

macroint

the aerodynamic macro element id

sp1 / sp2float

lower/higher span division point defining the prism containing the set

ch1 / ch2float

lower/higher chord division point defining the prism containing the set

zmax / zminfloat; default=0.0/0.0

z-coordinate of top/bottom of the prism containing the set a zero value implies a value of infinity

classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

Adds a SET2 card from BDF.add_card(...)

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

cross_reference_set(model, xref_type: str | None, msg='')[source]

Cross links the card so referenced cards can be extracted directly

Parameters:
modelBDF()

the BDF object

xref_typestr

{‘MACRO’} i.e. the CAEROi elements

get_ids()[source]
macro

Aerodynamic Macro Element ID. (Integer > 0)

raw_fields()[source]
safe_cross_reference(model: BDF, xref_type: str | None, msg='')[source]
sid

Unique identification number. (Integer > 0)

sp1

Division Points spanwise and chordwise for the selection prism. (Real)

type = 'SET2'
uncross_reference()[source]
zmax

Height limits for the selection prism. (Real)

class pyNastran.bdf.cards.bdf_sets.SET3(sid: int, desc: str, ids: list[int], comment: str = '')[source]

Bases: Set

Defines a list of grids, elements or points.

SET3 entries are referenced by: - NX

  • ACMODL

  • PANEL

  • MSC - PBMSECT - PBRSECT - RFORCE

    • ELEM only (SOL 600)

    • DEACTEL - ELEM only (SOL 400)

    • RBAR, RBAR1, RBE1, RBE2, RBE2GS, RBE3, RROD, RSPLINE, RSSCON, RTRPLT and RTRPLT1

      • RBEin / RBEex only

    • ELSIDi / XELSIDi
      • ELEM only

    • NDSIDi
      • GRID only

1

2

3

4

5

6

7

8

9

SET3

SID

DES

ID1

ID2

ID3

ID4

ID5

ID6

ID7

ID8

etc

SET3

1

POINT

11

12

SetIDs(collapse=True)[source]

gets the IDs of the SETx

classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

Adds a SET3 card from BDF.add_card(...)

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

add_set(set3)[source]
cross_reference_set(model, xref_type, msg='')[source]
get_ids()[source]
is_element()[source]
is_grid()[source]
is_point()[source]
is_property()[source]
raw_fields()[source]

Gets the “raw” card without any processing as a list for printing

sid

Unique identification number. (Integer > 0)

symmetric_difference(set3)[source]
type = 'SET3'
union(set3)[source]
valid_descs = ['GRID', 'POINT', 'ELEMENT', 'PROP', 'RBEin', 'RBEex']
validate()[source]

card checking method that should be overwritten

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

class pyNastran.bdf.cards.bdf_sets.Set[source]

Bases: BaseCard

Generic Class all SETx cards inherit from

clean_ids() None[source]

eliminates duplicate IDs from self.IDs and sorts self.IDs

ids

list of IDs in the SETx

repr_fields() list[int | float | str | None][source]

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

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

class pyNastran.bdf.cards.bdf_sets.SetSuper[source]

Bases: Set

Generic Class all Superelement SETx cards inherit from.

ids

list of IDs in the SESETx

seid

Superelement identification number. Must be a primary superelement. (Integer >= 0)

class pyNastran.bdf.cards.bdf_sets.SuperABCQSet(seid, ids, components, comment='')[source]

Bases: Set

Generic Class ASET, BSET, CSET, QSET cards inherit from.

Defines degrees-of-freedom in the analysis set (A-set)

1

2

3

4

5

6

7

8

9

SEBSET

SEID

ID1

C1

ID2

C2

ID3

C3

SEBSET

100

16

2

23

3516

1

4

_finalize_hdf5(encoding)[source]

hdf5 helper function

classmethod add_card(card, comment='')[source]
cross_reference(model: BDF) None[source]

Cross links the card so referenced cards can be extracted directly

Parameters:
modelBDF()

the BDF object

ids

Identifiers of grids points. (Integer > 0)

property node_ids
raw_fields()[source]

gets the “raw” card without any processing as a list for printing

type = 'SuperABCQSet'
uncross_reference() None[source]

Removes cross-reference links

validate()[source]

card checking method that should be overwritten

class pyNastran.bdf.cards.bdf_sets.SuperABCQSet1(seid, ids, components, comment='')[source]

Bases: Set

Generic Class SEBSET1, SEQSET1 cards inherit from.

Defines degrees-of-freedom in the analysis set (a-set).

1

2

3

4

5

6

7

8

9

SEBSET1

SEID

C

ID1

ID2

ID3

ID4

ID5

ID6

ID7

ID9

SEBSET1

SEID

C

ID1

THRU

ID2

_finalize_hdf5(encoding)[source]

hdf5 helper function

classmethod add_card(card, comment='')[source]
components

Component number. (Integer zero or blank for scalar points or any unique combination of the Integers 1 through 6 for grid points with no embedded blanks.)

cross_reference(model: BDF) None[source]

Cross links the card so referenced cards can be extracted directly

Parameters:
modelBDF()

the BDF object

ids

Identifiers of grids points. (Integer > 0)

property node_ids
raw_fields()[source]

gets the “raw” card without any processing as a list for printing

type = 'SuperABCQSet1'
uncross_reference() None[source]

Removes cross-reference links

validate()[source]

card checking method that should be overwritten

class pyNastran.bdf.cards.bdf_sets.USET(name, ids, components, comment='')[source]

Bases: Set

Defines a degrees-of-freedom set.

1

2

3

4

5

6

7

8

USET

SNAME

ID1

C1

ID2

C2

ID3

C3

USET

JUNK

ID1

THRU

ID2

Creates a USET card, which defines a degrees-of-freedom set.

Parameters:
namestr

SNAME Set name. (One to four characters or the word ‘ZERO’ followed by the set name.)

idslist[int]

the GRID/SPOINT ids

componentslist[str]

the degree of freedoms (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
_properties = ['node_ids']
classmethod add_card(card, comment='')[source]

Adds a USET card from BDF.add_card(...)

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

components

Identifiers of grids points. (Integer > 0)

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
raw_fields()[source]

gets the “raw” card without any processing as a list for printing

type = 'USET'
uncross_reference() None[source]

Removes cross-reference links

class pyNastran.bdf.cards.bdf_sets.USET1(name, ids, components, comment='')[source]

Bases: ABCQSet1

Defines a degree-of-freedom set.

1

2

3

4

5

6

7

8

9

USET1

SNAME

C

ID2

ID3

ID4

ID5

ID6

ID7

ID9

USET1

SNAME

C

ID1

THRU

ID2

Creates a USET1 card, which defines a degrees-of-freedom set.

Parameters:
namestr

SNAME Set name. (One to four characters or the word ‘ZERO’ followed by the set name.)

idslist[int]

the GRID/SPOINT ids

componentsstr

the degree of freedoms (e.g., ‘1’, ‘123’)

commentstr; default=’’

a comment for the card

classmethod _init_from_empty()[source]
_properties = ['node_ids']
classmethod add_card(card, comment='')[source]

Adds a USET1 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
raw_fields()[source]

gets the “raw” card without any processing as a list for printing

type = 'USET1'
uncross_reference() None[source]

Removes cross-reference links