pub struct MultiMaterialAM {
pub e_a: f64,
pub e_b: f64,
pub rho_a: f64,
pub rho_b: f64,
pub k_a: f64,
pub k_b: f64,
pub grading_exponent: f64,
pub grading_height_m: f64,
}Expand description
Functionally-graded material (FGM) deposition in multi-material AM.
Describes a composition transition between two constituent materials along the build direction using a power-law profile.
Fields§
§e_a: f64Young’s modulus of material A (Pa).
e_b: f64Young’s modulus of material B (Pa).
rho_a: f64Density of material A (kg/m³).
rho_b: f64Density of material B (kg/m³).
k_a: f64Thermal conductivity of material A (W/m·K).
k_b: f64Thermal conductivity of material B (W/m·K).
grading_exponent: f64Power-law exponent n for the grading profile. n=0 → pure A; n→∞ → pure B; n=1 → linear.
grading_height_m: f64Total build height over which grading occurs (m).
Implementations§
Source§impl MultiMaterialAM
impl MultiMaterialAM
Sourcepub fn new(
e_a: f64,
e_b: f64,
rho_a: f64,
rho_b: f64,
k_a: f64,
k_b: f64,
grading_exponent: f64,
grading_height_m: f64,
) -> Self
pub fn new( e_a: f64, e_b: f64, rho_a: f64, rho_b: f64, k_a: f64, k_b: f64, grading_exponent: f64, grading_height_m: f64, ) -> Self
Construct a MultiMaterialAM graded transition.
Sourcepub fn volume_fraction_b(&self, z_m: f64) -> f64
pub fn volume_fraction_b(&self, z_m: f64) -> f64
Volume fraction of material B at height z_m (m from the bottom).
V_B(z) = (z / H)^n
Sourcepub fn effective_modulus(&self, z_m: f64) -> f64
pub fn effective_modulus(&self, z_m: f64) -> f64
Effective Young’s modulus at height z_m using the rule of mixtures.
Sourcepub fn effective_density(&self, z_m: f64) -> f64
pub fn effective_density(&self, z_m: f64) -> f64
Effective density at height z_m (kg/m³).
Sourcepub fn effective_conductivity(&self, z_m: f64) -> f64
pub fn effective_conductivity(&self, z_m: f64) -> f64
Effective thermal conductivity at height z_m (W/m·K).
Sourcepub fn average_modulus(&self) -> f64
pub fn average_modulus(&self) -> f64
Average (integrated) modulus over the full grading height.
Trait Implementations§
Source§impl Clone for MultiMaterialAM
impl Clone for MultiMaterialAM
Source§fn clone(&self) -> MultiMaterialAM
fn clone(&self) -> MultiMaterialAM
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more