Seismo-VLAB  1.3
An Open-Source Finite Element Software for Meso-Scale Simulations
Plastic1DJ2 Class Reference

Class for creating an uniaxial isotropic plastic material for one-dimensional elements. More...

#include <Plastic1DJ2.hpp>

Inheritance diagram for Plastic1DJ2:
Collaboration diagram for Plastic1DJ2:

Public Member Functions

 Plastic1DJ2 (const double E, const double nu, const double rho, const double K, const double H, const double SigmaY)
 Creates a Plastic1DJ2 material to be specified at a Gauss-point in an Element. More...
 
 ~Plastic1DJ2 ()
 Destroys this Plastic1DJ2 material. More...
 
std::unique_ptr< MaterialCopyMaterial ()
 
double GetDensity () const
 Access material density. More...
 
double GetPoissonRatio () const
 Returns the Poisson's ratio. More...
 
double GetBulkModulus () const
 Access bulk modulus. More...
 
double GetShearModulus () const
 Access shear modulus. More...
 
double GetElasticityModulus () const
 Access modulus of elasticity. More...
 
double GetEnergy () const
 Access the material's energy at current strain. More...
 
Eigen::MatrixXd GetDamping () const
 Returns the material viscous damping. More...
 
Eigen::VectorXd GetStrain () const
 Returns the material strain. More...
 
Eigen::VectorXd GetStress () const
 Returns the material stress. More...
 
Eigen::VectorXd GetStrainRate () const
 Returns the material strain rate. More...
 
Eigen::VectorXd GetTotalStress () const
 Computes the material total stress. More...
 
Eigen::MatrixXd GetTangentStiffness () const
 Returns the material stiffness. More...
 
Eigen::MatrixXd GetInitialTangentStiffness () const
 Returns the initial material stiffness. More...
 
void CommitState ()
 Perform converged material state update. More...
 
void ReverseState ()
 Reverse the material states to previous converged state. More...
 
void InitialState ()
 Brings the material states to its initial state in the element. More...
 
void UpdateState (const Eigen::VectorXd strain, const unsigned int cond)
 Update the material state for this iteration. More...
 
- Public Member Functions inherited from Material
 Material (std::string name, bool model)
 Creates a Material to be specified at a Gauss-point in an Element. More...
 
virtual ~Material ()=0
 Destroys this Material object. More...
 
std::string GetName ()
 Gets material information. More...
 
bool IsViscous ()
 Gets material stress model. More...
 

Private Attributes

double E
 Modulus of elasticity. More...
 
double nu
 Poisson's ratio. More...
 
double Rho
 Material density. More...
 
double K
 Plastic modulus. More...
 
double H
 Kinematic hardening modulus. More...
 
double SigmaY
 Yield stress. More...
 
double alpha
 Internal hardening variable. More...
 
double alpha_n
 Internal hardening variable at time n. More...
 
Eigen::VectorXd Strain
 Strain vector. More...
 
Eigen::VectorXd Stress
 Stress vector. More...
 
Eigen::VectorXd BackStress
 Back stress. More...
 
Eigen::VectorXd PlasticStrain
 Plastic strain. More...
 
Eigen::MatrixXd TangentStiffness
 Consistent tangent stiffness. More...
 
Eigen::VectorXd BackStress_n
 Back stress at time n. More...
 
Eigen::VectorXd PlasticStrain_n
 Plastic strain at time n. More...
 
Eigen::VectorXd Strain_n
 Strain at time n. More...
 
Eigen::VectorXd Stress_n
 Stress vector at time n. More...
 
Eigen::MatrixXd TangentStiffness_n
 Consistent tangent stiffness at time n. More...
 

Detailed Description

Class for creating an uniaxial isotropic plastic material for one-dimensional elements.

See also
Material.hpp

Constructor & Destructor Documentation

◆ Plastic1DJ2()

Plastic1DJ2::Plastic1DJ2 ( const double  E,
const double  nu,
const double  rho,
const double  K,
const double  H,
const double  SigmaY 
)

Creates a Plastic1DJ2 material to be specified at a Gauss-point in an Element.

Parameters
EThe material elasticity modulus.
nuThe material Poisson's ratio.
rhoThe material density.
KThe plastic modulus.
HThe hardening parameter.
SigmaYThe yield stress.
See also
Plastic1DJ2::E, Plastic1DJ2::nu, Plastic1DJ2::Rho, Plastic1DJ2::H, Plastic1DJ2::K, Plastic1DJ2::SigmaY.

◆ ~Plastic1DJ2()

Plastic1DJ2::~Plastic1DJ2 ( )

Destroys this Plastic1DJ2 material.

Member Function Documentation

◆ CommitState()

void Plastic1DJ2::CommitState ( )
virtual

Perform converged material state update.

Note
This function sets the trail stress and strain as converged.

Implements Material.

◆ CopyMaterial()

std::unique_ptr<Material> Plastic1DJ2::CopyMaterial ( )
virtual
Returns
A Material pointer to the Plastic1DJ2 derived class.
See also
Material, Plastic1DJ2.

Implements Material.

◆ GetBulkModulus()

double Plastic1DJ2::GetBulkModulus ( ) const
virtual

Access bulk modulus.

Returns
The material bulk's modulus.

Implements Material.

◆ GetDamping()

Eigen::MatrixXd Plastic1DJ2::GetDamping ( ) const
virtual

Returns the material viscous damping.

Returns
Vector with the material damping components.
See also
Plastic1DJ2::Damping.

Implements Material.

◆ GetDensity()

