Class for creating an uniaxial isotropic linear elastic material for one-dimensional elements.
More...
#include <Elastic1DLinear.hpp>
Class for creating an uniaxial isotropic linear elastic material for one-dimensional elements.
- See also
- Material.hpp
◆ Elastic1DLinear()
Elastic1DLinear::Elastic1DLinear |
( |
const double |
E, |
|
|
const double |
nu = 0 , |
|
|
const double |
rho = 0.0 |
|
) |
| |
◆ ~Elastic1DLinear()
Elastic1DLinear::~Elastic1DLinear |
( |
| ) |
|
◆ CommitState()
void Elastic1DLinear::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> Elastic1DLinear::CopyMaterial |
( |
| ) |
|
|
virtual |
◆ GetBulkModulus()
double Elastic1DLinear::GetBulkModulus |
( |
| ) |
const |
|
virtual |
Access bulk modulus.
- Returns
- The material bulk's (K) modulus.
Implements Material.
◆ GetDamping()
Eigen::MatrixXd Elastic1DLinear::GetDamping |
( |
| ) |
const |
|
virtual |
Returns the material viscous damping.
- Returns
- Vector with the material damping components.
Implements Material.
◆ GetDensity()
double Elastic1DLinear::GetDensity |
( |
| ) |
const |
|
virtual |
◆ GetElasticityModulus()
double Elastic1DLinear::GetElasticityModulus |
( |
| ) |
const |
|
virtual |
◆ GetEnergy()
double Elastic1DLinear::GetEnergy |
( |
| ) |
const |
|
virtual |
Access the material's energy at current strain.
- Returns
- Scalar with the material energy value.
Implements Material.
◆ GetInitialTangentStiffness()
Eigen::MatrixXd Elastic1DLinear::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 Elastic1DLinear::GetPoissonRatio |
( |
| ) |
const |
|
virtual |
◆ GetShearModulus()
double Elastic1DLinear::GetShearModulus |
( |
| ) |
const |
|
virtual |
Access shear modulus.
- Returns
- The material shear's (G) modulus.
Implements Material.
◆ GetStrain()
Eigen::VectorXd Elastic1DLinear::GetStrain |
( |
| ) |
const |
|
virtual |
◆ GetStrainRate()
Eigen::VectorXd Elastic1DLinear::GetStrainRate |
( |
| ) |
const |
|
virtual |
Returns the material strain rate.
- Returns
- Vector with the material strain-rate components.
- Note
- The stress-rate can be revisited in Elastic1DLinear.
Implements Material.
◆ GetStress()
Eigen::VectorXd Elastic1DLinear::GetStress |
( |
| ) |
const |
|
virtual |
Returns the material stress.
- Returns
- Vector with the material stress components.
- Note
- The stress can be revisited in Elastic1DLinear.
- See also
- Elastic1DLinear::Stress.
Implements Material.
◆ GetTangentStiffness()
Eigen::MatrixXd Elastic1DLinear::GetTangentStiffness |
( |
| ) |
const |
|
virtual |
◆ GetTotalStress()
Eigen::VectorXd Elastic1DLinear::GetTotalStress |
( |
| ) |
const |
|
virtual |
Computes the material total stress.
- Returns
- Vector with the material total stress components.
- Note
- The damping can be revisited in Elastic1DLinear.
- See also
- Elastic1DLinear::Stress.
Implements Material.
◆ InitialState()
void Elastic1DLinear::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 Elastic1DLinear::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 Elastic1DLinear::UpdateState |
( |
const Eigen::VectorXd |
strain, |
|
|
const unsigned int |
cond |
|
) |
| |
|
virtual |
Update the material state for this iteration.
- Parameters
-
strain | Vector with the strain components at this Gauss-point. |
cond | If 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.
double Elastic1DLinear::E |
|
private |
◆ newStrain
Eigen::VectorXd Elastic1DLinear::newStrain |
|
private |
◆ nu
double Elastic1DLinear::nu |
|
private |
◆ Rho
double Elastic1DLinear::Rho |
|
private |
◆ Strain
Eigen::VectorXd Elastic1DLinear::Strain |
|
private |
◆ TangentStiffness
Eigen::MatrixXd Elastic1DLinear::TangentStiffness |
|
private |
Tangent stiffness matrix.