Subroutine regarding Elastic Deformation (uelastic.f90)¶
The subroutines are provided in order to perform update calculations of the elastic stiffness matrix and stress of the elasticity and hyperelasticity problems. When using the user elasticity, or a hyperelasticity constitutive equation, first, it is necessary to set the !ELASTIC, TYPE=USER or the !HYPERELASTIC, TYPE=USER in the input file, input the required material constants and then, create the subroutines uElasticMatrix and uElasticUpdate.
(1) Calculation subroutine of elastic stiffness matrix¶
subroutine uElasticMatrix( matl, strain, D )
REAL(KIND=kreal), INTENT(IN) :: matl(:)
REAL(KIND=kreal), INTENT(IN) :: strain(6)
REAL(KIND=kreal), INTENT(OUT) :: D(6,6)
matl: Array to save the material constants (100 max)strain: Green-Lagrange strainD: Elastic matrix
(2) Calculation subroutine of stress¶
subroutine uElasticUpdate ( matl, strain, stress )
REAL(KIND=kreal), INTENT(IN) :: matl(:)
REAL(KIND=kreal), INTENT(IN) :: strain(6)
REAL(KIND=kreal), INTENT(OUT) :: stress(6)
matl: Array to save the material constants (100 max)strain: Green-Lagrange strainstress: Stress