๐Ÿ”ฌ Engineering Analysis Platform

Predict Material Failure Before It Happens

Interactive calculator for Griffith Crack Theory, Irwin Stress Intensity, Paris-Erdogan Law, Von Mises & Tresca criteria. Built for engineers, researchers, and students โ€” with real Python backend and beautiful visualizations.

6
Failure Theorems
100%
Python Backend
โˆž
Offline Capable
โšก Griffith Crack Calculator
Breaking Strength ฯƒ
189.7 MPa
ฯƒ = โˆš[(2ฮณโ‚›E)/(ฯ€a)]
Kโ‚ = ฯƒโˆš(ฯ€a)
da/dN = A(ฮ”K)แต

โš™๏ธ Core Failure Theorems

Six powerful engineering models for predicting material failure โ€” from brittle fracture to fatigue crack growth. Each theorem includes interactive calculations and real-world applications.

๐Ÿ”ฌ

Griffith Crack Theory

Predicts crack propagation in brittle materials when released potential energy exceeds surface energy. Critical for glass, ceramics, and concrete failure analysis.

ฯƒ = โˆš[(2 ร— ฮณโ‚› ร— E) / (ฯ€ ร— a)]
Glass Ceramics Concrete Brittle Fracture
๐ŸŒ‰

Irwin Stress Intensity

Quantifies stress field near crack tip using stress intensity factor K. Essential for bridge ties, aircraft structures, and pressure vessel integrity assessment.

Kโ‚ = ฯƒ ร— โˆš(ฯ€ ร— a)
Aircraft Bridges Pressure Vessels KIC Testing
๐Ÿ”„

Paris-Erdogan Law

Predicts fatigue crack growth rate under cyclic loading. Fundamental for aircraft maintenance schedules, rotating machinery, and component lifespan estimation.

da/dN = A ร— (ฮ”K)m
Fatigue Analysis Maintenance Planning Life Prediction Cyclic Loading
โš™๏ธ

Von Mises Criterion

Predicts yielding in ductile materials based on distortion energy. Widely used in ASME pressure vessel codes and finite element analysis (FEA).

ฯƒvm = โˆš[0.5 ร— ((ฯƒโ‚-ฯƒโ‚‚)ยฒ + (ฯƒโ‚‚-ฯƒโ‚ƒ)ยฒ + (ฯƒโ‚ƒ-ฯƒโ‚)ยฒ)]
Ductile Metals FEA ASME Codes Multiaxial Stress
๐Ÿ›ข๏ธ

Tresca Criterion

Maximum shear stress theory for ductile failure. More conservative than Von Mises, preferred for safety-critical shaft, bolt, and pin designs.

ฯ„max = (ฯƒโ‚ - ฯƒโ‚ƒ) / 2 = ฯƒy / 2
Shaft Design Bolts & Pins Safety Factors Conservative Design
๐Ÿ“ฆ

Thin Cylinder Analysis

Analyzes stress in thin-walled pressure vessels (t/r < 0.1). Essential for pipeline, storage tank, boiler, and compressed gas cylinder design per ASME BPVC.

ฯƒhoop = (P ร— d) / (2 ร— t)
Pipelines Boilers Gas Cylinders ASME BPVC

๐ŸŽฎ Interactive Stress Analysis

Adjust parameters in real-time and visualize stress fields, crack propagation, and failure thresholds. Powered by Python backend with instant calculations.

๐Ÿ”ด Crack Tip โ€ข ๐ŸŸ  High Stress โ€ข ๐ŸŸข Safe Zone
Applied Stress ฯƒ:
185 MPa
Crack Length a:
0.8 mm
Fracture Toughness KIC:
35 MPaโˆšm
โšก Stress Intensity Factor Kโ‚
29.4 MPaโˆšm
โœ“ Safe: Kโ‚ < KIC (No propagation)

๐Ÿ Python Source Code

Full backend implementation in Python โ€” clean, documented, and ready to integrate. Includes all six theorems, unit handling, visualization utilities, and export capabilities.

failure_theorems.py
# Engineering Failure Prediction Theorems
# ProximaED โ€ข Python 3.11+ โ€ข NumPy, SciPy, Matplotlib

import numpy as np
from dataclasses import dataclass
from typing import Optional

@dataclass
class MaterialProperties:
    elastic_modulus: float # GPa
    surface_energy: float # J/mยฒ
    fracture_toughness: float # MPaโˆšm
    yield_strength: float # MPa

class GriffithTheory:
    @staticmethod
    def breaking_strength(gamma_s: float, E: float, a: float) -> float:
        """Calculate critical stress for brittle fracture"""
        return np.sqrt((2 * gamma_s * E * 1e9) / (np.pi * a * 1e-3)) / 1e6 # MPa

class IrwinStressIntensity:
    @staticmethod
    def stress_intensity_factor(sigma: float, a: float) -> float:
        """Mode I stress intensity factor Kโ‚"""
        return sigma * np.sqrt(np.pi * a * 1e-3) # MPaโˆšm
    
    @staticmethod
    def critical_load(K_IC: float, a: float, area: float) -> float:
        """Maximum load before fracture"""
        sigma_crit = K_IC / np.sqrt(np.pi * a * 1e-3)
        return sigma_crit * area * 1e6 # Newtons
# ... 4 more theorem classes with full implementations
โœ“
Type-hinted, PEP 8 compliant code
โœ“
Unit conversion utilities (SI/imperial)
โœ“
Matplotlib visualization helpers
โœ“
JSON/CSV export for results
โœ“
Comprehensive docstrings & examples
โœ“
pytest test suite included
โฌ‡๏ธ

Download Full Source

Complete Python package with all 6 theorems, documentation, examples, and visualization tools. Ready to run locally or integrate into your workflow.

12 KB
Package Size
Python 3.11+
Requirement
MIT License
Open Source
๐Ÿ“ฆ Download failure_theorems.zip

Includes: failure_theorems.py โ€ข visualizations.py โ€ข examples/ โ€ข tests/ โ€ข README.md

๐Ÿ”— Seamless Integration

Use the Python backend standalone, embed calculations in Jupyter notebooks, or connect via API to your existing engineering workflows.

๐Ÿ““

Jupyter Notebooks

Interactive notebooks with live calculations, plots, and parameter sweeps. Perfect for education and research.

๐ŸŒ

Web API Backend

Wrap calculations in Flask/FastAPI for web applications. Includes input validation and error handling.

๐Ÿ“Š

Data Analysis Pipelines

Integrate with pandas for batch processing of material test data, fatigue life predictions, and safety assessments.

๐ŸŽ“

Educational Tools

Build interactive learning modules for mechanics of materials, fracture mechanics, and design courses.

Part of the ProximaED ecosystem โ€” designed for educators, engineers, and researchers who demand accuracy, transparency, and offline capability.

โ† Back to ProximaED Platform