|
musica (C++)
|
Fabric tensor for the directional density function. More...
#include <fabric.hpp>

Public Member Functions | |
| FabricTensor (std::string type="chang1990-ext", std::string evolution="li2012", const std::unordered_map< std::string, T > &coefs={}) | |
| Constructor. | |
| void | setupDefaultParameters () |
| Set the default fabric tensor parameters. | |
| void | setParameters (const std::string &type="chang1990-ext", const std::string &evolution="li2012", const std::unordered_map< std::string, T > &coefs={}) |
| Set the fabric tensor parameters. | |
| bool | requiresUpdate () |
| Check if the fabric tensor requires update. | |
| bool | requiresEvolution () |
| Check if the fabric tensor requires evolution. | |
| void | initialize () |
| Initial fabric tensor. | |
| void | rotate (bool rotate=true) |
| Rotate the fabric tensor. | |
| Eigen::Array< T, Eigen::Dynamic, 1 > | density (const Eigen::Array< T, Eigen::Dynamic, 1 > &beta, const Eigen::Array< T, Eigen::Dynamic, 1 > &gamma) |
| Directional density function. | |
| Eigen::Matrix< T, 3, 3 > | Fij () |
| Deviatoric fabric tensor. | |
| void | evolve (Eigen::Matrix< T, 3, 3 > n, T CSR, const StateVariable< T > &sv0, StateVariable< T > &sv, bool use_plastic_strain=true, T nonproportionality_orthogonal=0.0, T nonproportionality_noncoaxial=0.0) |
| Update the fabric tensor. | |
Public Attributes | |
| Eigen::Matrix< T, 3, 3 > | tensor = Eigen::Matrix<T, 3, 3>::Identity() |
| fabric tensor | |
| std::string | type |
| fabric tensor type | |
| std::string | evolution |
| evolution type | |
| std::unordered_map< std::string, T > | coefs |
| fabric tensor coefficients | |
| std::shared_ptr< FabricTensorChanged > | changed = std::make_shared<FabricTensorChanged>() |
| fabric changed flags | |
| bool | rotated = false |
| whether the fabric tensor is rotated | |
Fabric tensor for the directional density function.
|
inlineexplicit |
|
inline |
Directional density function.
|
inline |
Update the fabric tensor.
| n | loading direction |
| CSR | critical stress ratio |
| sv0 | state variables at the beginning of the increment |
| sv | state variables at the end of the increment |
| use_plastic_strain | whether to use plastic strain in the fabric evolution |
| nonproportionality_orthogonal | Weight of the orthogonal component of the non-proportionality in the fabric anisotropy variable |
| nonproportionality_noncoaxial | Weight of the non-coaxial component of the non-proportionality in the fabric anisotropy variable |
References constitutive::StateVariable< T >::e, constitutive::StateVariable< T >::ec, constitutive::StateVariable< T >::epsij(), constitutive::StateVariable< T >::epsm(), constitutive::StateVariable< T >::epspij(), constitutive::StateVariable< T >::eta(), Fij(), constitutive::nonCoaxialDirection(), constitutive::orthogonalDirection(), constitutive::StateVariable< T >::p(), constitutive::StateVariable< T >::scalars, constitutive::split(), constitutive::StateVariable< T >::stress(), constitutive::StateVariable< T >::tauij(), and constitutive::Tensor2< T >::Tensor2().

|
inline |
|
inline |
|
inline |
Check if the fabric tensor requires evolution.
References constitutive::split().

|
inline |
Check if the fabric tensor requires update.
|
inline |
Rotate the fabric tensor.
| rotate | rotate or revert the fabric tensor |
Referenced by initialize(), and rotate().


|
inline |
|
inline |
Set the default fabric tensor parameters.
References constitutive::split().

| std::shared_ptr<FabricTensorChanged> constitutive::FabricTensor< T >::changed = std::make_shared<FabricTensorChanged>() |
fabric changed flags
| std::unordered_map<std::string, T> constitutive::FabricTensor< T >::coefs |
fabric tensor coefficients
Referenced by FabricTensor(), and setParameters().
| std::string constitutive::FabricTensor< T >::evolution |
evolution type
Referenced by FabricTensor(), and setParameters().
| bool constitutive::FabricTensor< T >::rotated = false |
whether the fabric tensor is rotated
| Eigen::Matrix<T, 3, 3> constitutive::FabricTensor< T >::tensor = Eigen::Matrix<T, 3, 3>::Identity() |
fabric tensor
| std::string constitutive::FabricTensor< T >::type |
fabric tensor type
Referenced by FabricTensor(), and setParameters().