OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
flow_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!|| flow_vitesse ../engine/source/assembly/flow_vitesse.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||====================================================================
28 SUBROUTINE flow_vitesse(NALE,A ,V ,FZERO,
29 2 NODFT,NODLT ,W ,VS,IFOAM)
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 "com01_c.inc"
38#include "com08_c.inc"
39C-----------------------------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER NODFT, NODLT, NALE(*),IFOAM(*)
43 my_real fzero(3,*) ,a(3,*) ,v(3,*),w(3,*), vs(3,*)
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER N
48C
49#include "vectorize.inc"
50 DO n=nodft,nodlt
51 IF(nale(n) == 3 ) THEN
52 IF( ifoam(n) == 0 ) THEN
53 v(1,n)=v(1,n)+dt12*a(1,n)
54 v(2,n)=v(2,n)+dt12*a(2,n)
55 v(3,n)=v(3,n)+dt12*a(3,n)
56 ELSE
57 v(1,n)=vs(1,n)
58 v(2,n)=vs(2,n)
59 v(3,n)=vs(3,n)
60 ifoam(n) = 0
61 ENDIF
62 w(1,n) = vs(1,n)
63 w(2,n) = vs(2,n)
64 w(3,n) = vs(3,n)
65 a(1,n)=zero
66 a(2,n)=zero
67 a(3,n)=zero
68 ELSE ! lagrangian or not Law77 node.
69 v(1,n)=zero
70 v(2,n)=zero
71 v(3,n)=zero
72C
73 w(1,n) = zero
74 w(2,n) = zero
75 w(3,n) = zero
76C
77 a(1,n)=zero
78 a(2,n)=zero
79 a(3,n)=zero
80 ENDIF
81 ENDDO
82C
83 IF(isigi==2.OR.isigi==4) THEN
84#include "vectorize.inc"
85 DO n=nodft,nodlt
86 IF(nale(n) == 3) THEN
87 a(1,n)=fzero(1,n)
88 a(2,n)=fzero(2,n)
89 a(3,n)=fzero(3,n)
90
91 w(1,n) = vs(1,n)
92 w(2,n) = vs(2,n)
93 w(3,n) = vs(3,n)
94 ENDIF
95 ENDDO
96 ENDIF
97C
98 RETURN
99 END
#define my_real
Definition cppsort.cpp:32
subroutine flow_vitesse(nale, a, v, fzero, nodft, nodlt, w, vs, ifoam)