UMAT-ABAQUS
A general framework to develop material models (UMAT) in ABAQUS
index.for
Go to the documentation of this file.
1  SUBROUTINE indexx(STRESS,DDSDDE,SIG,TNG,NTENS,NDI)
2 C> INDEXATION: FULL SIMMETRY IN STRESSES AND ELASTICITY TENSORS
3  IMPLICIT NONE
4  include 'PARAM_UMAT.INC'
5 C
6  INTEGER II1(6),II2(6),NTENS,NDI,I1,J1
7  DOUBLE PRECISION STRESS(ntens),DDSDDE(ntens,ntens)
8  DOUBLE PRECISION SIG(ndi,ndi),TNG(ndi,ndi,ndi,ndi)
9  DOUBLE PRECISION PP1,PP2
10 C
11  ii1(1)=1
12  ii1(2)=2
13  ii1(3)=3
14  ii1(4)=1
15  ii1(5)=1
16  ii1(6)=2
17 C
18  ii2(1)=1
19  ii2(2)=2
20  ii2(3)=3
21  ii2(4)=2
22  ii2(5)=3
23  ii2(6)=3
24 C
25  DO i1=1,ntens
26 C STRESS VECTOR
27  stress(i1)=sig(ii1(i1),ii2(i1))
28  DO j1=1,ntens
29 C DDSDDE - FULLY SIMMETRY IMPOSED
30  pp1=tng(ii1(i1),ii2(i1),ii1(j1),ii2(j1))
31  pp2=tng(ii1(i1),ii2(i1),ii2(j1),ii1(j1))
32  ddsdde(i1,j1)=(one/two)*(pp1+pp2)
33  END DO
34  END DO
35 C
36  RETURN
37 C
38  END SUBROUTINE indexx
subroutine indexx(STRESS, DDSDDE, SIG, TNG, NTENS, NDI)
Definition: index.for:2