Skip to main content

Module material_database

Module material_database 

Source
Expand description

§Material Property Database

Provides a database of common engineering materials with property lookup, temperature-dependent interpolation, and unit conversion. Used by FEM and simulation modules to obtain material properties for structural, thermal, and fluid analyses.

§Features

  • Built-in materials: Common metals, polymers, ceramics, and composites
  • Property lookup: Density, Young’s modulus, Poisson’s ratio, thermal conductivity, etc.
  • Temperature interpolation: Linear interpolation for temperature-dependent properties
  • Unit conversion: Convert between SI and common engineering unit systems
  • Custom materials: Add user-defined materials with arbitrary properties

Structs§

Material
A material definition with its properties.
MaterialDatabase
A database of materials with built-in common engineering materials.

Enums§

MaterialCategory
Categories of materials.
PressureUnit
Pressure unit for conversions.
PropertyId
Standard material property identifiers.
PropertyValue
A property value that may be temperature-dependent.
TemperatureUnit
Temperature unit for conversions.

Functions§

convert_pressure
Convert pressure between units.
convert_temperature
Convert temperature between units.