OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sktcons2.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"
#include "impl1_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine sktcons2 (jft, jlt, cc, lamda, g, cg, g33, ir, is, it, nel, mtn)

Function/Subroutine Documentation

◆ sktcons2()

subroutine sktcons2 ( integer jft,
integer jlt,
cc,
lamda,
g,
cg,
g33,
integer ir,
integer is,
integer it,
integer, intent(in) nel,
integer, intent(in) mtn )

Definition at line 33 of file sktcons2.F.

37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE imp_ktan
41 USE imp_ktan_def
42C-----------------------------------------------
43C I m p l i c i t T y p e s
44C-----------------------------------------------
45#include "implicit_f.inc"
46C-----------------------------------------------
47C G l o b a l P a r a m e t e r s
48C-----------------------------------------------
49#include "mvsiz_p.inc"
50C-----------------------------------------------
51C C o m m o n B l o c k s
52C-----------------------------------------------
53#include "impl1_c.inc"
54C-----------------------------------------------
55C D u m m y A r g u m e n t s
56C-----------------------------------------------
57 INTEGER, INTENT(IN) :: NEL
58 INTEGER, INTENT(IN) :: MTN
59 INTEGER JFT, JLT ,IR,IS,IT
60C REAL
62 . lamda(*),g(*),cc(3,3,*),cg(3,3,*),g33(3,3,*)
63C-----------------------------------------------
64C L o c a l V a r i a b l e s
65C-----------------------------------------------
66 INTEGER I,MX,J,K,IPLAST
67C REAL
69 . nu,sig(6,mvsiz),alpha(mvsiz),g2,tt,tv
70 TYPE(L_KTBUFEP_) , POINTER :: LBUF
71 TYPE(MLAW_TAG_) , POINTER :: MTAG
72C-----------------------------------------------
73 mtag => ktbuf_str(ng_imp)%MLAW_TAG(mtn)
74 lbuf => ktbuf_str(ng_imp)%KTBUFEP(ir,is,it)
75 IF (mtag%L_A_KT>0) THEN
76 DO i=jft,jlt
77c ...... SIG contains normalized deviatoric stresses ...
78 j=6*(i-1)
79 sig(1,i)= lbuf%SIGE(j+1)
80 sig(2,i)= lbuf%SIGE(j+2)
81 sig(3,i)= lbuf%SIGE(j+3)
82 sig(4,i)= lbuf%SIGE(j+4)
83 sig(5,i)= lbuf%SIGE(j+5)
84 sig(6,i)= lbuf%SIGE(j+6)
85c ..... ALPHA(I) is the alpha constant of the radial return..
86 alpha(i)= lbuf%A_KT(i)
87 ENDDO
88 ELSE
89 DO i=jft,jlt
90 alpha(i)= one
91 ENDDO
92 END IF !(MTAG%L_A_KT>0) THEN
93 DO i=jft,jlt
94 tv=lamda(i)+two_third*g(i)*(one-alpha(i))
95 tt=tv+two*g(i)*alpha(i)
96 cc(1,1,i)=tt
97 cc(2,2,i)=tt
98 cc(3,3,i)=tt
99 cc(1,2,i)=tv
100 cc(1,3,i)=tv
101 cc(2,3,i)=tv
102 cc(2,1,i)=tv
103 cc(3,1,i)=tv
104 cc(3,2,i)=tv
105 ENDDO
106 DO j = 1, 3
107 DO k = 1, 3
108 DO i=jft,jlt
109 cg(j,k,i)=zero
110 g33(j,k,i)=zero
111 ENDDO
112 ENDDO
113 ENDDO
114 DO i=jft,jlt
115 g2 = g(i)*alpha(i)
116 g33(1,1,i)=g2
117 g33(2,2,i)=g2
118 g33(3,3,i)=g2
119 ENDDO
120 CALL sktvonm4(1 ,nel ,cc ,sig ,cg ,
121 . g33 ,alpha )
122C
123 RETURN
subroutine cg(dim, mat, rhs, sol, max_iter, tol)
#define my_real
Definition cppsort.cpp:32
#define alpha
Definition eval.h:35
type(ktbuf_struct_), dimension(:), allocatable, target ktbuf_str
subroutine sktvonm4(lft, llt, dd, sig, dd1, gt, r)
Definition sktvonm4.F:30