conspire::constitutive::fluid::viscous

Trait Viscous

Source
pub trait Viscous<'a> {
    // Required methods
    fn bulk_viscosity(&self) -> &Scalar;
    fn shear_viscosity(&self) -> &Scalar;
}
Expand description

Required methods for viscous constitutive models.

Required Methods§

Source

fn bulk_viscosity(&self) -> &Scalar

Returns the bulk viscosity.

Source

fn shear_viscosity(&self) -> &Scalar

Returns the shear viscosity.

Implementors§

Source§

impl<'a> Viscous<'a> for AlmansiHamel<'a>

Source§

impl<'a> Viscous<'a> for SaintVenantKirchhoff<'a>