OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s4mall3.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!|| s4malla3 ../engine/source/elements/solid/solide4/s4mall3.F
25!||--- called by ------------------------------------------------------
26!|| s4forc3 ../engine/source/elements/solid/solide4/s4forc3.F
27!||====================================================================
28 SUBROUTINE s4malla3(
29 1 SAV, OFFG, OFF, WXX,
30 2 WYY, WZZ, NEL, ISMSTR,
31 3 JLAG)
32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C C o m m o n B l o c k s
38C-----------------------------------------------
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER, INTENT(IN) :: ISMSTR
43 INTEGER, INTENT(IN) :: JLAG
44 INTEGER NEL
46 . offg(*),off(*),wxx(*),wyy(*),wzz(*)
47 double precision
48 . sav(nel,9)
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER I
53C REAL
54 DOUBLE PRECISION
55 . x , y, z ,dv
56C-----------------------------------------------
57C-----------------------------
58C ROTATION RBY DES COORDONNEES POUR SMALL STRAIN
59C-----------------------------
60 IF(ismstr==11)THEN
61 DO i=1,nel
62C-----------------------------------------------
63 IF(offg(i)==zero) cycle
64 x=sav(i,1)
65 y=sav(i,4)
66 z=sav(i,7)
67 sav(i,1) = x - y*wzz(i) + z*wyy(i)
68 sav(i,4) = y - z*wxx(i) + x*wzz(i)
69 sav(i,7) = z - x*wyy(i) + y*wxx(i)
70C
71 x=sav(i,2)
72 y=sav(i,5)
73 z=sav(i,8)
74 sav(i,2) = x - y*wzz(i) + z*wyy(i)
75 sav(i,5) = y - z*wxx(i) + x*wzz(i)
76 sav(i,8) = z - x*wyy(i) + y*wxx(i)
77C
78 x=sav(i,3)
79 y=sav(i,6)
80 z=sav(i,9)
81 sav(i,3) = x - y*wzz(i) + z*wyy(i)
82 sav(i,6) = y - z*wxx(i) + x*wzz(i)
83 sav(i,9) = z - x*wyy(i) + y*wxx(i)
84C
85 ENDDO
86 ELSEIF(ismstr<=4.AND.jlag>0)THEN
87 DO i=1,nel
88 IF(offg(i)>one)THEN
89C-----------------------------------------------
90 x=sav(i,1)
91 y=sav(i,2)
92 z=sav(i,3)
93 sav(i,1) = x - y*wzz(i) + z*wyy(i)
94 sav(i,2) = y - z*wxx(i) + x*wzz(i)
95 sav(i,3) = z - x*wyy(i) + y*wxx(i)
96C
97 x=sav(i,4)
98 y=sav(i,5)
99 z=sav(i,6)
100 sav(i,4) = x - y*wzz(i) + z*wyy(i)
101 sav(i,5) = y - z*wxx(i) + x*wzz(i)
102 sav(i,6) = z - x*wyy(i) + y*wxx(i)
103C
104 x=sav(i,7)
105 y=sav(i,8)
106 z=sav(i,9)
107 sav(i,7) = x - y*wzz(i) + z*wyy(i)
108 sav(i,8) = y - z*wxx(i) + x*wzz(i)
109 sav(i,9) = z - x*wyy(i) + y*wxx(i)
110C
111 ENDIF
112 ENDDO
113 ENDIF
114C
115 RETURN
116 END
#define my_real
Definition cppsort.cpp:32
subroutine s4malla3(sav, offg, off, wxx, wyy, wzz, nel, ismstr, jlag)
Definition s4mall3.F:32