pub struct GrayBodyModel {
pub eps_ref: f64,
pub deps_dt: f64,
pub temp_ref: f64,
}Expand description
Gray body model with temperature-dependent emissivity.
Represents a real surface whose emissivity varies with temperature using
a linear model: ε(T) = ε₀ + dε/dT · (T - T_ref).
Fields§
§eps_ref: f64Emissivity at reference temperature
deps_dt: f64Rate of change of emissivity with temperature [1/K]
temp_ref: f64Reference temperature [K]
Implementations§
Source§impl GrayBodyModel
impl GrayBodyModel
Sourcepub fn emissivity(&self, temp_k: f64) -> f64
pub fn emissivity(&self, temp_k: f64) -> f64
Emissivity at temperature temp_k.
Sourcepub fn emissive_power(&self, temp_k: f64) -> f64
pub fn emissive_power(&self, temp_k: f64) -> f64
Emissive power [W/m²] at temperature temp_k.
Sourcepub fn effective_blackbody_temperature(&self, temp_k: f64) -> f64
pub fn effective_blackbody_temperature(&self, temp_k: f64) -> f64
Effective temperature that a blackbody would need to emit the same
total power as this gray body at temp_k.
T_eff = T * ε^0.25
Trait Implementations§
Source§impl Clone for GrayBodyModel
impl Clone for GrayBodyModel
Source§fn clone(&self) -> GrayBodyModel
fn clone(&self) -> GrayBodyModel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GrayBodyModel
impl Debug for GrayBodyModel
impl Copy for GrayBodyModel
Auto Trait Implementations§
impl Freeze for GrayBodyModel
impl RefUnwindSafe for GrayBodyModel
impl Send for GrayBodyModel
impl Sync for GrayBodyModel
impl Unpin for GrayBodyModel
impl UnsafeUnpin for GrayBodyModel
impl UnwindSafe for GrayBodyModel
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