OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ebcvit7.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!|| ebcvit7 ../engine/source/boundary_conditions/ebcs/ebcvit7.F
25!||--- called by ------------------------------------------------------
26!|| ebcclap ../engine/source/boundary_conditions/ebcs/ebcclap.F
27!||--- uses -----------------------------------------------------
28!|| ebcs_mod ../common_source/modules/boundary_conditions/ebcs_mod.F90
29!||====================================================================
30 SUBROUTINE ebcvit7(V, A, LISTE, NOD, V0, RESO, EBCS)
31 USE ebcs_mod
32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C C o m m o n B l o c k s
38C-----------------------------------------------
39#include "com08_c.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER LISTE(*),NOD
45 . v(3,*),a(3,*),v0(3,nod),reso(3,nod)
46 TYPE(t_ebcs_iniv), INTENT(IN) :: EBCS
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER I,N
51 my_real lcar,alp,alpdt,ax,ay,az,c
52C
53 IF(tt==zero)THEN
54 DO i=1,nod
55 n=liste(i)
56 reso(1,i)=a(1,n)
57 reso(2,i)=a(2,n)
58 reso(3,i)=a(3,n)
59 ENDDO
60 ENDIF
61C
62 c=ebcs%c
63 lcar=ebcs%lcar
64 alp=zero
65 IF(lcar>zero)alp=c/lcar
66 alpdt=alp*dt1
67C
68 IF(alp>zero)THEN
69 DO i=1,nod
70 n=liste(i)
71 ax=reso(1,i)+alpdt*(a(1,n)-reso(1,i))
72 ay=reso(2,i)+alpdt*(a(2,n)-reso(2,i))
73 az=reso(3,i)+alpdt*(a(3,n)-reso(3,i))
74C memorisation de la reaction
75 reso(1,i)=ax
76 reso(2,i)=ay
77 reso(3,i)=az
78c write(6,*)i,'R',A(3,N),'A',AZ,'av',
79c . ALP*(V0(3,I)-V(3,N)),'V0',V0(3,I),'V',V(3,N)
80c A(1,N)=A(1,N)-AX
81c A(2,N)=A(2,N)-AY
82c A(3,N)=A(3,N)-AZ
83c AX=0
84c AY=0
85c AZ=0
86 a(1,n)=a(1,n)-ax+alp*(v0(1,i)-v(1,n))
87 a(2,n)=a(2,n)-ay+alp*(v0(2,i)-v(2,n))
88 a(3,n)=a(3,n)-az+alp*(v0(3,i)-v(3,n))
89 ENDDO
90 ELSE
91 DO i=1,nod
92 n=liste(i)
93 a(1,n)=zero
94 a(2,n)=zero
95 a(3,n)=zero
96 v(1,n)=v0(1,i)
97 v(2,n)=v0(2,i)
98 v(3,n)=v0(3,i)
99 ENDDO
100 ENDIF
101 RETURN
102 END
#define my_real
Definition cppsort.cpp:32
subroutine ebcvit7(v, a, liste, nod, v0, reso, ebcs)
Definition ebcvit7.F:31