material_deps Module

Inheritance diagram of pyNastran.bdf.cards.material_deps

All material dependency cards are defined in this file. This includes:

  • MATS1 (isotropic solid/shell)

  • MATT1 (isotropic solid/shell)

  • MATT2 (anisotropic)

  • MATT3 (linear orthotropic) - NA

  • MATT4 (thermal)

  • MATT5 (thermal)

  • MATT8 (orthotropic shell) - NA

  • MATT9 (anisotropic solid) - NA

All cards are Material objects.

class pyNastran.bdf.cards.material_deps.MATS1(mid, tid, Type, h, hr, yf, limit1, limit2, comment='')[source]

Bases: pyNastran.bdf.cards.material_deps.MaterialDependence

Specifies stress-dependent material properties for use in applications involving nonlinear materials. This entry is used if a MAT1, MAT2 or MAT9 entry is specified with the same MID in a nonlinear solution sequence (SOLs 106 and 129).

E(strain)[source]

Gets E (Young’s Modulus) for a given strain.

Parameters
strainfloat / None

the strain (None -> linear E value)

Returns
Efloat

Young’s Modulus

Hf()[source]
Tid()[source]
Type = None

Type of material nonlinearity. (‘NLELAST’ for nonlinear elastic or ‘PLASTIC’ for elastoplastic.)

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

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

h = None

Work hardening slope (slope of stress versus plastic strain) in units of stress. For elastic-perfectly plastic cases, H=0.0. For more than a single slope in the plastic range, the stress-strain data must be supplied on a TABLES1 entry referenced by TID, and this field must be blank

hr = None

Hardening Rule, selected by one of the following values (Integer): (1) Isotropic (Default) (2) Kinematic (3) Combined isotropic and kinematic hardening

limit1 = None

Initial yield point

limit2 = None

Internal friction angle, measured in degrees, for the Mohr-Coulomb and Drucker-Prager yield criteria

mid = None

Identification number of a MAT1, MAT2, or MAT9 entry.

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

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

tid = None

Identification number of a TABLES1 or TABLEST entry. If H is given, then this field must be blank.

type = 'MATS1'
uncross_reference() → None[source]

Removes cross-reference links

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

yf = None

Yield function criterion, selected by one of the following values (1) Von Mises (2) Tresca (3) Mohr-Coulomb (4) Drucker-Prager

class pyNastran.bdf.cards.material_deps.MATT1(mid, e_table=None, g_table=None, nu_table=None, rho_table=None, a_table=None, ge_table=None, st_table=None, sc_table=None, ss_table=None, comment='')[source]

Bases: pyNastran.bdf.cards.material_deps.MaterialDependenceThermal

Specifies temperature-dependent material properties on MAT1 entry fields via TABLEMi entries.

1

2

3

4

5

6

7

8

9

MATT1

MID

T(E)

T(G)

T(NU)

T(RHO)

T(A)

T(GE)

T(ST)

T(SC)

T(SS)

A_table()[source]
E(temperature)[source]

Gets E (Young’s Modulus) for a given temperature.

Parameters
temperaturefloat; default=None

the temperature (None -> linear E value)

Returns
Efloat

Young’s Modulus

