Skip to main content

AblationModel

Struct AblationModel 

Source
pub struct AblationModel {
    pub t_ablation: f64,
    pub heat_of_ablation: f64,
    pub density: f64,
    pub arrhenius_a: f64,
    pub activation_temp: f64,
}
Expand description

Ablation model for surface recession under extreme heat flux.

Models the recession of a material surface when the surface temperature exceeds the ablation (sublimation or vaporization) threshold. The recession rate is governed by the Arrhenius-like expression.

Fields§

§t_ablation: f64

Ablation threshold temperature T_ab [K].

§heat_of_ablation: f64

Heat of ablation (enthalpy of vaporization) L_ab [J/kg].

§density: f64

Material density [kg/m³].

§arrhenius_a: f64

Pre-exponential factor A [m/s].

§activation_temp: f64

Activation temperature T_act = Ea/(R) [K].

Implementations§

Source§

impl AblationModel

Source

pub fn new( t_ablation: f64, heat_of_ablation: f64, density: f64, arrhenius_a: f64, activation_temp: f64, ) -> Self

Create a new ablation model.

Source

pub fn recession_rate(&self, temp: f64) -> f64

Surface recession rate [m/s] at temperature T.

r = A * exp(-T_act / T) for T > T_ab, else 0

Source

pub fn mass_loss_rate(&self, temp: f64) -> f64

Mass loss rate [kg/(m²·s)] = density * recession_rate.

Source

pub fn ablative_heat_flux(&self, temp: f64) -> f64

Blowing heat flux [W/m²] absorbed by ablation = L_ab * mdot.

Source

pub fn net_heat_flux(&self, applied_flux: f64, temp: f64) -> f64

Net surface heat flux after ablative cooling [W/m²].

q_net = q_applied - q_ablation

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> 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, 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.