OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s8rota3.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!|| s8rota3 ../engine/source/elements/solid/solide8/s8rota3.F
25!||--- called by ------------------------------------------------------
26!|| s8forc3 ../engine/source/elements/solid/solide8/s8forc3.F
27!||====================================================================
28 SUBROUTINE s8rota3(
29 1 SIG, WXX, WYY, WZZ,
30 2 NEL, JCVT)
31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C G l o b a l P a r a m e t e r s
37C-----------------------------------------------
38#include "mvsiz_p.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER, INTENT(IN) :: JCVT
43 INTEGER NEL
44C REAL
46 . sig(nel,6), wxx(mvsiz), wyy(mvsiz), wzz(mvsiz)
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50C-----------------------------------------------
51C L o c a l V a r i a b l e s
52C-----------------------------------------------
53 INTEGER I
54C REAL
56 . s1, s2, s3, s4, s5, s6,
57 . q1, q2, q3
58C-----------------------------------------------
59 IF (jcvt == 0) THEN
60 DO i=1,nel
61 s1=sig(i,1)
62 s2=sig(i,2)
63 s3=sig(i,3)
64 s4=sig(i,4)
65 s5=sig(i,5)
66 s6=sig(i,6)
67C
68 q1=two*s4*wzz(i)
69 q2=two*s6*wyy(i)
70 q3=two*s5*wxx(i)
71C
72
73 sig(i,1)=s1-q1+q2
74 sig(i,2)=s2+q1-q3
75 sig(i,3)=s3-q2+q3
76 sig(i,4)=s4+wzz(i)*(s1-s2)+wyy(i)*s5-wxx(i)*s6
77 sig(i,5)=s5+wxx(i)*(s2-s3)+wzz(i)*s6-wyy(i)*s4
78 sig(i,6)=s6+wyy(i)*(s3-s1)+wxx(i)*s4-wzz(i)*s5
79 ENDDO
80 ENDIF
81C
82 RETURN
83 END
#define my_real
Definition cppsort.cpp:32
subroutine s8rota3(sig, wxx, wyy, wzz, nel, jcvt)
Definition s8rota3.F:31