OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
szstrainhg.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!||====================================================================
25!|| szstrainhg ../engine/source/elements/solid/solidez/szstrainhg.F
26!||--- called by ------------------------------------------------------
27!|| szhour3 ../engine/source/elements/solid/solidez/szhour3.F
28!|| szhour3_or ../engine/source/elements/solid/solidez/szhour3_or.F
29!|| szhour_ctl ../engine/source/elements/solid/solidez/szhour_ctl.F
30!||====================================================================
31 SUBROUTINE szstrainhg(
32 1 JR_1, JS_1, JT_1, STRHG,
33 2 NEL, HGX1, HGX2, HGX3,
34 3 HGX4, HGY1, HGY2, HGY3,
35 4 HGY4, HGZ1, HGZ2, HGZ3,
36 5 HGZ4, NU, NU1)
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C G l o b a l P a r a m e t e r s
43C-----------------------------------------------
44#include "mvsiz_p.inc"
45C-----------------------------------------------
46C C o m m o n B l o c k s
47C-----------------------------------------------
48#include "com08_c.inc"
49C-----------------------------------------------
50C D u m m y A r g u m e n t s
51C-----------------------------------------------
52 INTEGER NEL
53 my_real
54 . HGX1(MVSIZ), HGX2(MVSIZ), HGX3(MVSIZ), HGX4(MVSIZ),
55 . HGY1(MVSIZ), HGY2(MVSIZ), HGY3(MVSIZ), HGY4(MVSIZ),
56 . HGZ1(MVSIZ), HGZ2(MVSIZ), HGZ3(MVSIZ), HGZ4(MVSIZ),
57 . jr_1(*),js_1(*),jt_1(*) ,strhg(nel,3,6),nu(*),nu1(*)
58C-----------------------------------------------
59C L o c a l V a r i a b l e s
60C-----------------------------------------------
61 INTEGER I, J,IR,IS,IT,IP
62 my_real
63 . HGX(MVSIZ,4), HGY(MVSIZ,4), HGZ(MVSIZ,4),
64 . KSI,ETA,ZETA,COEF,NJR_1(MVSIZ),NJS_1(MVSIZ),NJT_1(MVSIZ),
65 . JSR_1(MVSIZ),JRS_1(MVSIZ),JTR_1(MVSIZ),JRT_1(MVSIZ),JTS_1(MVSIZ),
66 . jst_1(mvsiz),f1,f2,f3,f1x,f2y,f3z
67C-----------------------------------------------
68 coef = eight
69 DO i=1,nel
70 njr_1(i) = coef*jr_1(i)*dt1
71 njs_1(i) = coef*js_1(i)*dt1
72 njt_1(i) = coef*jt_1(i)*dt1
73 ENDDO
74 DO i=1,nel
75 hgx(i,1) = njr_1(i)*hgx1(i)
76 hgx(i,2) = njr_1(i)*hgx2(i)
77 hgx(i,3) = njr_1(i)*hgx3(i)
78 hgx(i,4) = njr_1(i)*hgx4(i)
79 hgy(i,1) = njs_1(i)*hgy1(i)
80 hgy(i,2) = njs_1(i)*hgy2(i)
81 hgy(i,3) = njs_1(i)*hgy3(i)
82 hgy(i,4) = njs_1(i)*hgy4(i)
83 hgz(i,1) = njt_1(i)*hgz1(i)
84 hgz(i,2) = njt_1(i)*hgz2(i)
85 hgz(i,3) = njt_1(i)*hgz3(i)
86 hgz(i,4) = njt_1(i)*hgz4(i)
87 ENDDO
88C------ STRHG(NEL,3,j) : J=1,3: term ksi,eta,zeta of Eii; J=4: shear;
89C------ J=5: mode 4 HGi4; J=6: nu*HGi4;
90 DO i=1,nel
91 f1x = hgx(i,4)
92 f2y = hgy(i,4)
93 f3z = hgz(i,4)
94 strhg(i,1,1)= strhg(i,1,1)-nu1(i)*(hgy(i,3)+hgz(i,2))
95 strhg(i,1,2)= strhg(i,1,2)+hgx(i,3)
96 strhg(i,1,3)= strhg(i,1,3)+hgx(i,2)
97 strhg(i,1,4)= strhg(i,1,4)+hgx1(i)*njs_1(i)+hgy2(i)*njr_1(i)
98 strhg(i,1,5)= strhg(i,1,5)+f1x
99 strhg(i,1,6)= strhg(i,1,6)-nu(i)*f1x
100 strhg(i,2,1)= strhg(i,2,1)+hgy(i,3)
101 strhg(i,2,2)= strhg(i,2,2)-nu1(i)*(hgx(i,3)+hgz(i,1))
102 strhg(i,2,3)= strhg(i,2,3)+hgy(i,1)
103 strhg(i,2,4)= strhg(i,2,4)+hgx1(i)*njt_1(i)+hgz3(i)*njr_1(i)
104 strhg(i,2,5)= strhg(i,2,5)+f2y
105 strhg(i,2,6)= strhg(i,2,6)-nu(i)*f2y
106 strhg(i,3,1)= strhg(i,3,1)+hgz(i,2)
107 strhg(i,3,2)= strhg(i,3,2)+hgz(i,1)
108 strhg(i,3,3)= strhg(i,3,3)-nu1(i)*(hgx(i,2)+hgy(i,1))
109 strhg(i,3,4)= strhg(i,3,4)+hgy2(i)*njt_1(i)+hgz3(i)*njs_1(i)
110 strhg(i,3,5)= strhg(i,3,5)+f3z
111 strhg(i,3,6)= strhg(i,3,6)-nu(i)*f3z
112 END DO
113C
114 RETURN
115 END
subroutine szstrainhg(jr_1, js_1, jt_1, strhg, nel, hgx1, hgx2, hgx3, hgx4, hgy1, hgy2, hgy3, hgy4, hgz1, hgz2, hgz3, hgz4, nu, nu1)
Definition szstrainhg.F:37