Skip to main content

RadiationDamage

Struct RadiationDamage 

Source
pub struct RadiationDamage {
    pub threshold_energy_ev: f64,
    pub atomic_density: f64,
    pub yield_strength_initial: f64,
    pub dpa: f64,
    pub void_fraction: f64,
    pub helium_conc_appm: f64,
}
Expand description

Radiation damage material model.

Tracks displacement per atom (dpa), void swelling, embrittlement, and He bubble growth.

Fields§

§threshold_energy_ev: f64

Displacement threshold energy Ed (eV).

§atomic_density: f64

Atomic density n (atoms/m³).

§yield_strength_initial: f64

Initial yield strength σy0 (Pa).

§dpa: f64

Accumulated dpa (displacement per atom).

§void_fraction: f64

Void swelling fraction (dimensionless).

§helium_conc_appm: f64

Helium concentration (appm).

Implementations§

Source§

impl RadiationDamage

Source

pub fn ss316l() -> Self

Creates a stainless steel 316L radiation damage model.

Source

pub fn compute_dpa(&self, flux: f64, cross_section: f64, time: f64) -> f64

Irradiation dose in dpa from neutron flux and cross-section.

dpa = φ * σ_d * t / (n * Ed * 2).

Source

pub fn irradiation_hardening(&self, k_hardening: f64) -> f64

Yield strength increase due to irradiation hardening.

Δσy ≈ α * μ * b * sqrt(N_d), where N_d ~ dpa density (simplified to Δσy = k * sqrt(dpa)).

Source

pub fn yield_strength(&self, k_hardening: f64) -> f64

Total yield strength (initial + hardening).

Source

pub fn void_swelling_rate( &self, temperature_k: f64, a_coeff: f64, b_coeff: f64, ) -> f64

Void swelling rate: dS/ddpa ≈ A * exp(-B/T) (temperature-dependent).

Source

pub fn bubble_radius(&self, bubble_density: f64) -> f64

Helium bubble growth: r ~ (3 * C_He / (4π * n_b))^(1/3).

Source

pub fn dbtt_shift_k(&self) -> f64

Ductile-to-brittle transition temperature shift (DBTT shift ~ 20°C/dpa).

Trait Implementations§

Source§

impl Clone for RadiationDamage

Source§

fn clone(&self) -> RadiationDamage

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RadiationDamage

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.