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

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

Parameters:
strain : float / None

the strain (None -> linear E value)

Returns:
E : float

Young’s Modulus

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

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

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

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

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

Gets the fields in their simplified form

Returns:
fields : List[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(self)[source]

Removes cross-reference links

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

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

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

Parameters:
temperature : float; default=None

the temperature (None -> linear E value)

Returns:
E : float

Young’s Modulus

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

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

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

Gets the fields in their simplified form

Returns:
fields : List[varies]

the fields that define the card

type = 'MATT1'
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.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(self)[source]
A2_table(self)[source]
A3_table(self)[source]
G11_table(self)[source]
G12_table(self)[source]
G13_table(self)[source]
G22_table(self)[source]
G23_table(self)[source]
G33_table(self)[source]
Ge_table(self)[source]
Rho_table(self)[source]
Sc_table(self)[source]
Ss_table(self)[source]
St_table(self)[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

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

Gets the fields in their simplified form

Returns:
fields : List[varies]

the fields that define the card

type = 'MATT2'
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.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(self)[source]
Ax_table(self)[source]
Az_table(self)[source]
Eth_table(self)[source]
Ex_table(self)[source]
Ez_table(self)[source]
Ge_table(self)[source]
Gzx_table(self)[source]
Nuth_table(self)[source]
Nuxz_table(self)[source]
Rho_table(self)[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

Parameters:
card : BDFCard()

a BDFCard object

comment : str; default=’‘

a comment for the card

cross_reference(self, model)[source]
raw_fields(self)[source]
repr_fields(self)[source]

Gets the fields in their simplified form

Returns:
fields : List[varies]

the fields that define the card

type = 'MATT3'
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.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(self)[source]
H_table(self)[source]
Hgen_table(self)[source]
K_table(self)[source]
Mu_table(self)[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

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

Gets the fields in their simplified form

Returns:
fields : List[varies]

the fields that define the card

type = 'MATT4'
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.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(self)[source]
Hgen_table(self)[source]
Kxx_table(self)[source]
Kxy_table(self)[source]
Kxz_table(self)[source]
Kyy_table(self)[source]
Kyz_table(self)[source]
Kzz_table(self)[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

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

Gets the fields in their simplified form

Returns:
fields : List[varies]

the fields that define the card

type = 'MATT5'
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.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(self)[source]
A2_table(self)[source]
E1_table(self)[source]
E2_table(self)[source]
F12_table(self)[source]
G12_table(self)[source]
G1z_table(self)[source]
G2z_table(self)[source]
Ge_table(self)[source]
Nu12_table(self)[source]
Rho_table(self)[source]
S_table(self)[source]
Xc_table(self)[source]
Xt_table(self)[source]
Yc_table(self)[source]
Yt_table(self)[source]
classmethod _init_from_empty()[source]
classmethod add_card(card, comment='')[source]

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

raw_fields(self)[source]
type = 'MATT8'
uncross_reference(self)[source]

Removes cross-reference links

write_card(self, size=8, is_double=False)[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:
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

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

Bases: pyNastran.bdf.cards.base_card.BaseCard

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

internal method for accessing tables

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

Bases: pyNastran.bdf.cards.material_deps.MaterialDependence

_xref_table(self, model, key, msg)[source]