E_table()[source]
G_table()[source]
Ge_table()[source]
Nu_table()[source]
Rho_table()[source]
Sc_table()[source]
Ss_table()[source]
St_table()[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

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

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

type = 'MATT1'
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.material_deps.MATT2(mid, g11_table=None, g12_table=None, g13_table=None, g22_table=None, g23_table=None, g33_table=None, rho_table=None, a1_table=None, a2_table=None, a3_table=None, ge_table=None, st_table=None, sc_table=None, ss_table=None, comment='')[source]

Bases: pyNastran.bdf.cards.material_deps.MaterialDependenceThermal

Specifies temperature-dependent material properties on MAT2 entry fields via TABLEMi entries.

1

2

3

4

5

6

7

8

9

MATT2

MID

T(G12)

T(G13)

T(G13)

T(G22)

T(G23)

T(G33)

T(RHO)

T(A1)

T(A2)

T(A3)

T(GE)

T(ST)

T(SC)

T(SS)

A1_table()[source]
A2_table()[source]
A3_table()[source]
G11_table()[source]
G12_table()[source]
G13_table()[source]
G22_table()[source]
G23_table()[source]
G33_table()[source]
Ge_table()[source]
Rho_table()[source]
Sc_table()[source]
Ss_table()[source]
St_table()[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

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

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

type = 'MATT2'
uncross_reference() → None[source]

Removes cross-reference links

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.material_deps.MATT3(mid, ex_table=None, eth_table=None, ez_table=None, nuth_table=None, nuxz_table=None, rho_table=None, gzx_table=None, ax_table=None, ath_table=None, az_table=None, ge_table=None, comment='')[source]

Bases: pyNastran.bdf.cards.material_deps.MaterialDependenceThermal

Specifies temperature-dependent material properties on MAT3 entry fields via TABLEMi entries that are temperature dependent.

1

2

3

4

5

6

7

8

9

MATT3

MID

T(EX)

T(ETH)

T(EZ)

T(NUXTH)

T(NUTHZ)

T(NUZX)

T(RHO)

T(GZX)

T(AX)

T(ATH)

T(AZ)

T(GE)

Creates a MATT3 card

Ath_table()[source]
Ax_table()[source]
Az_table()[source]
Eth_table()[source]
Ex_table()[source]
Ez_table()[source]
Ge_table()[source]
Gzx_table()[source]
Nuth_table()[source]
Nuxz_table()[source]
Rho_table()[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

Removes cross-reference links

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.material_deps.MATT4(mid, k_table=None, cp_table=None, h_table=None, mu_table=None, hgen_table=None, comment='')[source]

Bases: pyNastran.bdf.cards.material_deps.MaterialDependenceThermal

Specifies temperature-dependent material properties on MAT2 entry fields via TABLEMi entries.

1

2

3

4

5

6

7

8

MATT4

MID

T(K)

T(CP)

T(H)

T(mu)

T(HGEN)

Cp_table()[source]
H_table()[source]
Hgen_table()[source]
K_table()[source]
Mu_table()[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

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

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

type = 'MATT4'
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.material_deps.MATT5(mid, kxx_table=None, kxy_table=None, kxz_table=None, kyy_table=None, kyz_table=None, kzz_table=None, cp_table=None, hgen_table=None, comment='')[source]

Bases: pyNastran.bdf.cards.material_deps.MaterialDependenceThermal

Specifies temperature-dependent material properties on MAT2 entry fields via TABLEMi entries.

1

2

3

4

5

6

7

8

9

MATT5

MID

T(Kxx)

T(Kxy)

T(Kxz)

T(Kyy)

T(Kyz)

T(Kzz)

T(CP)

T(HGEN)

Cp_table()[source]
Hgen_table()[source]
Kxx_table()[source]
Kxy_table()[source]
Kxz_table()[source]
Kyy_table()[source]
Kyz_table()[source]
Kzz_table()[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

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

Gets the fields in their simplified form

Returns
fieldsList[varies]

the fields that define the card

type = 'MATT5'
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.material_deps.MATT8(mid, e1_table=None, e2_table=None, nu12_table=None, g12_table=None, g1z_table=None, g2z_table=None, rho_table=None, a1_table=None, a2_table=None, xt_table=None, xc_table=None, yt_table=None, yc_table=None, s_table=None, ge_table=None, f12_table=None, comment='')[source]

Bases: pyNastran.bdf.cards.material_deps.MaterialDependenceThermal

Specifies temperature-dependent material properties on MAT2 entry fields via TABLEMi entries.

1

2

3

4

5

6

7

8

9

MATT8

MID

T(E1)

T(E2)

T(Nu12)

T(G12)

T(G1z)

T(G2z)

T(RHO)

T(A1)

T(A2)

T(Xt)

T(Xc)

T(Yt)

T(Yc)

T(S)

T(GE)

T(F12)

A1_table()[source]
A2_table()[source]
E1_table()[source]
E2_table()[source]
F12_table()[source]
G12_table()[source]
G1z_table()[source]
G2z_table()[source]
Ge_table()[source]
Nu12_table()[source]
Rho_table()[source]
S_table()[source]
Xc_table()[source]
Xt_table()[source]
Yc_table()[source]
Yt_table()[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

raw_fields()[source]
type = 'MATT8'
uncross_reference() → None[source]

Removes cross-reference links

write_card(size: int = 8, is_double: bool = False) → str[source]

1

2

3

4

5

6

7

8

9

MATT9

MID

T(G11)

T(G12)

T(G13)

T(G14)

T(G15)

T(G16)

T(G22)

T(G23)

T(G24)

T(G25)

T(G26)

T(G33)

T(G34)

T(G35)

T(G36)

T(G44)

T(G45)

T(G46)

T(G55)

T(G56)

T(G66)

T(RHO)

T(A1)

T(A2)

T(A3)

T(A4)

T(A5)

T(A6)

T(GE)

class pyNastran.bdf.cards.material_deps.MATT9(mid, g11_table=None, g12_table=None, g13_table=None, g14_table=None, g15_table=None, g16_table=None, g22_table=None, g23_table=None, g24_table=None, g25_table=None, g26_table=None, g33_table=None, g34_table=None, g35_table=None, g36_table=None, g44_table=None, g45_table=None, g46_table=None, g55_table=None, g56_table=None, g66_table=None, rho_table=None, a1_table=None, a2_table=None, a3_table=None, a4_table=None, a5_table=None, a6_table=None, ge_table=None, comment='')[source]

Bases: pyNastran.bdf.cards.material_deps.MaterialDependenceThermal

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

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

raw_fields()[source]
type = 'MATT9'
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.material_deps.MaterialDependence[source]

Bases: pyNastran.bdf.cards.base_card.BaseCard

Mid()[source]
_get_table(key)[source]

internal method for accessing tables

class pyNastran.bdf.cards.material_deps.MaterialDependenceThermal[source]

Bases: pyNastran.bdf.cards.material_deps.MaterialDependence

_xref_table(model, key, msg)[source]