damper Module

Inheritance diagram of pyNastran.bdf.cards.properties.damper

All damper properties are defined in this file. This includes:

  • PDAMP

  • PDAMP5 (not implemented)

  • PDAMPT

  • PVISC

All damper properties are DamperProperty and Property objects.

class pyNastran.bdf.cards.properties.damper.DamperProperty[source]

Bases: pyNastran.bdf.cards.base_card.Property

dummy init

cross_reference(model: BDF) → None[source]
uncross_reference() → None[source]

Removes cross-reference links

class pyNastran.bdf.cards.properties.damper.PDAMP(pid, b, comment='')[source]

Bases: pyNastran.bdf.cards.properties.damper.DamperProperty

1

2

3

4

5

6

7

8

9

PDAMP

PID1

B1

PID2

B2

PID3

B3

PID4

B4

PDAMP

1

2.0

dummy init

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

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

Parameters
cardBDFCard()

a BDFCard object

icardint; default=0

the index of the card that’s being parsed

commentstr; default=’’

a comment for the card

b = None

Force per unit velocity (Real)

pid = None

Property ID

pname_fid_map = {3: 'b', 'B1': 'b'}
raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

type = 'PDAMP'
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.properties.damper.PDAMP5(pid, mid, b, comment='')[source]

Bases: pyNastran.bdf.cards.properties.damper.DamperProperty

Defines the damping multiplier and references the material properties for damping. CDAMP5 is intended for heat transfer analysis only.

Mid()[source]

returns the material ID of an element

Returns
midint

the Material ID

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

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

Parameters
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

b = None

Damping multiplier. (Real > 0.0) B is the mass that multiplies the heat capacity CP on the MAT4 or MAT5 entry.

cross_reference(model: BDF) → None[source]

Cross links the card so referenced cards can be extracted directly

Parameters
modelBDF()

the BDF object

mid = None

Material ID

pid = None

Property ID

raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

type = 'PDAMP5'
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.properties.damper.PDAMPT(pid, tbid, comment='')[source]

Bases: pyNastran.bdf.cards.properties.damper.DamperProperty

dummy init

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

Adds a PDAMPT 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

pid = None

Property ID

pname_fid_map = {}
raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

tbid = None

Identification number of a TABLEDi entry that defines the damping force per-unit velocity versus frequency relationship

type = 'PDAMPT'
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.properties.damper.PVISC(pid, ce, cr, comment='')[source]

Bases: pyNastran.bdf.cards.properties.damper.DamperProperty

Viscous Damping Element Property Defines properties of a one-dimensional viscous damping element (CVISC entry).

1

2

3

4

5

6

7

PVISC

PID1

CE1

CR1

PID2

CE2

CR2

PVISC

3

6.2

3.94

Creates a PVISC card

Parameters
pidint

property id for a CVISC

cefloat

Viscous damping values for extension in units of force per unit velocity

crfloat

Viscous damping values for rotation in units of moment per unit velocity.

commentstr; default=’’

a comment for the card

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

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

Parameters
cardBDFCard()

a BDFCard object

icardint; default=0

the index of the card that’s being parsed

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) → None[source]
pname_fid_map = {'CE1': 'ce'}
raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

type = 'PVISC'
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