OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i9main2.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!|| i9main2 ../engine/source/interfaces/int09/i9main2.F
25!||--- called by ------------------------------------------------------
26!|| intal1 ../engine/source/ale/inter/intal1.F
27!||--- calls -----------------------------------------------------
28!|| i9avel ../engine/source/interfaces/int09/i9avel.F
29!|| i9frms ../engine/source/interfaces/int09/i9frms.F
30!|| i9imp2 ../engine/source/interfaces/int09/i9imp2.F
31!|| invoi2 ../engine/source/interfaces/inter2d/invoi2.F
32!||--- uses -----------------------------------------------------
33!|| intbufdef_mod ../common_source/modules/interfaces/intbufdef_mod.F90
34!||====================================================================
35 SUBROUTINE i9main2(IPARI,INTBUF_TAB ,X ,V ,
36 1 A ,ISKEW ,SKEW ,LCOD ,FN ,
37 2 FT ,MS ,MSMN ,MSMT ,ITAB ,
38 3 FSAV )
39C-----------------------------------------------
40C M o d u l e s
41C-----------------------------------------------
42 USE intbufdef_mod
43C-----------------------------------------------
44C I m p l i c i t T y p e s
45C-----------------------------------------------
46#include "implicit_f.inc"
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50#include "param_c.inc"
51C-----------------------------------------------
52C D u m m y A r g u m e n t s
53C-----------------------------------------------
54 INTEGER IPARI(*), ISKEW(*), LCOD(*), ITAB(*)
55 my_real X(*), V(*), A(*), SKEW(*), FN(*), MSMN(*),FT(*), MSMT(*), MS(*), FSAV(NTHVKI,*)
56 TYPE(INTBUF_STRUCT_) INTBUF_TAB
57C-----------------------------------------------
58C L o c a l V a r i a b l e s
59C-----------------------------------------------
60 INTEGER :: NMN,NSN
61 my_real FRIC, GAP
62C-----------------------------------------------
63C P r e c o n d i t i o n s
64C-----------------------------------------------
65 nmn =ipari(6)
66 IF(nmn == 0)RETURN
67C-----------------------------------------------
68C B o d y
69C-----------------------------------------------
70 nsn =ipari(5)
71 nmn =ipari(6)
72 fric =intbuf_tab%VARIABLES(1)
73 gap =intbuf_tab%VARIABLES(2)
74C-----------------------------------------------------
75C SEARCH FOR IMPACTED POINTS
76C-----------------------------------------------------
77 CALL invoi2(x ,intbuf_tab%IRECTM,intbuf_tab%LMSR,intbuf_tab%MSR,
78 . intbuf_tab%NSV,
79 1 intbuf_tab%ILOCS,intbuf_tab%IRTLM,intbuf_tab%NSEGM,nsn )
80 CALL i9imp2(x ,v ,a ,intbuf_tab%IRECTM,intbuf_tab%MSR,
81 1 intbuf_tab%NSV,intbuf_tab%ILOCS,intbuf_tab%IRTLM,nsn ,
82 . intbuf_tab%CSTS,
83 2 intbuf_tab%VARIABLES(1),intbuf_tab%N)
84C-----------------------------------------------------
85C MASSES AND CUMULATIVES FORCES
86C-----------------------------------------------------
87 CALL i9frms
88 1 (x ,skew ,a ,fn ,ft ,
89 2 intbuf_tab%IRECTM,intbuf_tab%LMSR,intbuf_tab%CSTS,intbuf_tab%MSR,
90 . intbuf_tab%NSV,
91 3 intbuf_tab%ILOCS,intbuf_tab%IRTLM,ms ,intbuf_tab%N,lcod ,
92 4 iskew ,fric ,msmn ,msmt, nmn, nsn )
93C-----------------------------------------------------
94C ACCELERATION (MAIN) AND VELOCITIES (SECOND)
95C-----------------------------------------------------
96 CALL i9avel
97 1 (x ,skew ,a ,fn ,ft ,
98 2 intbuf_tab%IRECTM,intbuf_tab%LMSR,intbuf_tab%CSTS,intbuf_tab%MSR,
99 . intbuf_tab%NSV,
100 3 intbuf_tab%ILOCS,intbuf_tab%IRTLM,lcod ,v ,iskew ,
101 4 intbuf_tab%N,ms ,intbuf_tab%VARIABLES(1),msmn ,msmt ,
102 5 intbuf_tab%STFNS,itab ,fsav, nmn, nsn )
103C
104 RETURN
105 END
subroutine i9avel(x, skew, a, fn, ft, irect, lmsr, crst, msr, nsv, iloc, irtl, lcode, v, iskew, nor, ms, frigap, msmn, msmt, efric, itab, fsav, nmn, nsn)
Definition i9avel.F:41
subroutine i9frms(x, skew, a, fn, ft, irect, lmsr, crst, msr, nsv, iloc, irtl, ms, nor, lcode, iskew, fric, msmn, msmt, nmn, nsn)
Definition i9frms.F:35
subroutine i9imp2(x, v, a, irect, msr, nsv, iloc, irtl, nsn, cst, frigap, nor)
Definition i9imp2.F:31
subroutine i9main2(ipari, intbuf_tab, x, v, a, iskew, skew, lcod, fn, ft, ms, msmn, msmt, itab, fsav)
Definition i9main2.F:39
subroutine invoi2(x, irect, lmsr, msr, nsv, iloc, irtl, nseg, nsn, nrt)
Definition invoi2.F:30