33 #ifndef _ELASTIC2DPLANESTRESS_HPP_ 34 #define _ELASTIC2DPLANESTRESS_HPP_ 38 #include <Eigen/Dense> 141 void UpdateState(
const Eigen::VectorXd strain,
const unsigned int cond);
Eigen::VectorXd GetTotalStress() const
Computes the material total stress.
Eigen::VectorXd Strain
Strain vector.
Definition: Elastic2DPlaneStress.hpp:154
This file contains the abstract "Material object" declarations, which computes the strain...
double GetEnergy() const
Access the material's energy at current strain.
double GetShearModulus() const
Access shear modulus.
double GetPoissonRatio() const
Returns the Poisson's ratio.
Elastic2DPlaneStress(const double E, const double nu, const double rho=0.0)
Creates a Elastic2DPlaneStress material to be specified at a Gauss-point in an Element.
~Elastic2DPlaneStress()
Destroys this Elastic2DPlaneStress material.
Eigen::VectorXd GetStrainRate() const
Returns the material strain rate.
Eigen::VectorXd GetStress() const
Returns the material stress.
Eigen::MatrixXd TangentStiffness
Tangent stiffness matrix.
Definition: Elastic2DPlaneStress.hpp:160
Eigen::MatrixXd GetInitialTangentStiffness() const
Returns the initial material stiffness.
Class for creating a biaxial isotropic linear elastic material in plane stress conditions for two-dim...
Definition: Elastic2DPlaneStress.hpp:49
void InitialState()
Brings the material states to its initial state in the element.
void UpdateState(const Eigen::VectorXd strain, const unsigned int cond)
Update the material state for this iteration.
Eigen::MatrixXd GetDamping() const
Returns the material viscous damping.
double nu
Poisson's ratio.
Definition: Elastic2DPlaneStress.hpp:148
double GetBulkModulus() const
Access bulk modulus.
Virtual class for creating a material object.
Definition: Material.hpp:45
Eigen::VectorXd newStrain
Commited Strain vector.
Definition: Elastic2DPlaneStress.hpp:157
std::unique_ptr< Material > CopyMaterial()
Clone the selected material.
void CommitState()
Perform converged material state update.
double Rho
Material density.
Definition: Elastic2DPlaneStress.hpp:151
Eigen::VectorXd GetStrain() const
Returns the material strain.
double GetDensity() const
Access material density.
double E
Modulus of elasticity.
Definition: Elastic2DPlaneStress.hpp:145
double GetElasticityModulus() const
Access modulus of elasticity.
Eigen::MatrixXd GetTangentStiffness() const
Returns the material stiffness.
void ReverseState()
Reverse the material states to previous converged state.