OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cdkstra3.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| cdkstra3 ../engine/source/elements/sh3n/coquedk/cdkstra3.F
25!||--- called by ------------------------------------------------------
26!|| cdkforc3 ../engine/source/elements/sh3n/coquedk/cdkforc3.F
27!||====================================================================
28 SUBROUTINE cdkstra3(JFT,JLT,GSTR,EXX, EYY, EXY,KXX, KYY, KXY,
29 . EPSDOT,NFT,ISTRAIN,DT1,GSTRPG,NEL)
30C-----------------------------------------------
31C I m p l i c i t T y p e s
32C-----------------------------------------------
33#include "implicit_f.inc"
34C-----------------------------------------------
35C C o m m o n B l o c k s
36C-----------------------------------------------
37#include "scr14_c.inc"
38C-----------------------------------------------
39C D u m m y A r g u m e n t s
40C-----------------------------------------------
41 INTEGER :: JFT, JLT,NFT,ISTRAIN,NEL
42 my_real :: gstr(nel,8), exx(*), eyy(*), exy(*),kxx(*), kyy(*), kxy(*),epsdot(6,*),dt1,gstrpg(nel,8)
43C-----------------------------------------------
44C L o c a l V a r i a b l e s
45C-----------------------------------------------
46 INTEGER I,J
47C-----------------------------------------------
48 IF(iepsdot /= 0)THEN
49 DO i=jft,jlt
50 j = i + nft
51 epsdot(4,j)=kxx(i)
52 epsdot(5,j)=kyy(i)
53 epsdot(6,j)=kxy(i)
54 ENDDO
55 ENDIF
56
57 DO i=jft,jlt
58 kxx(i)=kxx(i)*dt1
59 kyy(i)=kyy(i)*dt1
60 kxy(i)=kxy(i)*dt1
61 ENDDO
62
63 IF(istrain /= 0)THEN
64 DO i=jft,jlt
65 gstr(i,6)=gstr(i,6)+kxx(i)*third
66 gstr(i,7)=gstr(i,7)+kyy(i)*third
67 gstr(i,8)=gstr(i,8)+kxy(i)*third
68 gstrpg(i,1)=gstrpg(i,1)+exx(i)
69 gstrpg(i,2)=gstrpg(i,2)+eyy(i)
70 gstrpg(i,3)=gstrpg(i,3)+exy(i)
71 gstrpg(i,6)=gstrpg(i,6)+kxx(i)
72 gstrpg(i,7)=gstrpg(i,7)+kyy(i)
73 gstrpg(i,8)=gstrpg(i,8)+kxy(i)
74 ENDDO
75 ENDIF
76
77 RETURN
78 END
subroutine cdkstra3(jft, jlt, gstr, exx, eyy, exy, kxx, kyy, kxy, epsdot, nft, istrain, dt1, gstrpg, nel)
Definition cdkstra3.F:30
#define my_real
Definition cppsort.cpp:32