conspire/constitutive/solid/thermohyperelastic/
mod.rs

1//! Thermohyperelastic constitutive models.
2
3#[cfg(test)]
4pub mod test;
5
6mod saint_venant_kirchhoff;
7
8pub use saint_venant_kirchhoff::SaintVenantKirchhoff;
9
10use super::{thermoelastic::Thermoelastic, *};
11
12/// Required methods for thermohyperelastic constitutive models.
13pub trait Thermohyperelastic
14where
15    Self: Thermoelastic,
16{
17    /// Calculates and returns the Helmholtz free energy density.
18    ///
19    /// ```math
20    /// a = a(\mathbf{F},T)
21    /// ```
22    fn helmholtz_free_energy_density(
23        &self,
24        deformation_gradient: &DeformationGradient,
25        temperature: &Scalar,
26    ) -> Result<Scalar, ConstitutiveError>;
27}