|
tfel
|
This file defines the Eshelby tensor for an ellipsoidal inclusion embedded in an anisotropic matrix. 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: | |
| namespace | tfel::material::homogenization::elasticity::internals |
Functions | |
| template<typename real> | |
| TFEL_HOST_DEVICE auto | tfel::material::homogenization::elasticity::internals::integrate1D (const std::function< real(const real &)> f, const real a, const real b, const std::size_t max_it=12, const real tol=std::sqrt(std::numeric_limits< real >::epsilon())) |
| template<typename real> | |
| TFEL_HOST_DEVICE auto | tfel::material::homogenization::elasticity::internals::dblintegrate (const std::function< real(const real &, const real &)> f, const real a, const real b, const real c, const real d, const std::size_t max_it=12) |
| template<unsigned short int N, typename real, typename StressType> | |
| TFEL_HOST_DEVICE tfel::math::tmatrix< N, N, real > | tfel::material::homogenization::elasticity::internals::Acoustic (const tfel::math::st2tost2< N, StressType > &C, const tfel::math::tvector< N, real > &X) |
| template<typename real, typename StressType, typename LengthType> | |
| TFEL_HOST_DEVICE real | tfel::material::homogenization::elasticity::internals::p_ijkl_2D (const tfel::math::st2tost2< 2u, StressType > &C, const LengthType &a, const LengthType &b, const real theta, const int &i, const int &j, const int &k, const int &l) |
| template<typename real, typename StressType, typename LengthType> | |
| TFEL_HOST_DEVICE real | tfel::material::homogenization::elasticity::internals::p_ijkl (const tfel::math::st2tost2< 3u, StressType > &C, const real theta, const real phi, const LengthType &a, const LengthType &b, const LengthType &c, const int &i, const int &j, const int &k, const int &l) |
| template<tfel::math::ScalarConcept StressType> requires (tfel::math::checkUnitCompatibility< tfel::math::unit::Stress, StressType>()) | |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 2u, types::compliance< StressType > > | tfel::material::homogenization::elasticity::computePlaneStrainAnisotropicHillTensor (const tfel::math::st2tost2< 2u, StressType > &, const tfel::math::tvector< 2u, types::real< StressType > > &, const types::length< StressType > &, const types::length< StressType > &, const std::size_t max_it=12) |
| template<tfel::math::ScalarConcept StressType> requires (tfel::math::checkUnitCompatibility< tfel::math::unit::Stress, StressType>()) | |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 3u, types::compliance< StressType > > | tfel::material::homogenization::elasticity::computeAnisotropicHillTensor (const tfel::math::st2tost2< 3u, StressType > &, const tfel::math::tvector< 3u, types::real< StressType > > &, const types::length< StressType > &, const tfel::math::tvector< 3u, types::real< StressType > > &, const types::length< StressType > &, const types::length< StressType > &, const std::size_t max_it=12) |
| template<tfel::math::ScalarConcept StressType> requires (tfel::math::checkUnitCompatibility<tfel::math::unit::Stress, StressType>()) | |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 3u, types::real< StressType > > | tfel::material::homogenization::elasticity::computeAnisotropicEshelbyTensor (const tfel::math::st2tost2< 3u, StressType > &, const tfel::math::tvector< 3u, types::real< StressType > > &, const types::length< StressType > &, const tfel::math::tvector< 3u, types::real< StressType > > &, const types::length< StressType > &, const types::length< StressType > &, const std::size_t max_it=12) |
| template<tfel::math::ScalarConcept StressType> requires (tfel::math::checkUnitCompatibility< tfel::math::unit::Stress, StressType>()) | |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 2u, types::real< StressType > > | tfel::material::homogenization::elasticity::computePlaneStrainAnisotropicEshelbyTensor (const tfel::math::st2tost2< 2u, StressType > &, const tfel::math::tvector< 2u, types::real< StressType > > &, const types::length< StressType > &, const types::length< StressType > &, const std::size_t max_it=12) |
| template<tfel::math::ScalarConcept StressType> requires (tfel::math::checkUnitCompatibility< tfel::math::unit::Stress, StressType>()) | |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 3u, types::real< StressType > > | tfel::material::homogenization::elasticity::computeAnisotropicLocalisationTensor (const tfel::math::st2tost2< 3u, StressType > &, const tfel::math::st2tost2< 3u, StressType > &, const tfel::math::tvector< 3u, types::real< StressType > > &, const types::length< StressType > &, const tfel::math::tvector< 3u, types::real< StressType > > &, const types::length< StressType > &, const types::length< StressType > &, const std::size_t max_it=12) |
| template<tfel::math::ScalarConcept StressType> requires (tfel::math::checkUnitCompatibility< tfel::math::unit::Stress, StressType>()) | |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 2u, types::real< StressType > > | tfel::material::homogenization::elasticity::computePlaneStrainAnisotropicLocalisationTensor (const tfel::math::st2tost2< 2u, StressType > &, const tfel::math::st2tost2< 2u, StressType > &, const tfel::math::tvector< 2u, types::real< StressType > > &, const types::length< StressType > &, const types::length< StressType > &, const std::size_t max_it=12) |
| template<unsigned short int N, tfel::math::ScalarConcept StressType> requires (tfel::math::checkUnitCompatibility< tfel::math::unit::Stress, StressType>()) | |
| TFEL_HOST_DEVICE tfel::math::st2tost2< N, types::real< StressType > > | tfel::material::homogenization::elasticity::computeGeneralAnisotropicLocalisationTensor (const tfel::math::st2tost2< N, StressType > &, const tfel::math::st2tost2< N, StressType > &, const tfel::math::tvector< N, types::real< StressType > > &, const tfel::math::tvector< N, types::real< StressType > > &, const std::array< types::length< StressType >, N > &, const std::size_t max_it=12) |
This file defines the Eshelby tensor for an ellipsoidal inclusion embedded in an anisotropic matrix.
| TFEL_HOST_DEVICE tfel::math::st2tost2< 3u, types::real< StressType > > tfel::material::homogenization::elasticity::computeAnisotropicEshelbyTensor | ( | const tfel::math::st2tost2< 3u, StressType > & | C, |
| const tfel::math::tvector< 3u, types::real< StressType > > & | n_a, | ||
| const types::length< StressType > & | a, | ||
| const tfel::math::tvector< 3u, types::real< StressType > > & | n_b, | ||
| const types::length< StressType > & | b, | ||
| const types::length< StressType > & | c, | ||
| const std::size_t | max_it = 12 ) |
This function builds the Eshelby tensor of a general ellipsoid embedded in an ANISOTROPIC matrix. The function returns the Eshelby tensor in the global basi
| real | underlying type |
| LengthType | type of the dimensions of the ellipsoid |
| StressType | type of the elastic constants |
| [in] | C | stiffness tensor of the matrix in the global basis |
| [in] | n_a | direction of the principal axis whose length is \(a\) |
| [in] | a | length of semi-axis relative to the direction \(n_a\) |
| [in] | n_b | direction of the principal axis whose length is \(b\) |
| [in] | b | length of semi-axis relative to the direction \(n_b\) |
| [in] | c | length of the remaining semi-axis |
| [in] | max_it | maximal number of iterations for integration |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 3u, types::compliance< StressType > > tfel::material::homogenization::elasticity::computeAnisotropicHillTensor | ( | const tfel::math::st2tost2< 3u, StressType > & | C, |
| const tfel::math::tvector< 3u, types::real< StressType > > & | n_a, | ||
| const types::length< StressType > & | a, | ||
| const tfel::math::tvector< 3u, types::real< StressType > > & | n_b, | ||
| const types::length< StressType > & | b, | ||
| const types::length< StressType > & | c, | ||
| const std::size_t | max_it = 12 ) |
This function builds the Hill tensor of a general ellipsoid embedded in an ANISOTROPIC matrix. The function returns the Hill tensor in the global basis
| real | underlying type |
| LengthType | type of the dimensions of the ellipsoid |
| StressType | type of the elastic constants |
| [in] | C | stiffness tensor of the matrix in the global basis |
| [in] | n_a | direction of the principal axis whose length is \(a\) |
| [in] | a | length of semi-axis relative to the direction \(n_a\) |
| [in] | n_b | direction of the principal axis whose length is \(b\) |
| [in] | b | length of semi-axis relative to the direction \(n_b\) |
| [in] | c | length of the remaining semi-axis |
| [in] | max_it | maximal number of iterations for integration |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 3u, types::real< StressType > > tfel::material::homogenization::elasticity::computeAnisotropicLocalisationTensor | ( | const tfel::math::st2tost2< 3u, StressType > & | C_0_glob, |
| const tfel::math::st2tost2< 3u, StressType > & | C_i_loc, | ||
| const tfel::math::tvector< 3u, types::real< StressType > > & | n_a, | ||
| const types::length< StressType > & | a, | ||
| const tfel::math::tvector< 3u, types::real< StressType > > & | n_b, | ||
| const types::length< StressType > & | b, | ||
| const types::length< StressType > & | c, | ||
| const std::size_t | max_it = 12 ) |
This function builds the strain localisation tensor of a general ellipsoid embedded in an ANISOTROPIC matrix. The localisation tensor \(A\) is defined as follows :
\[\epsilon = A:E_0\]
where \(E_0\) is the uniform strain tensor imposed at infinity, and \(\epsilon\) is the strain tensor solution of Eshelby problem for the ellipsoid. The ellipsoid also has a specific orientation given by the vectors \(n_a\), \(n_b\). A LOCAL basis can then be defined as n_a, n_b, n_c where n_c=cross_product(n_a,n_b)
| real | underlying type |
| StressType | type of the elastic constants related to the matrix and the ellipsoid |
| LengthType | type of the dimensions of the ellipsoid |
| [in] | C_0_glob | stiffness tensor of the matrix in the GLOBAL basis |
| [in] | C_i_loc | stiffness tensor of the inclusion in the LOCAL basis, which is the basis (n_a,n_b,n_c) |
| [in] | n_a | direction of the principal axis whose length is \(a\) |
| [in] | a | length of semi-axis relative to the direction \(n_a\) |
| [in] | n_b | direction of the principal axis whose length is \(b\) |
| [in] | b | length of semi-axis relative to the direction \(n_b\) |
| [in] | c | length of the remaining semi-axis |
| [in] | max_it | maximal number of iterations for integration |
| TFEL_HOST_DEVICE tfel::math::st2tost2< N, types::real< StressType > > tfel::material::homogenization::elasticity::computeGeneralAnisotropicLocalisationTensor | ( | const tfel::math::st2tost2< N, StressType > & | C_0_glob, |
| const tfel::math::st2tost2< N, StressType > & | C_i_loc, | ||
| const tfel::math::tvector< N, types::real< StressType > > & | n_a, | ||
| const tfel::math::tvector< N, types::real< StressType > > & | n_b, | ||
| const std::array< types::length< StressType >, N > & | semiLengths, | ||
| const std::size_t | max_it = 12 ) |
A function computeAnisotropicLocalisationTensor for dimensions 2 and 3.
| N | dimension |
| StressType | type of the elastic constants related to the matrix and the ellipsoid |
| [in] | C_0_glob | stiffness tensor of the matrix in the GLOBAL basis |
| [in] | C_i_loc | stiffness tensor of the inclusion in the LOCAL basis, which is the basis given by ( \(n_a\), \(n_b\)) ( \(n_b\) is useless in 2d). |
| [in] | n_a | direction of the principal axis relative to first semi-length |
| [in] | n_b | direction of the principal axis relative to second semi-length |
| [in] | semiLengths | array of lengths of the N semi-axes. The first one for direction \(n_a\), the second for \(n_b\). |
| [in] | max_it | maximal number of iterations for integration |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 2u, types::real< StressType > > tfel::material::homogenization::elasticity::computePlaneStrainAnisotropicEshelbyTensor | ( | const tfel::math::st2tost2< 2u, StressType > & | C, |
| const tfel::math::tvector< 2u, types::real< StressType > > & | n_a, | ||
| const types::length< StressType > & | a, | ||
| const types::length< StressType > & | b, | ||
| const std::size_t | max_it = 12 ) |
This function builds the Eshelby tensor of a general 2d ellipse embedded in an ANISOTROPIC matrix. The ellipse also has a specific orientation given by the vector \(n_a\). A LOCAL basis can then be defined. The function returns the Hill tensor in th GLOBAL basis. The function returns the Eshelby tensor in the global basis
| real | underlying type |
| StressType | type of the elastic constants |
| [in] | C | stiffness tensor of the matrix |
| [in] | n_a | direction of the principal axis whose length is \(a\) |
| [in] | a | length of semi-axis relative to the direction \(n_a\) |
| [in] | b | length of semi-axis relative to the other direction |
| [in] | max_it | maximal number of iterations for integration |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 2u, types::compliance< StressType > > tfel::material::homogenization::elasticity::computePlaneStrainAnisotropicHillTensor | ( | const tfel::math::st2tost2< 2u, StressType > & | C, |
| const tfel::math::tvector< 2u, types::real< StressType > > & | n_a, | ||
| const types::length< StressType > & | a, | ||
| const types::length< StressType > & | b, | ||
| const std::size_t | max_it = 12 ) |
This function builds the Hill tensor of a general 2d ellipse embedded in an ANISOTROPIC matrix. The ellipse also has a specific orientation given by the vector \(n_a\). A LOCAL basis can then be defined. The function returns the Hill tensor in th GLOBAL basis.
| real | underlying type |
| StressType | type of the elastic constants |
| [in] | C | stiffness tensor of the matrix |
| [in] | n_a | direction of the principal axis whose length is \(a\) |
| [in] | a | length of semi-axis relative to the direction \(n_a\) |
| [in] | b | length of semi-axis relative to the other direction |
| [in] | max_it | maximal number of iterations for integration |
| TFEL_HOST_DEVICE tfel::math::st2tost2< 2u, types::real< StressType > > tfel::material::homogenization::elasticity::computePlaneStrainAnisotropicLocalisationTensor | ( | const tfel::math::st2tost2< 2u, StressType > & | C_0_glob, |
| const tfel::math::st2tost2< 2u, StressType > & | C_i_loc, | ||
| const tfel::math::tvector< 2u, types::real< StressType > > & | n_a, | ||
| const types::length< StressType > & | a, | ||
| const types::length< StressType > & | b, | ||
| const std::size_t | max_it = 12 ) |
This function builds the strain localisation tensor of a general 2d ellipse embedded in an ANISOTROPIC matrix. The localisation tensor \(A\) is defined as follows :
\[\epsilon = A:E_0\]
where \(E_0\) is the uniform strain tensor imposed at infinity, and \(\epsilon\) is the strain tensor solution of Eshelby problem for the ellipse. The ellipse also has a specific orientation given by the vector \(n_a\). A LOCAL basis can then be defined.
| real | underlying type |
| StressType | type of the elastic constants |
| [in] | C_0_glob | stiffness tensor of the matrix in the GLOBAL basis |
| [in] | C_i_loc | stiffness tensor of the inclusion in the LOCAL basis, which is the basis related to \(n_a\) |
| [in] | n_a | direction of the principal axis whose length is \(a\) |
| [in] | a | length of semi-axis relative to the direction \(n_a\) |
| [in] | b | length of semi-axis relative to the other direction |
| [in] | max_it | maximal number of iterations for integration |