bdf_sets Module

Inheritance diagram of pyNastran.bdf.cards.bdf_sets

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: pyNastran.bdf.cards.bdf_sets.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
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.ABQSet1(ids, components, comment='')[source]

Bases: pyNastran.bdf.cards.bdf_sets.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 = None

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 = None

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: pyNastran.bdf.cards.bdf_sets.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: pyNastran.bdf.cards.bdf_sets.ABQSet1

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: pyNastran.bdf.cards.bdf_sets.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: pyNastran.bdf.cards.bdf_sets.ABQSet1

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: pyNastran.bdf.cards.bdf_sets.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: pyNastran.bdf.cards.bdf_sets.Set

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

cross_reference(model: BDF) → None[source]

Cross links the card so referenced cards can be extracted directly

Parameters
modelBDF()

the BDF object

ids = None

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 = 'CSET1'
uncross_reference() → None[source]

Removes cross-reference links

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

Bases: pyNastran.bdf.cards.bdf_sets.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: pyNastran.bdf.cards.bdf_sets.ABQSet1

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: pyNastran.bdf.cards.bdf_sets.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: pyNastran.bdf.cards.bdf_sets.ABQSet1

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: pyNastran.bdf.cards.bdf_sets.ABQSet1

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, comment='')[source]

Adds a USET1 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: pyNastran.bdf.cards.bdf_sets.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: pyNastran.bdf.cards.bdf_sets.SuperABQSet1

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: pyNastran.bdf.cards.bdf_sets.SuperABCQSet

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

Bases: pyNastran.bdf.cards.bdf_sets.SuperABQSet1

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: pyNastran.bdf.cards.bdf_sets.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 = None

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

psid = None

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

raw_fields()[source]

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

ssid = None

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

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

Bases: pyNastran.bdf.cards.bdf_sets.SuperABCQSet

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

Bases: pyNastran.bdf.cards.bdf_sets.SuperABQSet1

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

Bases: pyNastran.bdf.cards.bdf_sets.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 = None

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: pyNastran.bdf.cards.bdf_sets.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 = None

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 = None

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: pyNastran.bdf.cards.bdf_sets.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, 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 = None

Aerodynamic Macro Element ID. (Integer > 0)

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

Unique identification number. (Integer > 0)

sp1 = None

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

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

Heigth limits for the selection prism. (Real)

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

Bases: pyNastran.bdf.cards.bdf_sets.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]
ids = None

Identifiers of grids points, elements, points or properties. (Integer > 0)

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 = None

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: pyNastran.bdf.cards.base_card.BaseCard

Generic Class all SETx cards inherit from

clean_ids() → None[source]

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

ids = None

list of IDs in the SETx

repr_fields() → List[Union[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: pyNastran.bdf.cards.bdf_sets.Set

Generic Class all Superelement SETx cards inherit from.

ids = None

list of IDs in the SESETx

seid = None

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

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

Bases: pyNastran.bdf.cards.bdf_sets.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 = None

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.SuperABQSet1(seid, ids, components, comment='')[source]

Bases: pyNastran.bdf.cards.bdf_sets.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 = None

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 = None

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 = 'SuperABQSet1'
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: pyNastran.bdf.cards.bdf_sets.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 = None

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: pyNastran.bdf.cards.bdf_sets.ABQSet1

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