OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
a4momtn3.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!|| a4momtn3 ../engine/source/elements/solid/solide4/a4momtn3.F
25!||--- called by ------------------------------------------------------
26!|| a4momt3 ../engine/source/elements/solid/solide4/a4momt3.f
27!||--- calls -----------------------------------------------------
28!|| upwind4 ../engine/source/elements/solid/solide4/upwind4.F
29!||====================================================================
30 SUBROUTINE a4momtn3(
31 1 RHO, VOL, VIS, R,
32 2 S, T, DELTAX, VMX,
33 3 VMY, VMZ, DXX, DXY,
34 4 DXZ, DYX, DYY, DYZ,
35 5 DZX, DZY, DZZ, PX,
36 6 PY, PZ, VDX, VDY,
37 7 VDZ, FX, FY, FZ,
38 8 NEL)
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C G l o b a l P a r a m e t e r s
45C-----------------------------------------------
46#include "mvsiz_p.inc"
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53 INTEGER, INTENT(IN) :: NEL
54 my_real
55 . RHO(*),VOL(*),VIS(*),VDX(*),VDY(*),VDZ(*),VMX(*),VMY(*),VMZ(*),
56 . R(MVSIZ,3),S(MVSIZ,3),T(MVSIZ,3),DELTAX(*),PX(*),PY(*),PZ(*),
57 . FX(*),FY(*),FZ(*),
58 . DXX(*),DXY(*),DXZ(*),
59 . DYX(*),DYY(*),DYZ(*),
60 . DZX(*),DZY(*),DZZ(*)
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER :: I
65 my_real :: A(MVSIZ),GAM(MVSIZ)
66C-----------------------------------------------
67C S o u r c e C o d e
68C-----------------------------------------------
69 CALL UPWIND4(
70 1 RHO, VIS, VDX, VDY,
71 2 VDZ, R, S, T,
72 3 gam, nel)
73 DO i=1,nel
74 a(i)=fourth*rho(i)*vol(i)*(one+four*gam(i)*( px(i)*vdx(i)+py(i)*vdy(i)+pz(i)*vdz(i)))
75 fx(i)=fx(i)-a(i)*(vdx(i)*dxx(i)+vdy(i)*dxy(i)+vdz(i)*dxz(i))
76 fy(i)=fy(i)-a(i)*(vdx(i)*dyx(i)+vdy(i)*dyy(i)+vdz(i)*dyz(i))
77 fz(i)=fz(i)-a(i)*(vdx(i)*dzx(i)+vdy(i)*dzy(i)+vdz(i)*dzz(i))
78 ENDDO
79 RETURN
80 END
subroutine a4momt3(pm, rho, vol, x1, x2, x3, x4, y1, y2, y3, y4, z1, z2, z3, z4, vx1, vx2, vx3, vx4, vy1, vy2, vy3, vy4, vz1, vz2, vz3, vz4, f11, f21, f31, f12, f22, f32, f13, f23, f33, f14, f24, f34, px1, px2, px3, px4, py1, py2, py3, py4, pz1, pz2, pz3, pz4, dxx, dxy, dxz, dyx, dyy, dyz, dzx, dzy, dzz, vdx1, vdx2, vdx3, vdx4, vdy1, vdy2, vdy3, vdy4, vdz1, vdz2, vdz3, vdz4, vdx, vdy, vdz, deltax, vis, mat, rx, ry, rz, sx, sy, sz, tx, ty, tz, nel, mtn)
Definition a4momt3.F:57
subroutine a4momtn3(rho, vol, vis, r, s, t, deltax, vmx, vmy, vmz, dxx, dxy, dxz, dyx, dyy, dyz, dzx, dzy, dzz, px, py, pz, vdx, vdy, vdz, fx, fy, fz, nel)
Definition a4momtn3.F:39