Go to the documentation of this file.
13 #include "RankFourTensor.h"
14 #include "RankTwoTensor.h"
MaterialProperty< RankFourTensor > & _first_elasticity_tensor
Elasticity tensor of a stand-alone elastic spring in the chain.
MaterialProperty< RankFourTensor > * _first_elasticity_tensor_inv
virtual void computeQpElasticityTensor() final
Inherited from ComputeElasticityTensorBase.
MaterialProperty< RankTwoTensor > & _apparent_creep_strain
The apparent creep strain resulting from the internal viscous strains.
MaterialProperty< RankFourTensor > & _apparent_elasticity_tensor
Apparent elasticity tensor. This is NOT the elasticity tensor of the material.
IntegrationRule _integration_rule
Determines how theta is computed.
std::string _driving_eigenstrain_name
Name of the eigenstrain that drives the additional creep strain.
const MaterialProperty< RankTwoTensor > & _apparent_creep_strain_old
std::vector< MaterialProperty< RankFourTensor > * > _springs_elasticity_tensors_inv
std::vector< MaterialProperty< Real > * > _dashpot_viscosities
List of viscosities of each subsequent dashpot in the chain.
void declareViscoelasticProperties()
Declare all necessary MaterialProperties for the model.
const MaterialProperty< RankTwoTensor > * _driving_eigenstrain
Pointer to the value of the driving eigenstrain.
std::vector< const MaterialProperty< Real > * > _dashpot_viscosities_old
virtual void computeQpViscoelasticPropertiesInv()
This method computes the inverse elasticity tensor of each spring in the system (if required).
virtual void updateQpViscousStrains()=0
Update the internal viscous strains at a quadrature point.
virtual void computeQpApparentCreepStrain()=0
This method computes the apparent creep strain corresponding to the current viscous_strain of each da...
void recomputeQpApparentProperties(unsigned int qp)
Compute the apparent properties at a quadrature point.
bool _has_driving_eigenstrain
Indicates if the model is only driven by the stress, or also by an additional eigenstrain.
const MaterialProperty< RankTwoTensor > & _creep_strain_old
Previous value of the true creep strain for update purposes.
InputParameters validParams< LinearViscoelasticityBase >()
Real computeTheta(Real dt, Real viscosity) const
Provides theta as a function of the time step and a viscosity.
static InputParameters validParams()
ComputeElasticityTensorBase the base class for computing elasticity tensors.
bool _has_longterm_dashpot
Indicates if the spring-dashpot assembly has a single dashpot not associated with a spring.
const MaterialProperty< RankTwoTensor > * _driving_eigenstrain_old
Real _theta
User-defined value for theta.
std::vector< MaterialProperty< RankTwoTensor > * > _viscous_strains
MaterialProperty< RankFourTensor > & _apparent_elasticity_tensor_inv
Inverse of the apparent elasticity tensor.
std::vector< const MaterialProperty< RankFourTensor > * > _springs_elasticity_tensors_inv_old
bool _need_viscoelastic_properties_inverse
If active, indicates that we need to call computeQpViscoelasticPropertiesInv()
virtual void computeQpApparentElasticityTensors()=0
This method computes the apparent elasticity tensor used in the internal time-stepping scheme.
virtual void computeQpViscoelasticProperties()=0
This method assigns the mechanical properties of each spring and dashpot in the system.
std::vector< const MaterialProperty< RankTwoTensor > * > _viscous_strains_old
const MaterialProperty< RankTwoTensor > & _elastic_strain_old
previous value of the elastic strain for update purposes
virtual void initQpStatefulProperties() override
theta defined by the user
bool _force_recompute_properties
If activated, the time-stepping scheme will be re-initialized at each step of the solver.
LinearViscoelasticityBase(const InputParameters ¶meters)
MaterialProperty< RankFourTensor > & _elasticity_tensor_inv
Instantaneous elasticity tensor. This IS the real elasticity tensor of the material.
bool & _step_zero
checks whether we are at the first time step
std::vector< MaterialProperty< RankFourTensor > * > _springs_elasticity_tensors
List of elasticity tensor of each subsequent spring in the chain.
theta automatically adjusted as a function of the time step and the viscosity
IntegrationRule
Determines how theta is calculated for the time-integration system.
unsigned int _components
This is the number of internal variables required by the model.
This class is a base class for materials consisting of an assembly of linear springs and dashpots.