pub struct MeltPoolGeometry {
pub half_width: f64,
pub half_length: f64,
pub depth: f64,
}Expand description
Estimated melt pool geometry from process parameters and material properties.
Based on the Eagar-Tsai analytical model (simplified).
Fields§
§half_width: f64Melt pool half-width (m).
half_length: f64Melt pool half-length (m) (in scan direction).
depth: f64Melt pool depth (m).
Implementations§
Source§impl MeltPoolGeometry
impl MeltPoolGeometry
Sourcepub fn eagar_tsai(
mat: &PbfMaterial,
params: &PbfProcessParams,
ambient_temp: f64,
) -> Self
pub fn eagar_tsai( mat: &PbfMaterial, params: &PbfProcessParams, ambient_temp: f64, ) -> Self
Estimate melt pool geometry using the simplified Eagar-Tsai model.
§Arguments
mat— Material properties.params— Process parameters.ambient_temp— Ambient/preheat temperature (K).
Sourcepub fn aspect_ratio(&self) -> f64
pub fn aspect_ratio(&self) -> f64
Aspect ratio (length / width).
Trait Implementations§
Source§impl Clone for MeltPoolGeometry
impl Clone for MeltPoolGeometry
Source§fn clone(&self) -> MeltPoolGeometry
fn clone(&self) -> MeltPoolGeometry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MeltPoolGeometry
impl RefUnwindSafe for MeltPoolGeometry
impl Send for MeltPoolGeometry
impl Sync for MeltPoolGeometry
impl Unpin for MeltPoolGeometry
impl UnsafeUnpin for MeltPoolGeometry
impl UnwindSafe for MeltPoolGeometry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more