pub struct Ohmic {
pub electrical_conductivity: Quantity<ElectricalConductivity>,
}Expand description
The Ohmic electrical conduction constitutive model.
Parameters
- The electrical conductivity $
\sigma$.
External variables
- The potential gradient $
\nabla\phi$.
Internal variables
- None.
Fields§
§electrical_conductivity: Quantity<ElectricalConductivity>The electrical conductivity $\sigma$.
Trait Implementations§
Source§impl Diffusion for Ohmic
impl Diffusion for Ohmic
Source§fn potential(
&self,
potential_gradient: &ElectricField,
) -> Result<Quantity<PowerDensity>, ConstitutiveError>
fn potential( &self, potential_gradient: &ElectricField, ) -> Result<Quantity<PowerDensity>, ConstitutiveError>
u(\nabla\phi) = \frac{1}{2}\sigma\nabla\phi\cdot\nabla\phiSource§fn flux(
&self,
potential_gradient: &ElectricField,
) -> Result<CurrentDensity, ConstitutiveError>
fn flux( &self, potential_gradient: &ElectricField, ) -> Result<CurrentDensity, ConstitutiveError>
\mathbf{J}(\nabla\phi) = -\sigma\nabla\phiSource§fn tangent(
&self,
_potential_gradient: &ElectricField,
) -> Result<CurrentDensityTangent, ConstitutiveError>
fn tangent( &self, _potential_gradient: &ElectricField, ) -> Result<CurrentDensityTangent, ConstitutiveError>
\frac{\partial\mathbf{J}}{\partial\nabla\phi} = -\sigma\mathbf{I}impl Electrical for Ohmic
Auto Trait Implementations§
impl Freeze for Ohmic
impl RefUnwindSafe for Ohmic
impl Send for Ohmic
impl Sync for Ohmic
impl Unpin for Ohmic
impl UnsafeUnpin for Ohmic
impl UnwindSafe for Ohmic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<C> ElectricalConduction for C
impl<C> ElectricalConduction for C
Source§fn current_density(
&self,
potential_gradient: &ElectricField,
) -> Result<CurrentDensity, ConstitutiveError>
fn current_density( &self, potential_gradient: &ElectricField, ) -> Result<CurrentDensity, ConstitutiveError>
Calculates and returns the current density.
Source§fn current_density_tangent(
&self,
potential_gradient: &ElectricField,
) -> Result<CurrentDensityTangent, ConstitutiveError>
fn current_density_tangent( &self, potential_gradient: &ElectricField, ) -> Result<CurrentDensityTangent, ConstitutiveError>
Calculates and returns the tangent to the current density.