OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sbilan43.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!|| sbilan43 ../engine/source/elements/solid/sconnect/sbilan43.F
25!||--- called by ------------------------------------------------------
26!|| suser43 ../engine/source/elements/solid/sconnect/suser43.F
27!||====================================================================
28 SUBROUTINE sbilan43(NEL ,IPARTS ,PARTSAV,EINT ,RHO ,
29 . AREAT ,VXA ,VYA ,VZA ,VA2 ,
30 . FILL )
31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35#include "param_c.inc"
36C-----------------------------------------------
37C D u m m y A r g u m e n t s
38C-----------------------------------------------
39 INTEGER NEL
40 INTEGER IPARTS(*)
41C REAL
43 . partsav(npsav,*), eint(*), rho(*), areat(*),
44 . vxa(*), vya(*), vza(*), va2(*), fill(*)
45C-----------------------------------------------
46C L o c a l V a r i a b l e s
47C-----------------------------------------------
48 INTEGER I,M
49C REAL
51 . ei_sav(nel),ek_sav(nel),xmas(nel),
52 . xm_sav(nel),ym_sav(nel),zm_sav(nel)
53C-----------------------------------------------
54 ei_sav = zero
55 ek_sav = zero
56 xm_sav = zero
57 ym_sav = zero
58 zm_sav = zero
59 DO i=1,nel
60 xmas(i)=fill(i)*rho(i)*areat(i)
61 ENDDO
62C
63 DO i=1,nel
64 m = iparts(i)
65 partsav(1,m)=partsav(1,m) + fill(i)*eint(i)
66 partsav(2,m)=partsav(2,m) + xmas(i)*va2(i)*one_over_16
67 partsav(6,m)=partsav(6,m) + xmas(i)
68 partsav(3,m)=partsav(3,m) + xmas(i)*vxa(i)*one_over_8
69 partsav(4,m)=partsav(4,m) + xmas(i)*vya(i)*one_over_8
70 partsav(5,m)=partsav(5,m) + xmas(i)*vza(i)*one_over_8
71 ENDDO
72C-----------
73 RETURN
74 END
#define my_real
Definition cppsort.cpp:32
subroutine sbilan43(nel, iparts, partsav, eint, rho, areat, vxa, vya, vza, va2, fill)
Definition sbilan43.F:31