OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ply_vitesse.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!|| ply_vitesse ../engine/source/assembly/ply_vitesse.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- calls -----------------------------------------------------
28!|| plyv ../engine/source/assembly/ply_vitesse.F
29!||--- uses -----------------------------------------------------
30!|| plyxfem_mod ../engine/share/modules/plyxfem_mod.f
31!||====================================================================
32 SUBROUTINE ply_vitesse(NODFT,NODLT,NPLYMAX,INOD,NDDIM)
33C-----------------------------------------------
34C M o d u l e s
35C-----------------------------------------------
36 USE plyxfem_mod
37C----6---------------------------------------------------------------7---------8
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44C-----------------------------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER NODFT,NODLT,NDDIM, NPLYMAX,INOD(*)
48C REAL
49cc TYPE(LAYER_DATA), DIMENSION(:), ALLOCATABLE :: PLY
50C-----------------------------------------------
51C L o c a l V a r i a b l e s
52C-----------------------------------------------
53 INTEGER I,J,K,N,NN
55 . vdt
56C
57 DO j=1,nplymax
58 CALL plyv(nodft,nodlt, inod, ply(j)%A(1,1),
59 . ply(j)%V(1,1),ply(j)%U(1,1))
60 ENDDO
61C
62 RETURN
63 END
64!||====================================================================
65!|| plyv ../engine/source/assembly/ply_vitesse.F
66!||--- called by ------------------------------------------------------
67!|| ply_vitesse ../engine/source/assembly/ply_vitesse.F
68!||====================================================================
69 SUBROUTINE plyv(NODFT,NODLT,INOD,A,V,U)
70C-----------------------------------------------
71C M o d u l e s
72C-----------------------------------------------
73C----6---------------------------------------------------------------7---------8
74C I m p l i c i t T y p e s
75C-----------------------------------------------
76#include "implicit_f.inc"
77C-----------------------------------------------
78C C o m m o n B l o c k s
79C-----------------------------------------------
80#include "com08_c.inc"
81C-----------------------------------------------------------------
82C D u m m y A r g u m e n t s
83C-----------------------------------------------
84 INTEGER NODFT,NODLT,NDDIM,INOD(*)
85C REAL
87 . a(4,*), v(3,*),u(3,*)
88C-----------------------------------------------
89C L o c a l V a r i a b l e s
90C-----------------------------------------------
91 INTEGER I,J,K,N,NN
93 . vdt
94C
95#include "vectorize.inc"
96 DO nn=nodft,nodlt
97 n = inod(nn)
98 IF(n > 0) THEN
99 v(1,n)= v(1,n) + dt12*a(1,n)
100 v(2,n)= v(2,n) + dt12*a(2,n)
101 v(3,n)= v(3,n) + dt12*a(3,n)
102C displacement
103 u(1,n)= u(1,n) + dt2*v(1,n)
104 u(2,n)= u(2,n) + dt2*v(2,n)
105 u(3,n)= u(3,n) + dt2*v(3,n)
106 a(1,n)=zero
107 a(2,n)=zero
108 a(3,n)=zero
109 a(4,n)=zero
110 ENDIF
111 ENDDO
112C
113 RETURN
114 END
115
#define my_real
Definition cppsort.cpp:32
type(ply_data), dimension(:), allocatable ply
Definition plyxfem_mod.F:91
subroutine ply_vitesse(nodft, nodlt, nplymax, inod, nddim)
Definition ply_vitesse.F:33
subroutine plyv(nodft, nodlt, inod, a, v, u)
Definition ply_vitesse.F:70