OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
forani3.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!|| forani3 ../engine/source/output/anim/generate/forani3.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- uses -----------------------------------------------------
28!|| h3d_mod ../engine/share/modules/h3d_mod.F
29!|| output_mod ../common_source/modules/output/output_mod.F90
30!||====================================================================
31 SUBROUTINE forani3(OUTPUT,A,MS,NODFT,NODLT,H3D_DATA)
32C-----------------------------------------------
33C D e s c r i p t i o n
34C-----------------------------------------------
35C This subroutine is related to output of FINT and FEXT vectors.
36C When FORANI1 is called, A is containing: FEXT
37C When FORANI2 is called, A is containing: FEXT+FINT
38C When FORANI3 is called, A is containing:(FEXT+FINT+FGRAV)/m
39C
40C forani1 forani2 forani3
41C FANI(:,N+NFIA) = -FEXT +(FEXT+FINT) = FINT
42C FANI(:,N+NFEA) = +FEXT -(FEXT+FINT) + [(FEXT+FINT+FRAV)/m]*m = FEXT+FGRAV
43C-----------------------------------------------
44C
45C ANIM_V(5) : /ANIM/VECT/FINT
46C OUTP_V(5) : /OUTP/VECT/FINT
47C H3D_DATA%N_VECT_FINT : /H3D/NODA/FINT
48C
49C ANIM_V(6) : /ANIM/VECT/FEXT
50C OUTP_V(6) : /OUTP/VECT/FEXT
51C H3D_DATA%N_VECT_FEXT : /H3D/NODA/FEXT
52C
53C-----------------------------------------------
54 USE output_mod, only : output_
55 USE h3d_mod
56C-----------------------------------------------
57C I m p l i c i t T y p e s
58C-----------------------------------------------
59#include "implicit_f.inc"
60C-----------------------------------------------
61C C o m m o n B l o c k s
62C-----------------------------------------------
63!ANIM_V
64#include "scr14_c.inc"
65!OUTP_V
66#include "scr16_c.inc"
67C-----------------------------------------------
68C D u m m y A r g u m e n t s
69C-----------------------------------------------
70 TYPE(output_) :: OUTPUT
71 INTEGER NODFT,NODLT
72 my_real a(3,*),ms(*)
73 TYPE(h3d_database) :: H3D_DATA
74C-----------------------------------------------
75C L o c a l V a r i a b l e s
76C-----------------------------------------------
77 INTEGER N
78C-----------------------------------------------
79C S o u r c e L i n e s
80C-----------------------------------------------
81 IF(anim_v(6)+outp_v(6)+h3d_data%N_VECT_FEXT > 0) THEN
82 !if FEXT is requested (ANIM or OUTP or H3D)
83#include "vectorize.inc"
84 DO n=nodft,nodlt
85 output%DATA%VECT_FEXT(1,n)=output%DATA%VECT_FEXT(1,n) + a(1,n)*ms(n)
86 output%DATA%VECT_FEXT(2,n)=output%DATA%VECT_FEXT(2,n) + a(2,n)*ms(n)
87 output%DATA%VECT_FEXT(3,n)=output%DATA%VECT_FEXT(3,n) + a(3,n)*ms(n)
88 ENDDO
89 ENDIF
90C-----------------------------------------------
91 RETURN
92 END SUBROUTINE forani3
#define my_real
Definition cppsort.cpp:32
subroutine forani3(output, a, ms, nodft, nodlt, h3d_data)
Definition forani3.F:32