OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
flow_depla.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> 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 )
30
C----6---------------------------------------------------------------7---------8
31
C I m p l i c i t T y p e s
32
C-----------------------------------------------
33
#include "implicit_f.inc"
34
C-----------------------------------------------
35
C C o m m o n B l o c k s
36
C-----------------------------------------------
37
#include "com08_c.inc"
38
#include "scr05_c.inc"
39
C-----------------------------------------------------------------
40
C D u m m y A r g u m e n t s
41
C-----------------------------------------------
42
INTEGER
NODFT, NODLT, NALE(*)
43
my_real
d(3,*) ,v(3,*)
44
C-----------------------------------------------
45
C L o c a l V a r i a b l e s
46
C-----------------------------------------------
47
INTEGER
:: N
48
my_real
:: vdt
49
DOUBLE PRECISION
VDT2
50
C-------------------------------------------------------------
51
C CALCUL DES DEPLACEMENTS TRANSLATIONS PUIS ROTATIONS
52
C-------------------------------------------------------------
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
60
cc X(1,N)=X(1,N)+VDT2
61
cC XDP(1,N)=XDP(1,N)+VDT2
62
C X(1,N)=XDP(1,N)
63
vdt2
= dt2*v(2,n)
64
d(2,n)=d(2,n)+vdt2
65
cc X(2,N)=X(2,N)+VDT2
66
c XDP(2,N)=XDP(2,N)+VDT2
67
c X(2,N)=XDP(2,N)
68
vdt2 = dt2*v(3,n)
69
d(3,n)=d(3,n)+vdt2
70
cc X(3,N)=X(3,N)+VDT2
71
C XDP(3,N)=XDP(3,N)+VDT2
72
C 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
81
cc X(1,N)=X(1,N)+VDT
82
vdt = dt2*v(2,n)
83
d(2,n)=d(2,n)+vdt
84
cc X(2,N)=X(2,N)+VDT
85
vdt = dt2*v(3,n)
86
d(3,n)=d(3,n)+vdt
87
cc X(3,N)=X(3,N)+VDT
88
ENDIF
89
ENDDO
90
ENDIF
91
C
92
RETURN
93
END
my_real
#define my_real
Definition
cppsort.cpp:32
flow_depla
subroutine flow_depla(nale, v, d, nodft, nodlt)
Definition
flow_depla.F:30
engine
source
assembly
flow_depla.F
Generated by
1.15.0