OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s8zsigp3.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/.
23c
24!||====================================================================
25!|| s8zsigp3 ../engine/source/elements/solid/solide8z/s8zsigp3.F
26!||--- called by ------------------------------------------------------
27!|| q4forc2 ../engine/source/elements/solid_2d/quad4/q4forc2.F
28!|| q4ke2 ../engine/source/elements/solid_2d/quad4/q4ke2.F
29!|| s6cke3 ../engine/source/elements/thickshell/solide6c/s6cke3.F
30!|| s8cke3 ../engine/source/elements/thickshell/solide8c/s8cke3.F
31!|| s8eforc3 ../engine/source/elements/solid/solide8e/s8eforc3.F
32!|| s8zforc3 ../engine/source/elements/solid/solide8z/s8zforc3.F
33!|| s8zke3 ../engine/source/elements/solid/solide8z/s8zke3.F
34!||====================================================================
35 SUBROUTINE s8zsigp3(LFT ,LLT ,SIG ,E0 ,DEFP,
36 2 FAC ,G_PLA,NEL )
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER LFT,LLT,G_PLA,NEL
45C REAL
47 . sig(nel,6),e0(*),defp(*),fac(*)
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER I
52C REAL
54 . s1,s2,s3,sigy,deft
55C-----------------------------------------------
56 IF (g_pla == 0) THEN
57 DO i=lft,llt
58 fac(i)=zero
59 ENDDO
60 ELSE
61 DO i=lft,llt
62 IF (defp(i) <= zero) THEN
63 fac(i)=zero
64 ELSE
65 s1 =sig(i,1)-sig(i,2)
66 s2 =sig(i,2)-sig(i,3)
67 s3 =sig(i,1)-sig(i,3)
68 sigy = (s1*s1+s2*s2+s3*s3)*half +three*(sig(i,4)*sig(i,4)
69 . +sig(i,5)*sig(i,5)+sig(i,6)*sig(i,6))
70 deft = sqrt(sigy)/e0(i)+defp(i)
71 fac(i)=defp(i)/deft
72 ENDIF
73 ENDDO
74 ENDIF
75C-----------
76 RETURN
77 END
#define my_real
Definition cppsort.cpp:32
subroutine s8zsigp3(lft, llt, sig, e0, defp, fac, g_pla, nel)
Definition s8zsigp3.F:37