OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cdk6stra3.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!|| cdk6stra3 ../engine/source/elements/sh3n/coquedk6/cdk6stra3.F
25!||--- called by ------------------------------------------------------
26!|| cdk6forc3 ../engine/source/elements/sh3n/coquedk6/cdk6forc3.F
27!||====================================================================
28 SUBROUTINE cdk6stra3(JFT, JLT, NFT, VDEF, GSTR,
29 2 EXX, EYY, EXY, EXZ, EYZ,
30 3 KXX, KYY, KXY, DT1C,EPSDOT,
31 4 IEPSDOT, ISTRAIN,NEL)
32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C G l o b a l P a r a m e t e r s
38C-----------------------------------------------
39#include "mvsiz_p.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER JFT, JLT, NFT, IEPSDOT, ISTRAIN,NEL
44 my_real
45 . VDEF(MVSIZ,8), GSTR(NEL,8),
46 . exx(mvsiz),eyy(mvsiz),exy(mvsiz),exz(mvsiz),eyz(mvsiz),
47 . kxx(mvsiz),kyy(mvsiz),kxy(mvsiz),dt1c(mvsiz),
48 . epsdot(6,*)
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER I, J
53C-----------------------------------------------
54 IF(IEPSDOT/=0)then
55 DO i=jft,jlt
56 j = i + nft
57 epsdot(1,j) = vdef(i,1)
58 epsdot(2,j) = vdef(i,2)
59 epsdot(3,j) = vdef(i,3)
60 epsdot(4,j) = vdef(i,6)
61 epsdot(5,j) = vdef(i,7)
62 epsdot(6,j) = vdef(i,8)
63 ENDDO
64 ENDIF
65C
66 DO i=jft,jlt
67 exx(i) = vdef(i,1) * dt1c(i)
68 eyy(i) = vdef(i,2) * dt1c(i)
69 exy(i) = vdef(i,3) * dt1c(i)
70 eyz(i) = 0.0
71 exz(i) = 0.0
72 kxx(i) = vdef(i,6) * dt1c(i)
73 kyy(i) = vdef(i,7) * dt1c(i)
74 kxy(i) = vdef(i,8) * dt1c(i)
75 ENDDO
76C
77 IF(istrain/=0)THEN
78 DO i=jft,jlt
79 gstr(i,1)=gstr(i,1)+exx(i)
80 gstr(i,2)=gstr(i,2)+eyy(i)
81 gstr(i,3)=gstr(i,3)+exy(i)
82C GSTR(I,4)=GSTR(I,4)+EYZ(I)
83C GSTR(I,5)=GSTR(I,5)+EXZ(I)
84 gstr(i,6)=gstr(i,6)+kxx(i)
85 gstr(i,7)=gstr(i,7)+kyy(i)
86 gstr(i,8)=gstr(i,8)+kxy(i)
87 ENDDO
88 ENDIF
89C
90 RETURN
91 END
subroutine cdk6stra3(jft, jlt, nft, vdef, gstr, exx, eyy, exy, exz, eyz, kxx, kyy, kxy, dt1c, epsdot, iepsdot, istrain, nel)
Definition cdk6stra3.F:32