tfel
Loading...
Searching...
No Matches
IsotropicModuli.hxx File Reference

This file defines various functions dealing with elastic coefficients. More...

Classes

struct  tfel::material::IsotropicModuli< StressType >
 This class is an abstract class which represents isotropic moduli. 3 formats are possible: (Young,Nu), (Lambda,Mu) and (K,Mu). More...
struct  tfel::material::YoungNuModuli< StressType >
 This class is relative to the format (Young,Nu). It can be converted to the other formats (Lambda,Mu) and (K,Mu). More...
struct  tfel::material::KGModuli< StressType >
 This class is relative to the format (K,Mu). It can be converted to the other formats (Lambda,Mu) and (Young,Nu). More...
struct  tfel::material::LambdaMuModuli< StressType >
 This class is relative to the format (Lambda,Mu). It can be converted to the other formats (Young,Nu) and (K,Mu). More...

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.
namespace  tfel::material
 This namespace contains classes and functions related to mechanics and material description. The functionalities included in this namespace includes:

Functions

template<tfel::math::ScalarConcept StressType>
requires (tfel::math::checkUnitCompatibility<tfel::math::unit::Stress, StressType>())
TFEL_HOST_DEVICE constexpr tfel::math::st2tost2< 3u, StressType > tfel::material::computeIsotropicStiffnessTensor (const IsotropicModuli< StressType > &)
 This function takes a IsotropicModuli and returns the corresponding st2tost2.
template<tfel::math::ScalarConcept T>
TFEL_HOST_DEVICE constexpr std::pair< T, T > tfel::material::computeKappaMu (const tfel::math::st2tost2< 3u, T > &)
template<tfel::math::ScalarConcept StressType>
TFEL_HOST_DEVICE constexpr KGModuli< StressType > tfel::material::computeKGModuli (const tfel::math::st2tost2< 3u, StressType > &)
template<unsigned short int N, tfel::math::ScalarConcept T>
TFEL_HOST_DEVICE constexpr tfel::math::base_type< T > tfel::material::relative_error (const tfel::math::st2tost2< N, T > &, const tfel::math::st2tost2< N, T > &)
 This function computes the relative difference between a st2tost2 C1, relatively to a st2tost2 C2.
template<tfel::math::ScalarConcept T>
TFEL_HOST_DEVICE constexpr bool tfel::material::isIsotropic (const tfel::math::st2tost2< 3u, T > &, const tfel::math::base_type< T >)
 This function permits to know if a st2tost2 is Isotropic It first makes the projection on the subset of isotropic fourth-order tensors using computeKappaMu and then compare the projected tensor with the original \(A_i\). The precision can be given by the user. The implementation goes for dimension 3 only.

Detailed Description

This file defines various functions dealing with elastic coefficients.

Author
Antoine MARTIN
Date
15/05/2025