OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s20defo3.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!|| s20defo3 ../engine/source/elements/solid/solide20/s20defo3.F
25!||--- called by ------------------------------------------------------
26!|| s16forc3 ../engine/source/elements/thickshell/solide16/s16forc3.F
27!|| s20forc3 ../engine/source/elements/solid/solide20/s20forc3.F
28!||====================================================================
29 SUBROUTINE s20defo3(
30 1 NPE, PX, PY, PZ,
31 2 VX, VY, VZ, DXX,
32 3 DXY, DXZ, DYX, DYY,
33 4 DYZ, DZX, DZY, DZZ,
34 5 D4, D5, D6, WXX,
35 6 WYY, WZZ, RHO, RHOO,
36 7 VOLNP, VOLN, NEL)
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C G l o b a l P a r a m e t e r s
43C-----------------------------------------------
44#include "mvsiz_p.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER, INTENT(IN) :: NEL
49 INTEGER NPE
50 my_real
51 . VX(MVSIZ,*),VY(MVSIZ,*),VZ(MVSIZ,*),
52 . PX(MVSIZ,*),PY(MVSIZ,*),PZ(MVSIZ,*),
53 . DXX(*), DXY(*), DXZ(*),
54 . DYX(*), DYY(*), DYZ(*),
55 . dzx(*), dzy(*), dzz(*), d4(*), d5(*), d6(*),
56 . wxx(*), wyy(*), wzz(*),rho(*),
57 . rhoo(*),volnp(*),voln(*)
58C-----------------------------------------------
59C C o m m o n B l o c k s
60C-----------------------------------------------
61#include "com08_c.inc"
62C-----------------------------------------------
63C L o c a l V a r i a b l e s
64C-----------------------------------------------
65 INTEGER I,N
66C REAL
67 my_real
68 . DT1D2
69C-----------------------------------------------
70C 12
71 DO I=1,nel
72 rhoo(i)=rho(i)
73 voln(i)=volnp(i)
74 ENDDO
75 n = 1
76 DO i=1,nel
77 dxx(i)=px(i,n)*vx(i,n)
78 dyy(i)=py(i,n)*vy(i,n)
79 dzz(i)=pz(i,n)*vz(i,n)
80 dxy(i)=py(i,n)*vx(i,n)
81 dxz(i)=pz(i,n)*vx(i,n)
82 dyx(i)=px(i,n)*vy(i,n)
83 dyz(i)=pz(i,n)*vy(i,n)
84 dzx(i)=px(i,n)*vz(i,n)
85 dzy(i)=py(i,n)*vz(i,n)
86 ENDDO
87!
88 DO n=2,npe
89 DO i=1,nel
90 dxx(i)=dxx(i)+px(i,n)*vx(i,n)
91 dyy(i)=dyy(i)+py(i,n)*vy(i,n)
92 dzz(i)=dzz(i)+pz(i,n)*vz(i,n)
93 dxy(i)=dxy(i)+py(i,n)*vx(i,n)
94 dxz(i)=dxz(i)+pz(i,n)*vx(i,n)
95 dyx(i)=dyx(i)+px(i,n)*vy(i,n)
96 dyz(i)=dyz(i)+pz(i,n)*vy(i,n)
97 dzx(i)=dzx(i)+px(i,n)*vz(i,n)
98 dzy(i)=dzy(i)+py(i,n)*vz(i,n)
99 ENDDO
100 ENDDO
101C
102 dt1d2=half*dt1
103C
104 DO i=1,nel
105 d4(i) =dxy(i)+dyx(i)
106 d5(i) =dyz(i)+dzy(i)
107 d6(i) =dxz(i)+dzx(i)
108 wzz(i)=dt1d2*(dyx(i)-dxy(i))
109 wyy(i)=dt1d2*(dxz(i)-dzx(i))
110 wxx(i)=dt1d2*(dzy(i)-dyz(i))
111 ENDDO
112C
113 RETURN
114C
115 END
subroutine s20defo3(npe, px, py, pz, vx, vy, vz, dxx, dxy, dxz, dyx, dyy, dyz, dzx, dzy, dzz, d4, d5, d6, wxx, wyy, wzz, rho, rhoo, volnp, voln, nel)
Definition s20defo3.F:37