OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_preread_convec.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_preread_convec ../starter/source/loads/thermic/hm_preread_convec.F
25!||--- called by ------------------------------------------------------
26!|| lectur ../starter/source/starter/lectur.F
27!||--- calls -----------------------------------------------------
28!|| hm_get_intv ../starter/source/devtools/hm_reader/hm_get_intv.F
29!|| hm_option_read_key ../starter/source/devtools/hm_reader/hm_option_read_key.F
30!|| hm_option_start ../starter/source/devtools/hm_reader/hm_option_start.F
31!|| ngr2usrn ../starter/source/system/nintrr.F
32!||--- uses -----------------------------------------------------
33!|| hm_option_read_mod ../starter/share/modules1/hm_option_read_mod.F
34!|| message_mod ../starter/share/message_module/message_mod.F
35!|| submodel_mod ../starter/share/modules1/submodel_mod.F
36!||====================================================================
37 SUBROUTINE hm_preread_convec(IGRSURF,IGRNOD,IGRBRIC,UNITAB,LSUBMODEL,
38 . NCONVEC ,NUMCONV )
39C-----------------------------------------------
40C M o d u l e s
41C-----------------------------------------------
42 USE unitab_mod
43 USE message_mod
44 USE groupdef_mod
45 USE submodel_mod
48C-----------------------------------------------
49C I m p l i c i t T y p e s
50C-----------------------------------------------
51#include "implicit_f.inc"
52C-----------------------------------------------
53C C o m m o n B l o c k s
54C-----------------------------------------------
55#include "com04_c.inc"
56C-----------------------------------------------
57C D u m m y A r g u m e n t s
58C-----------------------------------------------
59 INTEGER ,INTENT(IN) :: NCONVEC
60 INTEGER ,INTENT(INOUT) :: NUMCONV
61 TYPE (GROUP_) , DIMENSION(NGRNOD) :: IGRNOD
62 TYPE (GROUP_) , DIMENSION(NGRBRIC) :: IGRBRIC
63 TYPE (SURF_) , DIMENSION(NSURF) :: IGRSURF
64 TYPE (UNIT_TYPE_),INTENT(IN) ::UNITAB
65 TYPE(submodel_data),INTENT(IN)::LSUBMODEL(*)
66C-----------------------------------------------
67C L o c a l V a r i a b l e s
68C-----------------------------------------------
69 INTEGER I,J,NLD,IGU,IGS,ISU,ISS,NN,ID,UID,
70 . ifu,isens,ncur,igbr,ibid
71 INTEGER FLAG_FMT,FLAG_FMT_TMP,IFIX_TMP
72 CHARACTER(LEN=NCHARTITLE)::TITR
73 LOGICAL IS_AVAILABLE
74C-----------------------------------------------
75C E x t e r n a l F u n c t i o n s
76C-----------------------------------------------
77 INTEGER NGR2USRN
79 . facx,facy,h,fac1,fac2
80C=======================================================================
81 is_available = .false.
82 numconv = 0
83C--------------------------------------------------
84C START BROWSING MODEL CONVEC
85C--------------------------------------------------
86 CALL hm_option_start('/CONVEC')
87C--------------------------------------------------
88C BROWSING /CONVEC OPTIONS 1->NCONVEC
89C--------------------------------------------------
90 DO i=1,nconvec
91 titr = ''
92C--------------------------------------------------
93C EXTRACT DATAS OF /CONVEC/... LINE
94C--------------------------------------------------
95 CALL hm_option_read_key(lsubmodel)
96C--------------------------------------------------
97C EXTRACT DATAS (INTEGER VALUES)
98C--------------------------------------------------
99 CALL hm_get_intv('entityid',isu,is_available,lsubmodel)
100C
101 IF (isu > 0) THEN
102 DO j=1,nsurf
103 IF (isu == igrsurf(j)%ID) THEN
104 iss = j
105 numconv = numconv + igrsurf(iss)%NSEG
106 EXIT
107 ENDIF
108 ENDDO
109 ENDIF
110 ENDDO
111C---
112 RETURN
113 END SUBROUTINE hm_preread_convec
#define my_real
Definition cppsort.cpp:32
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_start(entity_type)
subroutine hm_preread_convec(igrsurf, igrnod, igrbric, unitab, lsubmodel, nconvec, numconv)
integer, parameter nchartitle