OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
gray10.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!|| gray10 ../engine/source/materials/mat/mat016/gray10.F
25!||--- called by ------------------------------------------------------
26!|| mmain ../engine/source/materials/mat_share/mmain.F90
27!||====================================================================
28 SUBROUTINE gray10(OFF ,SNEW ,QOLD ,EINT ,VOLN ,
29 2 DVOL ,SOLD1 ,SOLD2 ,SOLD3 ,SOLD4,
30 3 SOLD5 ,SOLD6 ,D1 ,D2 ,D3 ,
31 4 D4 ,D5 ,D6 ,NEL ,POLD,
32 5 EINC)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C G l o b a l P a r a m e t e r s
39C-----------------------------------------------
40#include "mvsiz_p.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER NEL
45 my_real
46 . OFF(*), SNEW(NEL,6), QOLD(*), EINT(*), VOLN(*),
47 . DVOL(*), SOLD1(*), SOLD2(*), SOLD3(*),
48 . sold4(*), sold5(*), sold6(*), d1(*), d2(*), d3(*),
49 . d4(*), d5(*), d6(*), pold(*), einc(*)
50C-----------------------------------------------
51C C o m m o n B l o c k s
52C-----------------------------------------------
53#include "com08_c.inc"
54C-----------------------------------------------
55C L o c a l V a r i a b l e s
56C-----------------------------------------------
57 INTEGER I
58 my_real
59 . VAVG(MVSIZ), E1(MVSIZ), E2(MVSIZ), E3(MVSIZ), E4(MVSIZ),
60 . E5(MVSIZ), E6(MVSIZ), DTA
61C-----------------------------------------------
62
63 dta =fourth*dt1
64
65 DO i=1,nel
66 e1(i)=d1(i)*(sold1(i)+snew(i,1)+pold(i))
67 e2(i)=d2(i)*(sold2(i)+snew(i,2)+pold(i))
68 e3(i)=d3(i)*(sold3(i)+snew(i,3)+pold(i))
69 e4(i)=d4(i)*(sold4(i)+snew(i,4))
70 e5(i)=d5(i)*(sold5(i)+snew(i,5))
71 e6(i)=d6(i)*(sold6(i)+snew(i,6))
72 ENDDO
73
74 DO i=1,nel
75 vavg(i)=(two*voln(i)-dvol(i))*off(i)
76 dvol(i)=dvol(i)*off(i)
77 einc(i)=vavg(i)*(e1(i)+e2(i)+e3(i)+e4(i)+e5(i)+e6(i))*dta
78 ENDDO
79
80 DO i=1,nel
81 einc(i)=einc(i)-dvol(i)*(pold(i)+qold(i))*half
82 eint(i)=eint(i)+einc(i)
83 ENDDO
84
85 RETURN
86 END
subroutine gray10(off, snew, qold, eint, voln, dvol, sold1, sold2, sold3, sold4, sold5, sold6, d1, d2, d3, d4, d5, d6, nel, pold, einc)
Definition gray10.F:33