OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sstra3.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!|| sstra3 ../engine/source/elements/solid/solide/sstra3.F
25!||--- called by ------------------------------------------------------
26!|| ig3duforc3 ../engine/source/elements/ige3d/ig3duforc3.F
27!|| s10forc3 ../engine/source/elements/solid/solide10/s10forc3.F
28!|| s16forc3 ../engine/source/elements/thickshell/solide16/s16forc3.F
29!|| s20forc3 ../engine/source/elements/solid/solide20/s20forc3.F
30!|| s4forc3 ../engine/source/elements/solid/solide4/s4forc3.F
31!|| s6cforc3 ../engine/source/elements/thickshell/solide6c/s6cforc3.F
32!|| s8cforc3 ../engine/source/elements/thickshell/solide8c/s8cforc3.F
33!|| s8eforc3 ../engine/source/elements/solid/solide8e/s8eforc3.F
34!|| s8sforc3 ../engine/source/elements/solid/solide8s/s8sforc3.F
35!|| s8zforc3 ../engine/source/elements/solid/solide8z/s8zforc3.F
36!|| scforc3 ../engine/source/elements/thickshell/solidec/scforc3.F
37!|| sforc3 ../engine/source/elements/solid/solide/sforc3.F
38!|| spstres ../engine/source/elements/sph/spstres.F
39!|| szforc3 ../engine/source/elements/solid/solidez/szforc3.F
40!||====================================================================
41 SUBROUTINE sstra3(
42 1 DXX, DYY, DZZ, D4,
43 2 D5, D6, STRAIN, WXX,
44 3 WYY, WZZ, OFF, NEL,
45 4 JCVT)
46C-----------------------------------------------
47C I m p l i c i t T y p e s
48C-----------------------------------------------
49#include "implicit_f.inc"
50C-----------------------------------------------
51C C o m m o n B l o c k s
52C-----------------------------------------------
53#include "com08_c.inc"
54C-----------------------------------------------
55C D u m m y A r g u m e n t s
56C-----------------------------------------------
57 INTEGER, INTENT(IN) :: JCVT
58 INTEGER, INTENT(IN) :: NEL
59 my_real DXX(*), DYY(*), DZZ(*), D4(*), D5(*), D6(*),
60 . STRAIN(NEL,6), WXX(*), WYY(*), WZZ(*),OFF(*)
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER I
65 my_real WXXF, WYYF, WZZF, Q1, Q2, Q3, SS1, SS2, SS3,
66 . SS4, SS5, SS6, DTOFF(NEL)
67C-
68 wxxf = zero
69 wyyf = zero
70 wzzf = zero
71 q1 = zero
72 q2= zero
73 q3=0
74 dtoff(1:nel) = dt1*off(1:nel)
75 IF(jcvt>0)THEN
76 DO i=1,nel
77 strain(i,1)=strain(i,1)+dxx(i)*dtoff(i)
78 strain(i,2)=strain(i,2)+dyy(i)*dtoff(i)
79 strain(i,3)=strain(i,3)+dzz(i)*dtoff(i)
80 strain(i,4)=strain(i,4)+d4(i)*dtoff(i)
81 strain(i,5)=strain(i,5)+d5(i)*dtoff(i)
82 strain(i,6)=strain(i,6)+d6(i)*dtoff(i)
83 ENDDO
84 ELSE
85 DO i=1,nel
86C
87 wxxf=wxx(i)*off(i)
88 wyyf=wyy(i)*off(i)
89 wzzf=wzz(i)*off(i)
90C
91 q1=strain(i,4)*wzzf
92 q2=strain(i,6)*wyyf
93 q3=strain(i,5)*wxxf
94 ss1=strain(i,1)-q1+q2
95 ss2=strain(i,2)+q1-q3
96 ss3=strain(i,3)-q2+q3
97 ss4=strain(i,4)+2.*wzzf*(strain(i,1)-strain(i,2))+
98 . wyyf*strain(i,5)-wxxf*strain(i,6)
99 ss5=strain(i,5)+2.*wxxf*(strain(i,2)-strain(i,3))+
100 . wzzf*strain(i,6)-wyyf*strain(i,4)
101 ss6=strain(i,6)+2.*wyyf*(strain(i,3)-strain(i,1))+
102 . wxxf*strain(i,4)-wzzf*strain(i,5)
103 strain(i,1)= ss1 + dxx(i)*dtoff(i)
104 strain(i,2)= ss2 + dyy(i)*dtoff(i)
105 strain(i,3)= ss3 + dzz(i)*dtoff(i)
106 strain(i,4)= ss4 + d4(i)*dtoff(i)
107 strain(i,5)= ss5 + d5(i)*dtoff(i)
108 strain(i,6)= ss6 + d6(i)*dtoff(i)
109 ENDDO
110 ENDIF
111c------------
112 RETURN
113 END SUBROUTINE sstra3
subroutine sstra3(dxx, dyy, dzz, d4, d5, d6, strain, wxx, wyy, wzz, off, nel, jcvt)
Definition sstra3.F:46