bdf_tables Module

digraph inheritance6f9c5f40cd { 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_tables.DTABLE" [URL="#pyNastran.bdf.cards.bdf_tables.DTABLE",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.BaseCard" -> "pyNastran.bdf.cards.bdf_tables.DTABLE" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABDMP1" [URL="#pyNastran.bdf.cards.bdf_tables.TABDMP1",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_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABDMP1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLED1" [URL="#pyNastran.bdf.cards.bdf_tables.TABLED1",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="Dynamic Load Tabular Function, Form 1"]; "pyNastran.bdf.cards.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLED1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLED2" [URL="#pyNastran.bdf.cards.bdf_tables.TABLED2",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="Dynamic Load Tabular Function, Form 2"]; "pyNastran.bdf.cards.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLED2" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLED3" [URL="#pyNastran.bdf.cards.bdf_tables.TABLED3",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="Dynamic Load Tabular Function, Form 3"]; "pyNastran.bdf.cards.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLED3" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLED4" [URL="#pyNastran.bdf.cards.bdf_tables.TABLED4",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="Dynamic Load Tabular Function, Form 4"]; "pyNastran.bdf.cards.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLED4" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLED5" [URL="#pyNastran.bdf.cards.bdf_tables.TABLED5",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="Dynamic Load Tabular Function, Form 5"]; "pyNastran.bdf.cards.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLED5" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLEH1" [URL="#pyNastran.bdf.cards.bdf_tables.TABLEH1",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.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLEH1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLEHT" [URL="#pyNastran.bdf.cards.bdf_tables.TABLEHT",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.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLEHT" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLEM1" [URL="#pyNastran.bdf.cards.bdf_tables.TABLEM1",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="MSC"]; "pyNastran.bdf.cards.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLEM1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLEM2" [URL="#pyNastran.bdf.cards.bdf_tables.TABLEM2",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.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLEM2" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLEM3" [URL="#pyNastran.bdf.cards.bdf_tables.TABLEM3",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.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLEM3" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLEM4" [URL="#pyNastran.bdf.cards.bdf_tables.TABLEM4",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.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLEM4" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLES1" [URL="#pyNastran.bdf.cards.bdf_tables.TABLES1",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.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLES1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABLEST" [URL="#pyNastran.bdf.cards.bdf_tables.TABLEST",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.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABLEST" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABRND1" [URL="#pyNastran.bdf.cards.bdf_tables.TABRND1",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_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABRND1" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.TABRNDG" [URL="#pyNastran.bdf.cards.bdf_tables.TABRNDG",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="Gust Power Spectral Density"]; "pyNastran.bdf.cards.bdf_tables.Table" -> "pyNastran.bdf.cards.bdf_tables.TABRNDG" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pyNastran.bdf.cards.bdf_tables.Table" [URL="#pyNastran.bdf.cards.bdf_tables.Table",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.BaseCard" -> "pyNastran.bdf.cards.bdf_tables.Table" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

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

  • table_d

  • TABLED1 - Dynamic Table = f(Time, Frequency)

  • TABLED2

  • TABLED3

  • table_m

  • TABLEM1 - Material table = f(Temperature)

  • TABLEM2

  • TABLEM3

  • TABLEM4

*tables
  • TABLEST - Material table = f(Stress)

  • TABLES1

  • TABLEHT - Material table = f(Temperature)

  • TABLEH1

*random_tables
  • TABRND1

  • TABRNDG

class pyNastran.bdf.cards.bdf_tables.DTABLE(default_values, comment='')[source]

Bases: BaseCard

Creates a DTABLE card

Parameters:
default_valuesdict
keystr

the parameter name

valuefloat

the value

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 DTABLE card from BDF.add_card(...)

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

raw_fields()[source]
type = 'DTABLE'
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_tables.TABDMP1(tid: int, x: Any, y: Any, Type: str = 'G', comment: str = '')[source]

Bases: Table

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABDMP1'
class pyNastran.bdf.cards.bdf_tables.TABLED1(tid: int, x: ndarray, y: ndarray, xaxis: str = 'LINEAR', yaxis: str = 'LINEAR', extrap: int = 0, comment: str = '')[source]

Bases: Table

Dynamic Load Tabular Function, Form 1 Defines a tabular function for use in generating frequency-dependent and time-dependent dynamic loads.

1

2

3

4

5

6

7

8

9

TABLED1

TID

XAXIS

YAXIS

EXTRAP

x1

y1

x2

y2

x3

y3

etc.

ENDT

TABLED1

32

-3.0

6.9

2.0

5.6

3.0

5.6

ENDT

..note:: EXTRAP is NX specific

Creates a TABLED1, which is a dynamic load card that is applied by the DAREA card

Parameters:
tidint

table id

xlist[float]

nvalues

ylist[float]

nvalues

xaxisstr

LINEAR, LOG

yaxisstr

LINEAR, LOG

extrapint; default=0
Extrapolation method:

0 : linear 1 : constant

Note

this is NX specific

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

interpolate(x)[source]
raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLED1'
class pyNastran.bdf.cards.bdf_tables.TABLED2(tid: int, x1: float, x: ndarray, y: ndarray, extrap: int = 0, comment: str = '')[source]

Bases: Table

Dynamic Load Tabular Function, Form 2 Defines a tabular function for use in generating frequency-dependent and time-dependent dynamic loads. Also contains parametric data for use with the table.

Parameters:
tidint

table id

x1float

y = yT(x - x1)

xlist[float]

the x values

ylist[float]

the y values

extrapint; default=0
Extrapolation method:

0 : linear 1 : constant

Note

this is NX specific

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

interpolate(x)[source]
raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLED2'
class pyNastran.bdf.cards.bdf_tables.TABLED3(tid: int, x1: float, x2: float, x: ndarray, y: ndarray, extrap: int = 0, comment: str = '')[source]

Bases: Table

Dynamic Load Tabular Function, Form 3 Defines a tabular function for use in generating frequency-dependent and time-dependent dynamic loads. Also contains parametric data for use with the table.

Parameters:
tidint

table id

x1float

y = yT(x - x1)

x2???

???

xlist[float]

the x values

ylist[float]

the y values

extrapint; default=0
Extrapolation method:

0 : linear 1 : constant

Note

this is NX specific

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLED3'
class pyNastran.bdf.cards.bdf_tables.TABLED4(tid: int, x1: float, x2: float, x3: float, x4: float, a: list[float], comment: str = '')[source]

Bases: Table

Dynamic Load Tabular Function, Form 4 Defines the coefficients of a power series for use in generating frequency-dependent and time-dependent dynamic loads. Also contains parametric data for use with the table.

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

interpolate(x)[source]

y = sum_{i=0}^N Ai * ((x-x1)/x2))^i

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLED4'
class pyNastran.bdf.cards.bdf_tables.TABLED5(tid, xs, table_ids, comment='')[source]

