OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_preread_radiation.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_radiation ../starter/source/loads/thermic/hm_preread_radiation.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_radiation(IGRSURF,IGRNOD,IGRBRIC,UNITAB,LSUBMODEL,
38 . NRADIA ,NUMRADIA)
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) :: NRADIA
60 INTEGER , INTENT(INOUT) :: NUMRADIA
61 TYPE (group_) , DIMENSION(NGRNOD) :: igrnod
62 TYPE (GROUP_) , DIMENSION(NGRBRIC) :: IGRBRIC
63 TYPE (SURF_) , DIMENSION(NSURF) :: IGRSURF
64
65 TYPE (UNIT_TYPE_) ,INTENT(IN) :: UNITAB
66 TYPE(submodel_data),INTENT(IN) :: LSUBMODEL(*)
67C-----------------------------------------------
68C L o c a l V a r i a b l e s
69C-----------------------------------------------
70 INTEGER I,J,NLD,IGU,IGS,ISU,ISS,NN,ID,UID,
71 . ifu,isens,ncur,igbr,ibid
72 INTEGER FLAG_FMT,FLAG_FMT_TMP,IFIX_TMP
73 CHARACTER(LEN=NCHARTITLE)::TITR
74 LOGICAL IS_AVAILABLE
75C-----------------------------------------------
76C E x t e r n a l F u n c t i o n s
77C-----------------------------------------------
78 INTEGER NGR2USRN
80 . facx,facy,h,fac1,fac2
81C=======================================================================
82 is_available = .false.
83 numradia = 0
84C--------------------------------------------------
85C START BROWSING MODEL RADIATION
86C--------------------------------------------------
87 CALL hm_option_start('/RADIATION')
88C--------------------------------------------------
89C BROWSING /RADIATION OPTIONS 1->NRADIA
90C--------------------------------------------------
91 DO i=1,nradia
92 titr = ''
93C--------------------------------------------------
94C EXTRACT DATAS OF /RADIATION/... LINE
95C--------------------------------------------------
96 CALL hm_option_read_key(lsubmodel)
97C--------------------------------------------------
98C EXTRACT DATAS (INTEGER VALUES)
99C--------------------------------------------------
100 CALL hm_get_intv('entityid',isu,is_available,lsubmodel)
101C--------------------------------------------------
102 IF (isu > 0) THEN
103 DO j=1,nsurf
104 IF (isu == igrsurf(j)%ID) THEN
105 iss = j
106 numradia = numradia + igrsurf(iss)%NSEG
107 EXIT
108 ENDIF
109 ENDDO
110 ENDIF
111 ENDDO
112
113 RETURN
114 END SUBROUTINE hm_preread_radiation
#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_radiation(igrsurf, igrnod, igrbric, unitab, lsubmodel, nradia, numradia)
integer, parameter nchartitle