OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
alefvm_accele.F File Reference
#include "implicit_f.inc"
#include "com01_c.inc"
#include "com04_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine alefvm_accele (a, ar, nodft, nodlt, nale)

Function/Subroutine Documentation

◆ alefvm_accele()

subroutine alefvm_accele ( dimension(3,numnod), intent(inout) a,
dimension(3,numnod), intent(inout) ar,
integer, intent(in) nodft,
integer, intent(in) nodlt,
integer, dimension(numnod), intent(in) nale )

Definition at line 28 of file alefvm_accele.F.

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
#define my_real
Definition cppsort.cpp:32