Skip to main content

Newtonian

Struct Newtonian 

Source
pub struct Newtonian {
    pub bulk_viscosity: Quantity<Viscosity>,
    pub shear_viscosity: Quantity<Viscosity>,
}
Expand description

The Newtonian viscous fluid constitutive model.

Parameters

  • The bulk viscosity $\zeta$.
  • The shear viscosity $\eta$.

External variables

  • The deformation gradient $\mathbf{F}$.
  • The deformation gradient rate $\dot{\mathbf{F}}$.

Internal variables

  • None.

Notes

  • The rate of deformation is given by $\mathbf{D}=\tfrac{1}{2}(\mathbf{L}+\mathbf{L}^T)$ with $\mathbf{L}=\dot{\mathbf{F}}\cdot\mathbf{F}^{-1}$.

Fields§

§bulk_viscosity: Quantity<Viscosity>

The bulk viscosity $\zeta$.

§shear_viscosity: Quantity<Viscosity>

The shear viscosity $\eta$.

Trait Implementations§

Source§

impl Clone for Newtonian

Source§

fn clone(&self) -> Newtonian

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Newtonian

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Hyperviscous for Newtonian

Source§

fn viscous_dissipation( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<Quantity<Dissipation>, ConstitutiveError>

\psi(\mathbf{F},\dot{\mathbf{F}}) = \eta\,\mathrm{tr}(\mathbf{D}^2) + \frac{1}{2}\left(\zeta - \frac{2}{3}\,\eta\right)\mathrm{tr}(\mathbf{D})^2
Source§

impl Viscous for Newtonian

Source§

fn viscous_cauchy_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<CauchyStress, ConstitutiveError>

\boldsymbol{\sigma}(\mathbf{F},\dot{\mathbf{F}}) = 2\eta\mathbf{D}' + \zeta\,\mathrm{tr}(\mathbf{D})\mathbf{1}
Source§

fn viscous_cauchy_rate_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, _: &DeformationGradientRate, ) -> Result<CauchyRateTangentStiffness, ConstitutiveError>

\mathcal{V}_{ijkL}(\mathbf{F}) = \eta\,\delta_{ik}F_{jL}^{-T} + \eta\,\delta_{jk}F_{iL}^{-T} + \left(\zeta - \frac{2}{3}\,\eta\right)\delta_{ij}F_{kL}^{-T}
Source§

fn bulk_viscosity(&self) -> Quantity<Viscosity>

Returns the bulk viscosity.
Source§

fn shear_viscosity(&self) -> Quantity<Viscosity>

Returns the shear viscosity.
Source§

fn viscous_first_piola_kirchhoff_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<FirstPiolaKirchhoffStress, ConstitutiveError>

Calculates and returns the viscous first Piola-Kirchhoff stress. Read more
Source§

fn viscous_first_piola_kirchhoff_rate_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<FirstPiolaKirchhoffRateTangentStiffness, ConstitutiveError>

Calculates and returns the rate tangent stiffness associated with the viscous first Piola-Kirchhoff stress. Read more
Source§

fn viscous_second_piola_kirchhoff_stress( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<SecondPiolaKirchhoffStress, ConstitutiveError>

Calculates and returns the viscous second Piola-Kirchhoff stress. Read more
Source§

fn viscous_second_piola_kirchhoff_rate_tangent_stiffness( &self, deformation_gradient: &DeformationGradient, deformation_gradient_rate: &DeformationGradientRate, ) -> Result<SecondPiolaKirchhoffRateTangentStiffness, ConstitutiveError>

Calculates and returns the rate tangent stiffness associated with the viscous second Piola-Kirchhoff stress. 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> Is<T> for T

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.