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

This file computes the derivatives of a localisaiton tensor. 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<tfel::math::ScalarConcept StressType>
requires (tfel::math::checkUnitCompatibility<tfel::math::unit::Stress, StressType>())
TFEL_HOST_DEVICE std::array< types::real< StressType >, 4 > tfel::material::homogenization::elasticity::internals::get_psi (const types::real< StressType > &e)
template<tfel::math::ScalarConcept StressType>
requires (tfel::math::checkUnitCompatibility<tfel::math::unit::Stress, StressType>())
TFEL_HOST_DEVICE std::array< types::compliance< StressType >, 6 > tfel::material::homogenization::elasticity::internals::computeHillTensorComponents (const KGModuli< StressType > &kg0, const types::real< StressType > &e)
template<tfel::math::ScalarConcept StressType>
requires (tfel::math::checkUnitCompatibility<tfel::math::unit::Stress, StressType>())
TFEL_HOST_DEVICE std::array< types::squared_compliance< StressType >, 6 > tfel::material::homogenization::elasticity::internals::computeDerivativesOfHillTensorComponents (const KGModuli< StressType > &kg0, const types::real< StressType > &e, const std::array< types::real< StressType >, 2 > &dkg0)
template<tfel::math::ScalarConcept StressType>
requires (tfel::math::checkUnitCompatibility<tfel::math::unit::Stress, StressType>())
TFEL_HOST_DEVICE std::array< types::compliance< StressType >, 6 > tfel::material::homogenization::elasticity::internals::computeDerivativesOfLocalisationTensorComponents (const KGModuli< StressType > &kg0, const KGModuli< StressType > &kgi, const types::real< StressType > &e, const std::array< types::real< StressType >, 4 > &dkg)
template<tfel::math::ScalarConcept StressType>
requires (tfel::math::checkUnitCompatibility< tfel::math::unit::Stress, StressType>())
TFEL_HOST_DEVICE tfel::math::st2tost2< 3u, types::squared_compliance< StressType > > tfel::material::homogenization::elasticity::computeDerivativesOfAxisymmetricalHillTensor (const KGModuli< StressType > &kg0, const tfel::math::tvector< 3u, types::real< StressType > > &n_, const types::real< StressType > &e, const std::array< types::real< StressType >, 2 > &dkg0, const tfel::math::base_type< StressType > precision=tfel::material::EshelbyTolerances::get< tfel::math::base_type< StressType > >())
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::computeDerivativesOfAxisymmetricalLocalisationTensor (const KGModuli< StressType > &kg0, const KGModuli< StressType > &kgi, const tfel::math::tvector< 3u, types::real< StressType > > &n_, const types::real< StressType > &e, const std::array< types::real< StressType >, 4 > &dkg, const tfel::math::base_type< StressType > precision=tfel::material::EshelbyTolerances::get< tfel::math::base_type< StressType > >())

Detailed Description

This file computes the derivatives of a localisaiton tensor.

Author
Antoine Martin
Date
7 June 2026

Function Documentation

◆ computeDerivativesOfAxisymmetricalHillTensor()

TFEL_HOST_DEVICE tfel::math::st2tost2< 3u, types::squared_compliance< StressType > > tfel::material::homogenization::elasticity::computeDerivativesOfAxisymmetricalHillTensor ( const KGModuli< StressType > & kg0,
const tfel::math::tvector< 3u, types::real< StressType > > & n_,
const types::real< StressType > & e,
const std::array< types::real< StressType >, 2 > & dkg0,
const tfel::math::base_type< StressType > precision = tfel::material:: EshelbyTolerances::get<tfel::math::base_type<StressType>>() )

This function computes the derivatives of the Hill tensor of a spheroid embedded in an isotropic matrix (the derivations are computed w.r.t. the isotropic moduli of the matrix).

Returns
a st2tost2
Template Parameters
StressTypetype of the elastic constants
Parameters
[in]kg0: KGModuli of the matrix
[in]n_: vector which defines the axis of the spheroid
[in]easpect ratio of the spheroid (e>1 : prolate, e<1 : oblate)
[in]dkg0: for a derivation w.r.t. the bulk modulus, this std::array<real,2> must be {1,0}, and {0,1} for a derivation w.r.t. the shear modulus.

◆ computeDerivativesOfAxisymmetricalLocalisationTensor()

TFEL_HOST_DEVICE tfel::math::st2tost2< 3u, types::compliance< StressType > > tfel::material::homogenization::elasticity::computeDerivativesOfAxisymmetricalLocalisationTensor ( const KGModuli< StressType > & kg0,
const KGModuli< StressType > & kgi,
const tfel::math::tvector< 3u, types::real< StressType > > & n_,
const types::real< StressType > & e,
const std::array< types::real< StressType >, 4 > & dkg,
const tfel::math::base_type< StressType > precision = tfel::material:: EshelbyTolerances::get<tfel::math::base_type<StressType>>() )

This function computes the derivatives of the localisation tensor of a locally isotropic spheroid embedded in an isotropic matrix (the derivations are computed w.r.t. the isotropic moduli of the matrix and of the spheroid).

Returns
a st2tost2
Template Parameters
StressTypetype of the elastic constants
Parameters
[in]kg0: KGModuli of the matrix
[in]kgi: KGModuli of the spheroid
[in]n_: vector which defines the axis of the spheroid
[in]easpect ratio of the spheroid (e>1 : prolate, e<1 : oblate)
[in]dkg: for a derivation w.r.t. the matrix bulk modulus, this std::array<real,4> must be {1,0,0,0}; for a derivation w.r.t. the matrix shear modulus, it must be {0,1,0,0}, etc...