material_deps
Module¶
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
-
Type
= None¶ Type of material nonlinearity. (‘NLELAST’ for nonlinear elastic or ‘PLASTIC’ for elastoplastic.)
-
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.
-
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'¶
-
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)
-
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
-
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
-
repr_fields
()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[varies]
the fields that define the card
-
type
= 'MATT1'¶
-
-
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)
-
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
-
repr_fields
()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[varies]
the fields that define the card
-
type
= 'MATT2'¶
-
classmethod
-
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
-
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
-
repr_fields
()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[varies]
the fields that define the card
-
type
= 'MATT3'¶
-
classmethod
-
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)
-
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
-
repr_fields
()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[varies]
the fields that define the card
-
type
= 'MATT4'¶
-
classmethod
-
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)
-
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
-
repr_fields
()[source]¶ Gets the fields in their simplified form
- Returns
- fieldsList[varies]
the fields that define the card
-
type
= 'MATT5'¶
-
classmethod
-
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)
-
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
-
type
= 'MATT8'¶
-
classmethod
-
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
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
-
type
= 'MATT9'¶
-
classmethod