micromechanical (C++)
|
Hypoplastic contact law. More...
#include <hypoplastic.hpp>
Public Member Functions | |
HypoplasticContactLaw (const std::map< std::string, T > &props={}) | |
void | initialize (StateVariable< T > &sv) override |
initialize the contact law | |
![]() | |
ContactLawBase (const std::map< std::string, T > &props={}) | |
constructor | |
virtual | ~ContactLawBase ()=default |
destructor | |
virtual std::vector< std::string > | symmetricContactScalars () |
Symmetric contact scalar variables. | |
virtual std::vector< std::string > | symmetricContactVectors () |
Symmetric contact vector variables. | |
ContactLawBase & | operator= (const ContactLawBase &other) |
move operator | |
T | frictionCoefficient (int idx, const StateVariable< T > &sv0, const StateVariable< T > &sv) |
calculate the friction coefficient combined with different criteria | |
Eigen::Matrix< T, 3, 3 > | forceDisplacement (int idx, Eigen::Matrix< T, 3, 1 > &ddisp, Eigen::Matrix< T, 3, 3 > &Ke, const StateVariable< T > &sv0, StateVariable< T > &sv) |
integrate the force-displacement relation | |
![]() | |
T | CSL (int idx, const StateVariable< T > &sv0, StateVariable< T > &sv) override |
calculate the critical state line | |
Public Attributes | |
std::string | name = "Hypoplastic" |
![]() | |
std::string | type = "NonlinearElastic" |
Type of the contact law. | |
![]() | |
std::shared_ptr< Material< T > > | material |
Material properties. | |
std::string | name = "Undefined" |
Name of the contact law. | |
std::string | type = "Undefined" |
Type of the contact law. | |
int | nstatev_custom = 0 |
Number of custom state variables. | |
bool | plastic_displacement = false |
Flag to save the plastic displacement in the state variables. | |
std::shared_ptr< Options< T > > | options = std::shared_ptr<Options<T>>(new Options<T>()) |
options for the micromechanical model | |
std::shared_ptr< DebugVariable< T > > | debugVariable = std::shared_ptr<DebugVariable<T>>(new DebugVariable<T>()) |
debug variable | |
int | _phase = 0 |
index of the phase | |
int | _step = 0 |
current step | |
int | _mixedLoad = 0 |
number of mixed load steps | |
int | _integration = 0 |
number of integration steps | |
int | _increment = 0 |
number of contact increments | |
int | _plasticCorrection = 0 |
number of contact plastic corrections | |
Protected Member Functions | |
void | preIntegration (int idx, const Eigen::Matrix< T, 3, 1 > &ddisp, const StateVariable< T > &sv0, StateVariable< T > &sv) override |
pre-processing before the integration | |
std::tuple< T, T, T, T > | coefficients (T kt, int idx, const StateVariable< T > &sv0, StateVariable< T > sv) |
Compute the relative coefficients. | |
Eigen::Matrix< T, 3, 3 > | elasticStiffness (int idx, T fn, const StateVariable< T > &sv0, const StateVariable< T > &sv) override |
Calculate the elastic stiffness matrix. | |
Eigen::Matrix< T, 3, 3 > | stiffness (int idx, const Eigen::Matrix< T, 3, 1 > &ddisp, const StateVariable< T > &sv0, StateVariable< T > &sv) override |
calculate the elastoplastic stiffness matrix | |
![]() | |
void | postIncrement (int idx, const Eigen::Matrix< T, 3, 1 > &ddisp, const StateVariable< T > &sv0, StateVariable< T > &sv) override |
post-processing after the increment | |
Eigen::Matrix< T, 3, 3 > | integrate (int idx, const Eigen::Matrix< T, 3, 1 > &ddisp, const Eigen::Matrix< T, 3, 3 > &Ke, const StateVariable< T > &sv0, StateVariable< T > &sv) override |
integrate the force-displacement contact law, with a number of increments. | |
![]() | |
Eigen::Matrix< T, 3, 3 > | increment (int idx, const Eigen::Matrix< T, 3, 1 > &ddisp, const Eigen::Matrix< T, 3, 3 > &Ke, const StateVariable< T > &sv0, StateVariable< T > &sv) |
Calculate one increment. | |
virtual void | check (int idx, const Eigen::Matrix< T, 3, 1 > &ddisp, const StateVariable< T > &sv0, StateVariable< T > &sv) |
check the convergence of the contact law | |
virtual void | postIntegration (int idx, const Eigen::Matrix< T, 3, 1 > &ddisp, const StateVariable< T > &sv0, StateVariable< T > &sv) |
post-processing after the integration | |
virtual void | preIncrement (int idx, const Eigen::Matrix< T, 3, 1 > &ddisp, const StateVariable< T > &sv0, StateVariable< T > &sv) |
pre-processing before the increment | |
![]() | |
T | tanphip (int idx, const StateVariable< T > &sv0, StateVariable< T > &sv) |
T | tanphipt (int idx, const StateVariable< T > &sv0, StateVariable< T > &sv) |
Hypoplastic contact law.
|
inlineexplicit |
|
inlineprotected |
Compute the relative coefficients.
kt | Tangential stiffness |
idx | Index of the integration point |
sv0 | initial state variable |
sv | state variable |
References micromechanical::core::ContactLawBase< T >::frictionCoefficient(), and micromechanical::core::ContactLawBase< T >::material.
Referenced by elasticStiffness(), and stiffness().
|
inlineoverrideprotectedvirtual |
Calculate the elastic stiffness matrix.
idx | index of the integration point |
fn | normal force |
sv0 | initial state variable |
sv | state variable |
Implements micromechanical::core::ContactLawBase< T >.
References coefficients(), and micromechanical::core::ContactLawBase< T >::material.
|
inlineoverridevirtual |
initialize the contact law
sv | state variable |
Reimplemented from micromechanical::core::ContactLawBase< T >.
References micromechanical::core::ExponentialBreakageCSL< T >::CSL(), and micromechanical::core::ContactLawBase< T >::material.
|
inlineoverrideprotectedvirtual |
pre-processing before the integration
idx | index of the integration point |
ddisp | displacement increment |
sv0 | initial state variable |
sv | state variable |
Reimplemented from micromechanical::core::ContactLawBase< T >.
References micromechanical::core::StateVariable< T >::vectors.
|
inlineoverrideprotectedvirtual |
calculate the elastoplastic stiffness matrix
idx | index of the integration point |
ddisp | displacement increment |
sv0 | initial state variable |
sv | state variable |
Implements micromechanical::core::NonlinearElasticContactLaw< T >.
References coefficients(), micromechanical::core::ExponentialBreakageCSL< T >::CSL(), micromechanical::core::StateVariable< T >::e, micromechanical::core::StateVariable< T >::fnc(), micromechanical::core::StateVariable< T >::force, micromechanical::core::StateVariable< T >::fs(), micromechanical::core::StateVariable< T >::ft(), micromechanical::core::ContactLawBase< T >::material, micromechanical::core::StateVariable< T >::scalars, and micromechanical::core::StateVariable< T >::vectors.
std::string micromechanical::contacts::HypoplasticContactLaw< T >::name = "Hypoplastic" |