OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
q4cumu2.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!|| q4cumu2 ../engine/source/elements/solid_2d/quad4/q4cumu2.F
25!||--- called by ------------------------------------------------------
26!|| q4forc2 ../engine/source/elements/solid_2d/quad4/q4forc2.F
27!||====================================================================
28 SUBROUTINE q4cumu2(
29 1 E, STIFN, NC1, NC2,
30 2 NC3, NC4, FY1, FZ1,
31 3 FY2, FZ2, FY3, FZ3,
32 4 FY4, FZ4, STIM, NEL)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER, INTENT(IN) :: NEL
44 INTEGER NC1(*),NC2(*),NC3(*),NC4(*)
45C REAL
46 my_real
47 . e(3,*),stifn(*),stim(*),
48 . fy1(*),fz1(*),fy2(*),fz2(*),
49 . fy3(*),fz3(*),fy4(*),fz4(*)
50C-----------------------------------------------
51C L o c a l V a r i a b l e s
52C-----------------------------------------------
53 INTEGER I
54C-----------------------------------------------
55C S o u r c e L i n e s
56C-----------------------------------------------
57C
58 DO i=1,nel
59 stim(i)=fourth*stim(i)
60 END DO
61C
62 DO i=1,nel
63C
64 e(2,nc1(i)) = e(2,nc1(i)) + fy1(i)
65 e(3,nc1(i)) = e(3,nc1(i)) + fz1(i)
66 stifn(nc1(i)) = stifn(nc1(i)) + stim(i)
67C
68 e(2,nc2(i)) = e(2,nc2(i)) + fy2(i)
69 e(3,nc2(i)) = e(3,nc2(i)) + fz2(i)
70 stifn(nc2(i)) = stifn(nc2(i)) + stim(i)
71C
72 e(2,nc3(i)) = e(2,nc3(i)) + fy3(i)
73 e(3,nc3(i)) = e(3,nc3(i)) + fz3(i)
74 stifn(nc3(i)) = stifn(nc3(i)) + stim(i)
75C
76 e(2,nc4(i)) = e(2,nc4(i)) + fy4(i)
77 e(3,nc4(i)) = e(3,nc4(i)) + fz4(i)
78 stifn(nc4(i)) = stifn(nc4(i)) + stim(i)
79C
80 ENDDO
81C
82 RETURN
83 END
subroutine q4cumu2(e, stifn, nc1, nc2, nc3, nc4, fy1, fz1, fy2, fz2, fy3, fz3, fy4, fz4, stim, nel)
Definition q4cumu2.F:33