pub struct PhotoacousticParameters {
pub optical_absorption_per_m: f64,
pub thermal_expansion_per_k: f64,
pub specific_heat_cp_j_per_kg_k: f64,
pub density_kg_per_m3: f64,
pub sound_speed_m_per_s: f64,
pub thermal_diffusivity_m2_per_s: f64,
pub characteristic_length_m: f64,
}Expand description
Photoacoustic medium parameters in strict SI units.
Fields§
§optical_absorption_per_m: f64Optical absorption coefficient $\mu_a > 0$ in $\text{m}^{-1}$.
thermal_expansion_per_k: f64Volumetric thermal expansion coefficient $\beta > 0$ in $\text{K}^{-1}$.
specific_heat_cp_j_per_kg_k: f64Isobaric specific heat capacity $C_p > 0$ in $\text{J}\cdot\text{kg}^{-1}\cdot\text{K}^{-1}$.
density_kg_per_m3: f64Mass density $\rho > 0$ in $\text{kg}\cdot\text{m}^{-3}$.
sound_speed_m_per_s: f64Acoustic speed of sound $c_s > 0$ in $\text{m}\cdot\text{s}^{-1}$.
thermal_diffusivity_m2_per_s: f64Thermal diffusivity $D_T > 0$ in $\text{m}^2\cdot\text{s}^{-1}$.
characteristic_length_m: f64Characteristic heated spatial dimension $d_c > 0$ in $\text{m}$ (typically $\min(\text{beam diameter}, 1/\mu_a)$).
Implementations§
Source§impl PhotoacousticParameters
impl PhotoacousticParameters
pub fn validate(&self) -> Result<(), TransductionError>
Sourcepub fn gruneisen_parameter(&self) -> f64
pub fn gruneisen_parameter(&self) -> f64
Dimensionless Grüneisen parameter $\Gamma = \frac{\beta c_s^2}{C_p}$.
Sourcepub fn evaluate_confined_excitation(
&self,
optical_fluence_j_per_m2: f64,
laser_pulse_duration_s: f64,
) -> Result<PhotoacousticResponse, TransductionError>
pub fn evaluate_confined_excitation( &self, optical_fluence_j_per_m2: f64, laser_pulse_duration_s: f64, ) -> Result<PhotoacousticResponse, TransductionError>
Evaluate photoacoustic pressure generation $p_0 = \Gamma \mu_a \Phi$ from optical fluence $\Phi$ ($\text{J}\cdot\text{m}^{-2}$) and verify both stress confinement ($\tau_p < \tau_{\text{st}}$) and thermal confinement ($\tau_p < \tau_{\text{th}}$) as well as thermodynamic energy conservation ($u_{\text{ac},0} \le q_{\text{abs}}$).
Trait Implementations§
Source§impl Clone for PhotoacousticParameters
impl Clone for PhotoacousticParameters
impl Copy for PhotoacousticParameters
Source§impl Debug for PhotoacousticParameters
impl Debug for PhotoacousticParameters
Source§impl PartialEq for PhotoacousticParameters
impl PartialEq for PhotoacousticParameters
impl StructuralPartialEq for PhotoacousticParameters
Auto Trait Implementations§
impl Freeze for PhotoacousticParameters
impl RefUnwindSafe for PhotoacousticParameters
impl Send for PhotoacousticParameters
impl Sync for PhotoacousticParameters
impl Unpin for PhotoacousticParameters
impl UnsafeUnpin for PhotoacousticParameters
impl UnwindSafe for PhotoacousticParameters
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more