OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_read_ale_solver.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!|| hm_read_ale_solver ../starter/source/general_controls/ale_cfd/hm_read_ale_solver.F
25!||--- called by ------------------------------------------------------
26!|| contrl ../starter/source/starter/contrl.F
27!||--- calls -----------------------------------------------------
28!|| ancmsg ../starter/source/output/message/message.F
29!|| hm_get_intv ../starter/source/devtools/hm_reader/hm_get_intv.F
30!|| hm_option_count ../starter/source/devtools/hm_reader/hm_option_count.f
31!|| hm_option_next ../starter/source/devtools/hm_reader/hm_option_next.F
32!|| hm_option_start ../starter/source/devtools/hm_reader/hm_option_start.F
33!||--- uses -----------------------------------------------------
34!|| hm_option_read_mod ../starter/share/modules1/hm_option_read_mod.F
35!|| message_mod ../starter/share/message_module/message_mod.F
36!|| submodel_mod ../starter/share/modules1/submodel_mod.F
37!||====================================================================
38 SUBROUTINE hm_read_ale_solver(LSUBMODEL, UNITAB, ICAA, ISFINT)
39C-----------------------------------------------
40C D e s c r i p t i o n
41C-----------------------------------------------
42C This subroutine is reading /ALE/SOLVER/FINT option in user input file
43C-----------------------------------------------
44C M o d u l e s
45C-----------------------------------------------
46 USE unitab_mod
48 USE submodel_mod
49 USE message_mod
50C-----------------------------------------------
51C I m p l i c i t T y p e s
52C-----------------------------------------------
53#include "implicit_f.inc"
54C-----------------------------------------------
55C C o m m o n B l o c k s
56C-----------------------------------------------
57C-----------------------------------------------
58C D u m m y A r g u m e n t s
59C-----------------------------------------------
60 TYPE(submodel_data), DIMENSION(NSUBMOD), INTENT(IN) :: LSUBMODEL
61 TYPE(unit_type_), INTENT(IN) :: UNITAB
62 INTEGER, INTENT(IN) :: ICAA
63 INTEGER, INTENT(INOUT) :: ISFINT
64C-----------------------------------------------
65C L o c a l V a r i a b l e s
66C-----------------------------------------------
67 INTEGER :: NALESOLVER
68 LOGICAL :: IS_AVAILABLE
69
70 CALL hm_option_count('/ALE/SOLVER/FINT', nalesolver)
71
72 IF (nalesolver > 0) THEN
73 CALL hm_option_start('/ALE/SOLVER/FINT')
74 CALL hm_option_next()
75 CALL hm_get_intv('Iform', isfint, is_available, lsubmodel)
76 IF (isfint < 0 .OR. isfint > 3)THEN
77 CALL ancmsg(msgid = 1138 ,
78 . msgtype = msgerror,
79 . anmode = aninfo ,
80 . c1 = 'ISFINT',
81 . i1 = isfint )
82 ENDIF
83 IF (isfint == 2 .AND. icaa == 1)THEN
84 CALL ancmsg(msgid = 1138 ,
85 . msgtype = msgerror,
86 . anmode = aninfo ,
87 . c1 = 'ISFINT=2 NOT COMPATIBLE WITH CAA',
88 . i1 = icaa )
89 ENDIF
90 IF (isfint == 0) isfint = 3
91 ENDIF
92
93 END
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_next()
subroutine hm_option_start(entity_type)
subroutine hm_read_ale_solver(lsubmodel, unitab, icaa, isfint)
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:889
program starter
Definition starter.F:39