OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sordeft12.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 12
24!||====================================================================
25!|| sordeft12 ../engine/source/elements/solid/solidez/sordeft12.F
26!||--- called by ------------------------------------------------------
27!|| s10forc3 ../engine/source/elements/solid/solide10/s10forc3.F
28!|| s4forc3 ../engine/source/elements/solid/solide4/s4forc3.F
29!|| s8eforc3 ../engine/source/elements/solid/solide8e/s8eforc3.F
30!|| sforc3 ../engine/source/elements/solid/solide/sforc3.F
31!||====================================================================
32 SUBROUTINE sordeft12(JFT,JLT,MXX, MXY, MXZ,
33 . MYX, MYY, MYZ,MZX, MZY, MZZ,
34 . G1X,G1Y,G1Z,G2X,G2Y,G2Z,G3X,G3Y,G3Z,OFF)
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER JFT, JLT
43C REAL
45 . mxx(*), mxy(*), mxz(*),myx(*), myy(*), myz(*),
46 . mzx(*), mzy(*), mzz(*),g1x(*),g1y(*),g1z(*),
47 . g2x(*),g2y(*),g2z(*),g3x(*),g3y(*),g3z(*),off(*)
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER I
52C REAL
54 . sx,sy,sz,fxx,fxy,fxz,fyx,fyy,fyz,fzx,fzy,fzz
55C-----------------------------------------------
56 DO i=jft,jlt
57 IF (off(i) <=one) cycle
58 sx = mxx(i)*g1x(i)+myx(i)*g1y(i)+mzx(i)*g1z(i)
59 sy = mxy(i)*g1x(i)+myy(i)*g1y(i)+mzy(i)*g1z(i)
60 sz = mxz(i)*g1x(i)+myz(i)*g1y(i)+mzz(i)*g1z(i)
61 fxx = sx*g1x(i)+sy*g1y(i)+sz*g1z(i)
62 fxy = sx*g2x(i)+sy*g2y(i)+sz*g2z(i)
63 fxz = sx*g3x(i)+sy*g3y(i)+sz*g3z(i)
64 sx = mxx(i)*g2x(i)+myx(i)*g2y(i)+mzx(i)*g2z(i)
65 sy = mxy(i)*g2x(i)+myy(i)*g2y(i)+mzy(i)*g2z(i)
66 sz = mxz(i)*g2x(i)+myz(i)*g2y(i)+mzz(i)*g2z(i)
67 fyx = sx*g1x(i)+sy*g1y(i)+sz*g1z(i)
68 fyy = sx*g2x(i)+sy*g2y(i)+sz*g2z(i)
69 fyz = sx*g3x(i)+sy*g3y(i)+sz*g3z(i)
70 sx = mxx(i)*g3x(i)+myx(i)*g3y(i)+mzx(i)*g3z(i)
71 sy = mxy(i)*g3x(i)+myy(i)*g3y(i)+mzy(i)*g3z(i)
72 sz = mxz(i)*g3x(i)+myz(i)*g3y(i)+mzz(i)*g3z(i)
73 fzx = sx*g1x(i)+sy*g1y(i)+sz*g1z(i)
74 fzy = sx*g2x(i)+sy*g2y(i)+sz*g2z(i)
75 fzz = sx*g3x(i)+sy*g3y(i)+sz*g3z(i)
76 mxx(i)=fxx
77 mxy(i)=fxy
78 mxz(i)=fxz
79 myx(i)=fyx
80 myy(i)=fyy
81 myz(i)=fyz
82 mzx(i)=fzx
83 mzy(i)=fzy
84 mzz(i)=fzz
85 ENDDO
86C-----------
87 RETURN
88 END
#define my_real
Definition cppsort.cpp:32
subroutine sordeft12(jft, jlt, mxx, mxy, mxz, myx, myy, myz, mzx, mzy, mzz, g1x, g1y, g1z, g2x, g2y, g2z, g3x, g3y, g3z, off)
Definition sordeft12.F:35