Bases: Table

Dynamic Load Tabular Function, Form 5 Defines a value as a function of two variables for use in generating frequency-dependent and time-dependent dynamic loads.

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLED5'
class pyNastran.bdf.cards.bdf_tables.TABLEH1(tid, x, y, comment='')[source]

Bases: Table

1

2

3

4

5

6

7

8

9

TABLEH1

TID

x1

y1

x2

y2

x3

y3

etc.

ENDT

TABLEH1

32

0.0

0.0

0.01

0.2

ENDT

Adds a TABLEH1 card, which defines convection heat transfer coefficient. It’s referenced by a TABLEHT.

Parameters:
tidint

Table ID

x, ylist[float]

table values

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLEH1'
class pyNastran.bdf.cards.bdf_tables.TABLEHT(tid: int, x, y, comment='')[source]

Bases: Table

1

2

3

4

5

6 | 7

8

9

TABLEHT

TID


x1

tid1

x2

tid2

x3

tid3

etc.

ENDT

TABLEHT

32

10

11

ENDT

Adds a TABLEHT card, which a function of two variables for convection heat transfer coefficient.

Parameters:
tidint

Table ID

x, ylist[float]

table values

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLEHT'
class pyNastran.bdf.cards.bdf_tables.TABLEM1(tid: int, x, y, xaxis: str = 'LINEAR', yaxis: str = 'LINEAR', extrap: int = 0, comment: str = '')[source]

Bases: Table

Creates a TABLEM1, which is a dynamic load card that is applied by the DAREA card

Parameters:
tidint

table id

xlist[float]

nvalues

ylist[float]

nvalues

xaxisstr

LINEAR, LOG

yaxisstr

LINEAR, LOG

extrapint; default=0
Extrapolation method:

0 : linear 1 : constant

Note

this is NX specific

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLEM1'
class pyNastran.bdf.cards.bdf_tables.TABLEM2(tid, x1, x, y, extrap=0, comment='')[source]

Bases: Table

1

2

3

4

5

6

7

8

9

TABLEM2

TID

X1

EXTRAP

x1

y1

x2

y2

x3

y3

etc.

ENDT

TABLEM2

32

-10.5

-3.0

6.9

2.0

5.6

3.0

5.6

ENDT

