9 #ifndef TPZElasticResponse_H 10 #define TPZElasticResponse_H 73 const char *
Name()
const;
80 void Print(std::ostream & out)
const;
92 delta_epsilon.
XX() = -m_eps_star.
XX();
93 delta_epsilon.
XY() = -m_eps_star.
XY();
94 delta_epsilon.
XZ() = -m_eps_star.
XZ();
95 delta_epsilon.
YY() = -m_eps_star.
YY();
96 delta_epsilon.
YZ() = -m_eps_star.
YZ();
97 delta_epsilon.
ZZ() = -m_eps_star.
ZZ();
98 delta_epsilon += epsilon;
99 T trace = delta_epsilon.
I1();
102 sigma.
Add(delta_epsilon, 2. * m_mu);
113 const T fac = T((1 / 3.)*(1. / (3. * m_lambda + 2. * m_mu) - 1. / (2. * m_mu)));
114 REAL trace = sigma.
I1();
117 epsilon.
Add(sigma, 1. / (2. * m_mu));
REAL m_lambda
First Lamé parameter.
void Add(const TPZTensor< T1 > &tensor, const T2 &constant)
void Multiply(const T1 &multipl, const T2 &constant)
void Print(std::ostream &out) const
void SetLameData(REAL lambda, REAL mu)
void Read(TPZStream &buf, void *context) override
TPZTensor< REAL > & ResidualStrainData()
void ComputeStress(const TPZTensor< T > &epsilon, TPZTensor< T > &sigma) const
void ComputeStrain(const TPZTensor< T > &sigma, TPZTensor< T > &epsilon) const
TPZTensor< REAL > m_eps_star
Residual strain at zero stress state.
const char * Name() const
void De(TPZFMatrix< REAL > &De)
void SetEngineeringData(REAL Eyoung, REAL Poisson)
TPZElasticResponse & operator=(const TPZElasticResponse &other)
Defines the interface for saving and reading data. Persistency.
int ClassId() const override
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
void SetResidualStrainData(TPZTensor< REAL > &eps_res)
void Write(TPZStream &buf, int withclassid) const override
REAL m_mu
Second Lamé parameter.