double Plastic1DJ2::GetDensity ( ) const
virtual

Access material density.

Returns
The material density value.
See also
Plastic1DJ2::Rho.

Implements Material.

◆ GetElasticityModulus()

double Plastic1DJ2::GetElasticityModulus ( ) const
virtual

Access modulus of elasticity.

Returns
The material Elasticity's (E) modulus.
See also
Plastic1DJ2::E.

Implements Material.

◆ GetEnergy()

double Plastic1DJ2::GetEnergy ( ) const
virtual

Access the material's energy at current strain.

Returns
Scalar with the material energy value.

Implements Material.

◆ GetInitialTangentStiffness()

Eigen::MatrixXd Plastic1DJ2::GetInitialTangentStiffness ( ) const
virtual

Returns the initial material stiffness.

Returns
Matrix with the initial material tangent stiffness matrix.
Note
The initial tangent stiffness matrix is computed when the strain vector is zero.

Implements Material.

◆ GetPoissonRatio()

double Plastic1DJ2::GetPoissonRatio ( ) const
virtual

Returns the Poisson's ratio.

Returns
The material poisson's ratio.
See also
Plastic1DJ2::nu.

Implements Material.

◆ GetShearModulus()

double Plastic1DJ2::GetShearModulus ( ) const
virtual

Access shear modulus.

Returns
The material shear's modulus.

Implements Material.

◆ GetStrain()

Eigen::VectorXd Plastic1DJ2::GetStrain ( ) const
virtual

Returns the material strain.

Returns
Vector with the material strain components.
Note
The strain can be revisited in Plastic1DJ2.
See also
Plastic1DJ2::Strain.

Implements Material.

◆ GetStrainRate()

Eigen::VectorXd Plastic1DJ2::GetStrainRate ( ) const
virtual

Returns the material strain rate.

Returns
Vector with the material strain-rate components.
Note
The strain-rate can be revisited in Plastic1DJ2.
See also
Plastic1DJ2::StrainRate.

Implements Material.

◆ GetStress()

Eigen::VectorXd Plastic1DJ2::GetStress ( ) const
virtual

Returns the material stress.

Returns
Vector with the material stress components.
Note
The stress can be revisited in Plastic1DJ2.
See also
Plastic1DJ2::Stress.

Implements Material.

◆ GetTangentStiffness()

Eigen::MatrixXd Plastic1DJ2::GetTangentStiffness ( ) const
virtual

Returns the material stiffness.

Returns
Matrix with the material consistent tangent stiffness matrix.
Note
The stiffness matrix can be revisited in Plastic1DJ2.
See also
Plastic1DJ2::TangentStiffness.

Implements Material.

◆ GetTotalStress()

Eigen::VectorXd Plastic1DJ2::GetTotalStress ( ) const
virtual

Computes the material total stress.

Returns
Vector with the material total stress components.
See also
Plastic1DJ2::Stress.

Implements Material.

◆ InitialState()

void Plastic1DJ2::InitialState ( )
virtual

Brings the material states to its initial state in the element.

Note
This funtion returns the material states to the beginning.

Implements Material.

◆ ReverseState()

void Plastic1DJ2::ReverseState ( )
virtual

Reverse the material states to previous converged state.

Note
This funtion returns the material states to previous converged states.

Implements Material.

◆ UpdateState()

void Plastic1DJ2::UpdateState ( const Eigen::VectorXd  strain,
const unsigned int  cond 
)
virtual

Update the material state for this iteration.

Parameters
strainVector with the strain components at this Gauss-point.
condIf the the elastic/plastic material components will be updated.
Note
This function computes the strain and tanget stiffness matrix once the trial strain converged.

Implements Material.

Member Data Documentation

◆ alpha

double Plastic1DJ2::alpha
private

Internal hardening variable.

◆ alpha_n

double Plastic1DJ2::alpha_n
private

Internal hardening variable at time n.

◆ BackStress

Eigen::VectorXd Plastic1DJ2::BackStress
private

Back stress.

◆ BackStress_n

Eigen::VectorXd Plastic1DJ2::BackStress_n
private

Back stress at time n.

◆ E

double Plastic1DJ2::E
private

Modulus of elasticity.

◆ H

double Plastic1DJ2::H
private

Kinematic hardening modulus.

◆ K

double Plastic1DJ2::K
private

Plastic modulus.

◆ nu

double Plastic1DJ2::nu
private

Poisson's ratio.

◆ PlasticStrain

Eigen::VectorXd Plastic1DJ2::PlasticStrain
private

Plastic strain.

◆ PlasticStrain_n

Eigen::VectorXd Plastic1DJ2::PlasticStrain_n
private

Plastic strain at time n.

◆ Rho

double Plastic1DJ2::Rho
private

Material density.

◆ SigmaY

double Plastic1DJ2::SigmaY
private

Yield stress.

◆ Strain

Eigen::VectorXd Plastic1DJ2::Strain
private

Strain vector.

◆ Strain_n

Eigen::VectorXd Plastic1DJ2::Strain_n
private

Strain at time n.

◆ Stress

Eigen::VectorXd Plastic1DJ2::Stress
private

Stress vector.

◆ Stress_n

Eigen::VectorXd Plastic1DJ2::Stress_n
private

Stress vector at time n.

◆ TangentStiffness

Eigen::MatrixXd Plastic1DJ2::TangentStiffness
private

Consistent tangent stiffness.

◆ TangentStiffness_n

Eigen::MatrixXd Plastic1DJ2::TangentStiffness_n
private

Consistent tangent stiffness at time n.