OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
r4tors.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!|| r4tors ../engine/source/elements/spring/r4tors.F
25!||--- called by ------------------------------------------------------
26!|| r23law113 ../engine/source/elements/spring/r23law113.F
27!|| r23law114 ../engine/source/elements/spring/r23law114.F
28!|| rforc3 ../engine/source/elements/spring/rforc3.F
29!||--- uses -----------------------------------------------------
30!|| h3d_mod ../engine/share/modules/h3d_mod.F
31!||====================================================================
32 SUBROUTINE r4tors(
33 1 FORX, FORY, FORZ, XMOM,
34 2 YMOM, ZMOM, TANI, AL,
35 3 H3D_DATA,NEL)
36C-----------------------------------------------
37C M o d u l e s
38C-----------------------------------------------
39 USE h3d_mod
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------
45C G l o b a l P a r a m e t e r s
46C-----------------------------------------------
47#include "mvsiz_p.inc"
48C-----------------------------------------------
49C C o m m o n B l o c k s
50C-----------------------------------------------
51#include "scr14_c.inc"
52C-----------------------------------------------
53C D u m m y A r g u m e n t s
54C-----------------------------------------------
55 INTEGER, INTENT(IN) :: NEL
56C REAL
57 my_real
58 . forx(*), fory(*), forz(*), xmom(*),
59 . ymom(*), zmom(*),tani(15,*),al(mvsiz)
60 TYPE(h3d_database) :: H3D_DATA
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER I
65C-----------------------------------------------
66 IF (ANIM_FT(1) /= 0 .OR. h3d_data%UND_FORC /= 0) THEN
67 DO i=1,nel
68 tani(1,i)= forx(i)
69 tani(2,i)= fory(i)
70 tani(3,i)= forz(i)
71 tani(4,i)= xmom(i)
72 tani(5,i)= ymom(i) - half*al(i)*forz(i)
73 tani(6,i)= zmom(i) + half*al(i)*fory(i)
74 tani(7,i)= -xmom(i)
75 tani(8,i)= -ymom(i) - half*al(i)*forz(i)
76 tani(9,i)= -zmom(i) + half*al(i)*fory(i)
77 ENDDO
78 ENDIF
79C---
80 RETURN
81 END
subroutine r4tors(forx, fory, forz, xmom, ymom, zmom, tani, al, h3d_data, nel)
Definition r4tors.F:36