..note:: EXTRAP is NX specific

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLEM2'
class pyNastran.bdf.cards.bdf_tables.TABLEM3(tid, x1, x2, x, y, extrap=0, comment='')[source]

Bases: Table

1

2

3

4

5

6

7

8

9

TABLEM3

TID

X1

X2

EXTRAP

x1

y1

x2

y2

x3

y3

etc.

ENDT

TABLEM3

32

126.9

30.0

-3.0

6.9

2.0

5.6

3.0

5.6

ENDT

..note:: EXTRAP is NX specific

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLEM3'
class pyNastran.bdf.cards.bdf_tables.TABLEM4(tid, x1, x2, x3, x4, a, comment='')[source]

Bases: Table

1

2

3

4

5

6

7

8

TABLEM4

TID

X1

X2

X3

X4

A1

A2

A3

A4

A5

etc.

ENDT

TABLEM4

32

0.0

1.0

0.0

2.91

-0.0329

6.51-5

0.0

-3.4-7

ENDT

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLEM4'
class pyNastran.bdf.cards.bdf_tables.TABLES1(tid, x, y, Type=1, comment='')[source]

Bases: Table

1

2

3

4

5

6

7

8

9

TABLES1

TID

TYPE

x1

y1

x2

y2

x3

y3

etc.

ENDT

TABLES1

32

0.0

0.0

0.01

0.2

ENDT

Adds a TABLES1 card, which defines a stress dependent material

Parameters:
tidint

Table ID

Typeint; default=1

Type of stress-strain curve (1 or 2) 1 - Cauchy (true) stress vs. total true strain 2 - Cauchy (true) stress vs. plastic true strain (MSC only) Type is MSC-specific and was added somewhere between 2006 and 2016.

x, ylist[float]

table values

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLES1'
class pyNastran.bdf.cards.bdf_tables.TABLEST(tid: int, x, y, extrap: int = 0, comment: str = '')[source]

Bases: Table

1

2

3

4

5

6 | 7

8

9

TABLEST

TID

EXTRAP


x1

y1

x2

y2

x3

y3

etc.

ENDT

TABLEST

32

150.0

10

175.0

20

ENDT

Extrap is an NX specific flag

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

cross_reference(model: BDF) None[source]
raw_fields()[source]
repr_fields()[source]

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABLEST'
class pyNastran.bdf.cards.bdf_tables.TABRND1(tid, x, y, xaxis='LINEAR', yaxis='LINEAR', comment='')[source]

Bases: Table

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

type = 'TABRND1'
class pyNastran.bdf.cards.bdf_tables.TABRNDG(tid, Type, LU, WG, comment='')[source]

Bases: Table

Gust Power Spectral Density

Defines the power spectral density (PSD) of a gust for aeroelastic response analysis.

Creates a TABRNDG card

Parameters:
tidint

table id

Typeint

PSD type 1 : von Karman 2 : Dryden

LUfloat

Scale of turbulence divided by velocity (units of time)

WGfloat

Root-mean-square gust velocity

commentstr; default=’’

a comment for the card

LU

Scale of turbulence divided by velocity (units of time; Real)

Type

PSD Type: 1. von Karman; 2. Dryden

WG

Root-mean-square gust velocity. (Real)

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

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

Parameters:
cardBDFCard()

a BDFCard object

commentstr; default=’’

a comment for the card

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

Gets the fields in their simplified form

Returns:
fieldslist[varies]

the fields that define the card

tid

Table identification number. (Integer >0)

type = 'TABRNDG'
class pyNastran.bdf.cards.bdf_tables.Table[source]

Bases: BaseCard

plot(figure_id=None)[source]
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

pyNastran.bdf.cards.bdf_tables._map_axis(axis)[source]
pyNastran.bdf.cards.bdf_tables.make_xy(table_id, table_type, xy)[source]
pyNastran.bdf.cards.bdf_tables.read_table(card: BDFCard, table_id: int, table_type: str) tuple[np.ndarray, np.ndarray][source]

common method for reading tables that handles SKIP

pyNastran.bdf.cards.bdf_tables.read_table_float_int(card: BDFCard, table_id: int, table_type: str) tuple[np.ndarray, np.ndarray][source]

common method for reading tables that handles SKIP

pyNastran.bdf.cards.bdf_tables.read_table_lax(card: BDFCard, table_id: int, table_type: str) tuple[np.ndarray, np.ndarray][source]

common method for reading tables that handles SKIP

pyNastran.bdf.cards.bdf_tables.read_tablest(card: BDFCard, table_id: int, table_type: str) tuple[np.ndarray, np.ndarray][source]

common method for reading tables that handles SKIP