Examples#

This gallery walks through every public feature of engineeringkit.materials, one breakthrough per script: X-ray diffraction, diffusion, transformation kinetics, elastic constants and thermal stress, hardness, the yield criteria, composites from the rules of mixtures to laminates, fatigue from Goodman to Neuber, fracture from Griffith to Paris and Weibull, creep, and the dislocation theory of plasticity.

Units, assumptions and numerical validation gives the physical validity limits. Each script is self-contained and can be run directly with python examples/materials/<section>/<script>.py.

Sections#

  • crystals – the Braggs’ law of X-ray diffraction.

  • diffusion – Fick’s laws and carburizing.

  • phases – Avrami’s transformation kinetics and the lever rule.

  • elasticity – Young’s modulus, Duhamel’s thermal stress and Lamé’s constants.

  • hardness – Brinell’s hardness test.

  • yield – Tresca’s maximum-shear criterion and von Mises’s distortion energy.

  • composites – the Voigt and Reuss bounds, the Halpin-Tsai equations and classical laminate theory.

  • fatigue – Goodman’s diagram, Basquin’s S-N law, Palmgren-Miner damage, Coffin-Manson low-cycle fatigue and Neuber’s rule.

  • fracture – Griffith’s energy balance, Irwin’s stress intensity factor, Paris’s law and Weibull’s brittle strength.

  • creep – Norton’s power-law creep and the Larson-Miller parameter.

  • plasticity – dislocations, the Ramberg-Osgood curve and Hall-Petch strengthening.

Composites#

Rules of mixtures, the Halpin-Tsai equations and classical laminate theory.

Voigt and Reuss: bounds on a composite’s stiffness (1889-1929)

Voigt and Reuss: bounds on a composite's stiffness (1889-1929)

The Halpin-Tsai equations (1969)

The Halpin-Tsai equations (1969)

Reissner and Stavsky: classical laminate theory (1961)

Reissner and Stavsky: classical laminate theory (1961)

Creep#

Steady creep and time-temperature parameters for rupture.

Norton’s power-law creep (1929)

Norton's power-law creep (1929)

The Larson-Miller parameter (1952)

The Larson-Miller parameter (1952)

Crystals#

Unit cells, packing, theoretical density and X-ray diffraction.

The Braggs’ law of X-ray diffraction (1913)

The Braggs' law of X-ray diffraction (1913)

Diffusion#

Fick’s laws, the Arrhenius diffusivity and case carburizing.

Fick’s laws of diffusion (1855)

Fick's laws of diffusion (1855)

Elasticity#

Young’s modulus, thermal stress and the isotropic elastic constants.

Young’s modulus (1807)

Young's modulus (1807)

Duhamel’s thermal stress (1838)

Duhamel's thermal stress (1838)

Lamé’s elastic constants (1852)

Lamé's elastic constants (1852)

Fatigue#

Stress-life, mean stress, cumulative damage, strain-life and notches.

Goodman’s mean-stress diagram (1899)

Goodman's mean-stress diagram (1899)

Basquin’s S-N law (1910)

Basquin's S-N law (1910)

Palmgren and Miner’s cumulative damage (1945)

Palmgren and Miner's cumulative damage (1945)

Coffin and Manson: low-cycle fatigue (1954)

Coffin and Manson: low-cycle fatigue (1954)

Neuber’s rule for notches that yield (1961)

Neuber's rule for notches that yield (1961)

Fracture#

Brittle fracture, the stress intensity factor, fatigue crack growth and the statistics of brittle strength.

Griffith’s theory of brittle fracture (1920)

Griffith's theory of brittle fracture (1920)

Irwin’s stress intensity factor (1957)

Irwin's stress intensity factor (1957)

Paris’s crack-growth law (1963)

Paris's crack-growth law (1963)

Weibull’s statistical strength of brittle materials (1939)

Weibull's statistical strength of brittle materials (1939)

Hardness#

Indentation hardness and its link to tensile strength.

Brinell’s hardness test (1900)

Brinell's hardness test (1900)

Phases#

The lever rule on a binary phase diagram and transformation kinetics.

Avrami’s transformation kinetics (1939)

Avrami's transformation kinetics (1939)

Plasticity#

Dislocations, strain hardening and grain-size strengthening.

Taylor, Orowan and Polanyi: dislocations (1934)

Taylor, Orowan and Polanyi: dislocations (1934)

Ramberg and Osgood’s stress-strain curve (1943)

Ramberg and Osgood's stress-strain curve (1943)

Hall and Petch: grain-size strengthening (1951-1953)

Hall and Petch: grain-size strengthening (1951-1953)

Yield#

Multiaxial yield criteria for ductile metals.

Tresca’s maximum-shear yield criterion (1864)

Tresca's maximum-shear yield criterion (1864)

Von Mises’s yield criterion (1913)

Von Mises's yield criterion (1913)

Gallery generated by Sphinx-Gallery