damper Module

digraph inheritance0238d1feb1 { bgcolor=transparent; rankdir=LR; size=""; "pyNastran.bdf.cards.base_card.BaseCard" [URL="../pyNastran.bdf.cards.base_card.html#pyNastran.bdf.cards.base_card.BaseCard",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Defines a series of base methods for every card class"]; "pyNastran.bdf.cards.base_card.Property" [URL="../pyNastran.bdf.cards.base_card.html#pyNastran.bdf.cards.base_card.Property",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="Base Property Class"]; "pyNastran.bdf.cards.base_card.BaseCard" -> "pyNastran.bdf.cards.base_card.Property" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.properties.damper.DamperProperty" [URL="#pyNastran.bdf.cards.properties.damper.DamperProperty",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pyNastran.bdf.cards.base_card.Property" -> "pyNastran.bdf.cards.properties.damper.DamperProperty" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.properties.damper.PDAMP" [URL="#pyNastran.bdf.cards.properties.damper.PDAMP",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="+-------+------+-----+------+----+------+----+------+----+"]; "pyNastran.bdf.cards.properties.damper.DamperProperty" -> "pyNastran.bdf.cards.properties.damper.PDAMP" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.properties.damper.PDAMP5" [URL="#pyNastran.bdf.cards.properties.damper.PDAMP5",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.properties.damper.DamperProperty" -> "pyNastran.bdf.cards.properties.damper.PDAMP5" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.properties.damper.PDAMPT" [URL="#pyNastran.bdf.cards.properties.damper.PDAMPT",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.properties.damper.DamperProperty" -> "pyNastran.bdf.cards.properties.damper.PDAMPT" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.properties.damper.PVISC" [URL="#pyNastran.bdf.cards.properties.damper.PVISC",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="Viscous Damping Element Property"]; "pyNastran.bdf.cards.properties.damper.DamperProperty" -> "pyNastran.bdf.cards.properties.damper.PVISC" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

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: 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: 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

Force per unit velocity (Real)

pid

Property ID

pname_fid_map = {'B1': 'b', 3: '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: 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

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

Material ID

pid

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: 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

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

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: 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