OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s10dvm12.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!|| s10dvm12 ../engine/source/elements/solid/solide10/s10dvm12.F
25!||--- called by ------------------------------------------------------
26!|| s10forc3 ../engine/source/elements/solid/solide10/s10forc3.F
27!||====================================================================
28 SUBROUTINE s10dvm12(
29 . PX, PY, PZ, VX, VY, VZ,
30 . DVM ,OFFG,NPT ,NEL)
31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C G l o b a l P a r a m e t e r s
37C-----------------------------------------------
38#include "mvsiz_p.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER NEL,NPT
43 my_real ,DIMENSION(NEL) ,INTENT(IN) :: OFFG
44 my_real ,DIMENSION(MVSIZ,10) ,INTENT(IN) :: vx,vy,vz
45 my_real ,DIMENSION(MVSIZ,10,5),INTENT(IN) :: px,py,pz
46 my_real ,DIMENSION(MVSIZ) ,INTENT(OUT) :: dvm
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER I,N,IP
51 my_real
52 . dxx,dyy,dzz,fac
53C-----------------------------------------------
54 dvm(1:nel) =zero
55 DO ip=1,npt
56 DO i=1,nel
57 IF(offg(i)<=one) cycle
58 dxx=px(i,1,ip)*vx(i,1)+px(i,2,ip)*vx(i,2)+px(i,3,ip)*vx(i,3)+px(i,4,ip)*vx(i,4)+px(i,5,ip)*vx(i,5)
59 . +px(i,6,ip)*vx(i,6)+px(i,7,ip)*vx(i,7)+px(i,8,ip)*vx(i,8)+px(i,9,ip)*vx(i,9)+px(i,10,ip)*vx(i,10)
60 dyy=py(i,1,ip)*vy(i,1)+py(i,2,ip)*vy(i,2)+py(i,3,ip)*vy(i,3)+py(i,4,ip)*vy(i,4)+py(i,5,ip)*vy(i,5)
61 . +py(i,6,ip)*vy(i,6)+py(i,7,ip)*vy(i,7)+py(i,8,ip)*vy(i,8)+py(i,9,ip)*vy(i,9)+py(i,10,ip)*vy(i,10)
62 dzz=pz(i,1,ip)*vz(i,1)+pz(i,2,ip)*vz(i,2)+pz(i,3,ip)*vz(i,3)+pz(i,4,ip)*vz(i,4)+pz(i,5,ip)*vz(i,5)
63 . +pz(i,6,ip)*vz(i,6)+pz(i,7,ip)*vz(i,7)+pz(i,8,ip)*vz(i,8)+pz(i,9,ip)*vz(i,9)+pz(i,10,ip)*vz(i,10)
64 dvm(i) = dvm(i)+ dxx + dyy + dzz
65 END DO
66 END DO
67 fac = one/npt
68 dvm(1:nel) = dvm(1:nel)*fac
69C
70 RETURN
71C
72 END SUBROUTINE s10dvm12
subroutine s10dvm12(px, py, pz, vx, vy, vz, dvm, offg, npt, nel)
Definition s10dvm12.F:31