Welcome to materforge’s documentation!
materforge is a Python library for materials science and thermophysical property calculations.
Installation
Install materforge using pip:
pip install materforge
Or install from source:
git clone https://github.com/rahildoshi97/materforge.git
cd materforge
pip install -e .
Quick Start
Here’s a simple example to get you started:
import sympy as sp
from materforge import create_material
# Create a material with symbolic temperature
T = sp.Symbol('T')
material = create_material('steel.yaml', T)
# Evaluate properties at a specific temperature
properties = material.evaluate_properties_at_temperature(500.0)
print(properties)
Contents:
- Getting Started with materforge
- Creating Your First Material Simulation
- Defining Custom Material Properties
- Converting Between Energy Density and Temperature
- Use inverse function
- Design Philosophy of MaterForge
- Material Properties in MaterForge
- YAML Schema for Material Definition
- API Reference
- Material API Reference