OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
alefvm_accele.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!|| alefvm_accele ../engine/source/ale/alefvm/alefvm_accele.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||====================================================================
28 SUBROUTINE alefvm_accele( A, AR, NODFT, NODLT, NALE)
29C-----------------------------------------------
30C D e s c r i p t i o n
31C-----------------------------------------------
32C 'alefvm' is related to a collocated scheme (built from FVM and based on Godunov scheme)
33C which was temporarily introduced for experimental option /INTER/TYPE22 (FSI coupling with cut cell method)
34C This cut cell method is not completed, abandoned, and is not an official option.
35C There is no other use for this scheme which is automatically enabled when /INTER/TYPE22 is defined (INT22>0 => IALEFVM=1).
36C
37C This subroutine is treating an uncut cell.
38C-----------------------------------------------
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "com01_c.inc"
46#include "com04_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER,INTENT(IN) :: NODFT, NODLT, NALE(NUMNOD)
51 my_real,INTENT(INOUT) :: a(3,numnod), ar(3,numnod)
52C-----------------------------------------------
53C L o c a l V a r i a b l e s
54C-----------------------------------------------
55 INTEGER :: N
56C-----------------------------------------------
57C D e s c r i p t i o n
58C-----------------------------------------------
59C This subroutines is resetting accelerations on nodes
60C since they are used in ecrit.F to update velocity.
61C Velocity don't have to be updates in ecrit.F where
62C they are still nodal momentum up to vitesse.F
63C-----------------------------------------------
64C S o u r c e L i n e s
65C-----------------------------------------------
66#include "vectorize.inc"
67 !---TRANSLATIONS---!
68 DO n=nodft,nodlt
69 IF(nale(n) == 0)cycle
70 a(1,n) = zero
71 a(2,n) = zero
72 a(3,n) = zero
73 ENDDO
74 IF (iroddl /= 0) THEN
75#include "vectorize.inc"
76 !---TROTATIONS---!
77 DO n=nodft,nodlt
78 IF(nale(n)==0)cycle
79 ar(1,n) = zero
80 ar(2,n) = zero
81 ar(3,n) = zero
82 ENDDO
83 ENDIF
84C-----------------------------------------------
85 RETURN
86 END
subroutine alefvm_accele(a, ar, nodft, nodlt, nale)
#define my_real
Definition cppsort.cpp:32