OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
flow_depla.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!|| flow_depla ../engine/source/assembly/flow_depla.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||====================================================================
28 SUBROUTINE flow_depla(NALE,V ,D ,
29 2 NODFT,NODLT )
30C----6---------------------------------------------------------------7---------8
31C I m p l i c i t T y p e s
32C-----------------------------------------------
33#include "implicit_f.inc"
34C-----------------------------------------------
35C C o m m o n B l o c k s
36C-----------------------------------------------
37#include "com08_c.inc"
38#include "scr05_c.inc"
39C-----------------------------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER NODFT, NODLT, NALE(*)
43 my_real d(3,*) ,v(3,*)
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER :: N
48 my_real :: vdt
49 DOUBLE PRECISION VDT2
50C-------------------------------------------------------------
51C CALCUL DES DEPLACEMENTS TRANSLATIONS PUIS ROTATIONS
52C-------------------------------------------------------------
53
54 IF (iresp==1) THEN
55#include "vectorize.inc"
56 DO n=nodft,nodlt
57 IF(nale(n) == 3) THEN
58 vdt2 = dt2*v(1,n)
59 d(1,n)=d(1,n)+vdt2
60cc X(1,N)=X(1,N)+VDT2
61cC XDP(1,N)=XDP(1,N)+VDT2
62C X(1,N)=XDP(1,N)
63 vdt2 = dt2*v(2,n)
64 d(2,n)=d(2,n)+vdt2
65cc X(2,N)=X(2,N)+VDT2
66c XDP(2,N)=XDP(2,N)+VDT2
67c X(2,N)=XDP(2,N)
68 vdt2 = dt2*v(3,n)
69 d(3,n)=d(3,n)+vdt2
70cc X(3,N)=X(3,N)+VDT2
71C XDP(3,N)=XDP(3,N)+VDT2
72C X(3,N)=XDP(3,N)
73 ENDIF
74 ENDDO
75 ELSE
76#include "vectorize.inc"
77 DO n=nodft,nodlt
78 IF(nale(n) == 3) THEN
79 vdt = dt2*v(1,n)
80 d(1,n)=d(1,n)+vdt
81cc X(1,N)=X(1,N)+VDT
82 vdt = dt2*v(2,n)
83 d(2,n)=d(2,n)+vdt
84cc X(2,N)=X(2,N)+VDT
85 vdt = dt2*v(3,n)
86 d(3,n)=d(3,n)+vdt
87cc X(3,N)=X(3,N)+VDT
88 ENDIF
89 ENDDO
90 ENDIF
91C
92 RETURN
93 END
#define my_real
Definition cppsort.cpp:32
subroutine flow_depla(nale, v, d, nodft, nodlt)
Definition flow_depla.F:30