Class for creating an uniaxial elastic gap material compatible with zero-length element.
More...
#include <Elastic1DGap.hpp>
|
double | E |
| The elastic moduli of this material. More...
|
|
double | Gap |
| The separation from which the material start reacting. More...
|
|
bool | Behavior |
| The material behavior (true: Tension, false: Compression) More...
|
|
double | oldStrain |
| Elastic Gap history variables: More...
|
|
double | newStrain |
| Commited Elastic Gap history variables: More...
|
|
Class for creating an uniaxial elastic gap material compatible with zero-length element.
- See also
- Material.hpp
◆ Elastic1DGap()
Elastic1DGap::Elastic1DGap |
( |
double |
E, |
|
|
double |
gap, |
|
|
bool |
behavior = false |
|
) |
| |
Creates a Elastic1DGap material to be specified at a Gauss-point in an Element.
- Parameters
-
E | The elastic moduli of this material |
gap | The separation from which the material start reacting |
behavior | The material behavior (true: Tension, false: Compression) |
- See also
- Elastic1DGap::E, Elastic1DGap::gap.
◆ ~Elastic1DGap()
Elastic1DGap::~Elastic1DGap |
( |
| ) |
|
◆ CommitState()
void Elastic1DGap::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> Elastic1DGap::CopyMaterial |
( |
| ) |
|
|
virtual |
◆ GetBulkModulus()
double Elastic1DGap::GetBulkModulus |
( |
| ) |
const |
|
virtual |
Access bulk modulus.
- Returns
- The material bulk's (K) modulus.
Implements Material.
◆ GetDamping()
Eigen::MatrixXd Elastic1DGap::GetDamping |
( |
| ) |
const |
|
virtual |
Returns the material viscous damping.
- Returns
- Vector with the material damping components.
Implements Material.
◆ GetDensity()
double Elastic1DGap::GetDensity |
( |
| ) |
const |
|
virtual |
Access material density.
- Returns
- The material density value.
Implements Material.
◆ GetElasticityModulus()
double Elastic1DGap::GetElasticityModulus |
( |
| ) |
const |
|
virtual |
Access modulus of elasticity.
- Returns
- The material Elasticity's (E) modulus.
- See also
- Elastic1DGap::E.
Implements Material.
◆ GetEnergy()
double Elastic1DGap::GetEnergy |
( |
| ) |
const |
|
virtual |
Access the material's energy at current strain.
- Returns
- Scalar with the material energy value.
Implements Material.
◆ GetInitialTangentStiffness()
Eigen::MatrixXd Elastic1DGap::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 Elastic1DGap::GetPoissonRatio |
( |
| ) |
const |
|
virtual |
Returns the Poisson's ratio.
- Returns
- The material poisson's ratio.
Implements Material.
◆ GetShearModulus()
double Elastic1DGap::GetShearModulus |
( |
| ) |
const |
|
virtual |
Returns linear shear modulus.
- Returns
- The material density value.
Implements Material.
◆ GetStrain()
Eigen::VectorXd Elastic1DGap::GetStrain |
( |
| ) |
const |
|
virtual |
◆ GetStrainRate()
Eigen::VectorXd Elastic1DGap::GetStrainRate |
( |
| ) |
const |
|
virtual |
Returns the material strain rate.
- Returns
- Vector with the material strain-rate components.
- Note
- The stress-rate can be revisited in Elastic1DGap.
Implements Material.
◆ GetStress()
Eigen::VectorXd Elastic1DGap::GetStress |
( |
| ) |
const |
|
virtual |
Returns the material stress.
- Returns
- Vector with the material stress components.
- Note
- The stress can be revisited in Elastic1DGap.
- See also
- Elastic1DGap::oldStress.
Implements Material.
◆ GetTangentStiffness()
Eigen::MatrixXd Elastic1DGap::GetTangentStiffness |
( |
| ) |
const |
|
virtual |
Returns the material stiffness.
- Returns
- Matrix with the material tangent stiffness matrix.
- Note
- The stiffness matrix can be revisited in Elastic1DGap.
- See also
- Elastic1DGap::oldTangentStiffness.
Implements Material.
◆ GetTotalStress()
Eigen::VectorXd Elastic1DGap::GetTotalStress |
( |
| ) |
const |
|
virtual |
Computes the material total stress.
- Returns
- Vector with the material total stress components.
- Note
- The damping can be revisited in Elastic1DGap.
- See also
- Elastic1DGap::oldStress.
Implements Material.
◆ InitialState()
void Elastic1DGap::InitialState |
( |
| ) |
|
|
virtual |
Brings the material states to its initial state in the element.
- Note
- This function returns the material states to the beginning.
Implements Material.
◆ ReverseState()
void Elastic1DGap::ReverseState |
( |
| ) |
|
|
virtual |
Reverse the material states to previous converged state.
- Note
- This function returns the material states to previous converged states.
Implements Material.
◆ UpdateState()
void Elastic1DGap::UpdateState |
( |
const Eigen::VectorXd |
strain, |
|
|
const unsigned int |
cond = 0 |
|
) |
| |
|
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.
◆ Behavior
bool Elastic1DGap::Behavior |
|
private |
The material behavior (true: Tension, false: Compression)
The elastic moduli of this material.
◆ Gap
The separation from which the material start reacting.
◆ newStrain
double Elastic1DGap::newStrain |
|
private |
Commited Elastic Gap history variables:
◆ oldStrain
double Elastic1DGap::oldStrain |
|
private |
Elastic Gap history variables: