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

This file declares 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:

Functions

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< 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::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< 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)

Detailed Description

This file declares the Eshelby tensor for an ellipsoidal inclusion embedded in an anisotropic matrix.

Author
Antoine Martin
Date
18/11/2024

Function Documentation

◆ computeAnisotropicEshelbyTensor()

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

Returns
an object of type st2tost2<3u,real>
Template Parameters
realunderlying type
LengthTypetype of the dimensions of the ellipsoid
StressTypetype of the elastic constants
Parameters
[in]Cstiffness tensor of the matrix in the global basis
[in]n_adirection of the principal axis whose length is \(a\)
[in]alength of semi-axis relative to the direction \(n_a\)
[in]n_bdirection of the principal axis whose length is \(b\)
[in]blength of semi-axis relative to the direction \(n_b\)
[in]clength of the remaining semi-axis
[in]max_itmaximal number of iterations for integration

◆ computeAnisotropicHillTensor()

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

Returns
an object of type st2tost2<3u,types::compliance<StressType>>
Template Parameters
realunderlying type
LengthTypetype of the dimensions of the ellipsoid
StressTypetype of the elastic constants
Parameters
[in]Cstiffness tensor of the matrix in the global basis
[in]n_adirection of the principal axis whose length is \(a\)
[in]alength of semi-axis relative to the direction \(n_a\)
[in]n_bdirection of the principal axis whose length is \(b\)
[in]blength of semi-axis relative to the direction \(n_b\)
[in]clength of the remaining semi-axis
[in]max_itmaximal number of iterations for integration

◆ computeAnisotropicLocalisationTensor()

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)

Returns
an object of type st2tost2<3u,real>, which is the fourth-order localisation tensor \(A\) in the GLOBAL BASIS
Template Parameters
realunderlying type
StressTypetype of the elastic constants related to the matrix and the ellipsoid
LengthTypetype of the dimensions of the ellipsoid
Parameters
[in]C_0_globstiffness tensor of the matrix in the GLOBAL basis
[in]C_i_locstiffness tensor of the inclusion in the LOCAL basis, which is the basis (n_a,n_b,n_c)
[in]n_adirection of the principal axis whose length is \(a\)
[in]alength of semi-axis relative to the direction \(n_a\)
[in]n_bdirection of the principal axis whose length is \(b\)
[in]blength of semi-axis relative to the direction \(n_b\)
[in]clength of the remaining semi-axis
[in]max_itmaximal number of iterations for integration

◆ computeGeneralAnisotropicLocalisationTensor()

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 > & 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.

Template Parameters
Ndimension
StressTypetype of the elastic constants related to the matrix and the ellipsoid
Parameters
[in]C_0_globstiffness tensor of the matrix in the GLOBAL basis
[in]C_i_locstiffness 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_adirection of the principal axis relative to first semi-length
[in]n_bdirection of the principal axis relative to second semi-length
[in]semiLengthsarray of lengths of the N semi-axes. The first one for direction \(n_a\), the second for \(n_b\).
[in]max_itmaximal number of iterations for integration

◆ computePlaneStrainAnisotropicEshelbyTensor()

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

Returns
an object of type st2tost2<2u,real>
Template Parameters
realunderlying type
StressTypetype of the elastic constants
Parameters
[in]Cstiffness tensor of the matrix
[in]n_adirection of the principal axis whose length is \(a\)
[in]alength of semi-axis relative to the direction \(n_a\)
[in]blength of semi-axis relative to the other direction
[in]max_itmaximal number of iterations for integration

◆ computePlaneStrainAnisotropicHillTensor()

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.

Returns
an object of type st2tost2<2u,types::compliance<StressType>>
Template Parameters
realunderlying type
StressTypetype of the elastic constants
Parameters
[in]Cstiffness tensor of the matrix
[in]n_adirection of the principal axis whose length is \(a\)
[in]alength of semi-axis relative to the direction \(n_a\)
[in]blength of semi-axis relative to the other direction
[in]max_itmaximal number of iterations for integration

◆ computePlaneStrainAnisotropicLocalisationTensor()

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.

Returns
an object of type st2tost2<2u,real>, which is the fourth-order localisation tensor \(A\) in the GLOBAL BASIS
Template Parameters
realunderlying type
StressTypetype of the elastic constants
Parameters
[in]C_0_globstiffness tensor of the matrix in the GLOBAL basis
[in]C_i_locstiffness tensor of the inclusion in the LOCAL basis, which is the basis related to \(n_a\)
[in]n_adirection of the principal axis whose length is \(a\)
[in]alength of semi-axis relative to the direction \(n_a\)
[in]blength of semi-axis relative to the other direction
[in]max_itmaximal number of iterations for integration