bdf_sets Module

Inheritance diagram of pyNastran.bdf.cards.bdf_sets

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

  • sets * SET1, 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, 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
ASET ID1 C1 ID2 C2 ID3 C3 ID4 C4
ASET 16 2 23 3516 1 4    
_finalize_hdf5(self, encoding)[source]

hdf5 helper function

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

Cross links the card so referenced cards can be extracted directly

Parameters:
model : BDF()

the BDF object

ids = None

Identifiers of grids points. (Integer > 0)

node_ids
raw_fields(self)[source]

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

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

Removes cross-reference links

validate(self)[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(self, 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(self, model)[source]

Cross links the card so referenced cards can be extracted directly

Parameters:
model : BDF()

the BDF object

ids = None

Identifiers of grids points. (Integer > 0)

node_ids
raw_fields(self)[source]

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

type = 'ABQSet1'
uncross_reference(self)[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:
ids : List[int]

the GRID/SPOINT ids

components : List[str]

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

comment : str; 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:
ids : List[int]

the GRID/SPOINT ids

components : str

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

comment : str; 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:
ids : List[int]

the GRID/SPOINT ids

components : List[str]

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

comment : str; 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:
ids : List[int]

the GRID/SPOINT ids

components : str

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

comment : str; 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:
ids : List[int]

the GRID/SPOINT ids

components : List[str]

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

comment : str; 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:
ids : List[int]

the GRID/SPOINT ids

components : str

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

comment : str; 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:
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

ids = None

Identifiers of grids points. (Integer > 0)

node_ids
raw_fields(self)[source]

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

type = 'CSET1'
uncross_reference(self)[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:
ids : List[int]

the GRID/SPOINT ids

components : List[str]

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

comment : str; 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:
ids : List[int]

the GRID/SPOINT ids

components : str

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

comment : str; 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:
ids : List[int]

the GRID/SPOINT ids

components : List[str]

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

comment : str; 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:
ids : List[int]

the GRID/SPOINT ids

components : str

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

comment : str; 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:
cavities : List[int]

the RADCAV ids

comment : str; default=’‘

a comment for the card

_finalize_hdf5(self, 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:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

raw_fields(self)[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:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

get_ids(self)[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(self)[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:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

add_seset(self, seset)[source]
cross_reference(self, model)[source]
ids = None

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

raw_fields(self)[source]
type = 'SESET'
uncross_reference(self)[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:
sid : int

set id

ids : List[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_skin : bool; default=False

if is_skin is used; ids must be empty

comment : str; 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:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

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

Cross links the card so referenced cards can be extracted directly

Parameters:
model : BDF()

the BDF object

xref_type : str

{‘Node’, ‘Point’}

allow_empty_nodes : bool; 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(self)[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(self)[source]
safe_cross_reference(self, model, xref_type, msg='', allow_empty_nodes=False)[source]

Cross links the card so referenced cards can be extracted directly

Parameters:
model : BDF()

the BDF object

xref_type : str

{‘Node’}

allow_empty_nodes : bool; 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(self, set1)[source]
type = 'SET1'
uncross_reference(self)[source]

Removes cross-reference links

write_card(self, size=8, is_double=False)[source]

Writes the card with the specified width and precision

Parameters:
size : int (default=8)

size of the field; {8, 16}

is_double : bool (default=False)

is this card double precision

Returns:
msg : str

the string representation of the card

class pyNastran.bdf.cards.bdf_sets.SET3(sid, desc, ids, comment='')[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(self, 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:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

add_set(self, set3)[source]
cross_reference_set(self, model, xref_type, msg='')[source]
get_ids(self)[source]
ids = None

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

is_element(self)[source]
is_grid(self)[source]
is_point(self)[source]
is_property(self)[source]
raw_fields(self)[source]

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

sid = None

Unique identification number. (Integer > 0)

symmetric_difference(self, set3)[source]
type = 'SET3'
union(self, set3)[source]
valid_descs = ['GRID', 'POINT', 'ELEMENT', 'PROP', 'RBEIN', 'RBEEX']
validate(self)[source]

card checking method that should be overwritten

write_card(self, size=8, is_double=False)[source]

Writes the card with the specified width and precision

Parameters:
size : int (default=8)

size of the field; {8, 16}

is_double : bool (default=False)

is this card double precision

Returns:
msg : str

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

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

ids = None

list of IDs in the SETx

repr_fields(self)[source]

Gets the fields in their simplified form

Returns:
fields : List[varies]

the fields that define the card

write_card(self, size=8, is_double=False)[source]

Writes the card with the specified width and precision

Parameters:
size : int (default=8)

size of the field; {8, 16}

is_double : bool (default=False)

is this card double precision

Returns:
msg : str

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(self, encoding)[source]

hdf5 helper function

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

Cross links the card so referenced cards can be extracted directly

Parameters:
model : BDF()

the BDF object

ids = None

Identifiers of grids points. (Integer > 0)

node_ids
raw_fields(self)[source]

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

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

Removes cross-reference links

validate(self)[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(self, 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(self, model)[source]

Cross links the card so referenced cards can be extracted directly

Parameters:
model : BDF()

the BDF object

ids = None

Identifiers of grids points. (Integer > 0)

node_ids
raw_fields(self)[source]

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

type = 'SuperABQSet1'
uncross_reference(self)[source]

Removes cross-reference links

validate(self)[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:
name : str

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

ids : List[int]

the GRID/SPOINT ids

components : List[str]

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

comment : str; 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:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

components = None

Identifiers of grids points. (Integer > 0)

cross_reference(self, model)[source]

Cross links the card so referenced cards can be extracted directly

Parameters:
model : BDF()

the BDF object

node_ids
raw_fields(self)[source]

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

type = 'USET'
uncross_reference(self)[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:
name : str

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

ids : List[int]

the GRID/SPOINT ids

components : str

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

comment : str; 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:
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

node_ids
raw_fields(self)[source]

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

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

Removes cross-reference links