OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
thermbilan.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!|| thermbilan ../engine/source/constraints/thermic/thermbilan.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- calls -----------------------------------------------------
28!|| spmd_barrier ../engine/source/mpi/spmd_mod.F90
29!|| spmd_glob_rsum_poff ../engine/source/mpi/generic/spmd_glob_rsum_poff.F
30!||--- uses -----------------------------------------------------
31!|| glob_therm_mod ../common_source/modules/mat_elem/glob_therm_mod.F90
32!|| spmd_mod ../engine/source/mpi/spmd_mod.F90
33!||====================================================================
34 SUBROUTINE thermbilan(GLOB_THERM)
35C-----------------------------------------------
36C M o d u l e s
37C-----------------------------------------------
38 use spmd_mod, only : spmd_barrier
39 use glob_therm_mod
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------
45C C o m m o n B l o c k s
46C-----------------------------------------------
47#include "units_c.inc"
48#include "task_c.inc"
49#include "com01_c.inc"
50C-----------------------------------------------,
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53 type (glob_therm_) ,intent(inout) :: glob_therm
54C-----------------------------------------------
55C L o c a l V a r i a b l e s
56C-----------------------------------------------
57 my_real :: array(5)
58!=======================================================================
59 array(1) = glob_therm%HEAT_FFLUX
60 array(2) = glob_therm%HEAT_MECA
61 array(3) = glob_therm%HEAT_CONV
62 array(4) = glob_therm%HEAT_RADIA
63 array(5) = glob_therm%HEAT_STORED
64C WRITE(6,*) __FILE__,"-",ISPMD,ARRAY(5)
65 CALL spmd_barrier
66 IF (nspmd > 1) CALL spmd_glob_rsum_poff(array,5)
67C WRITE(6,*) __FILE__,"+",ISPMD,ARRAY(5)
68 CALL spmd_barrier
69C
70 IF(ispmd == 0) THEN
71 WRITE(iout,'(/1X,A,I10,A)')'** THERMAL ANALYSIS **'
72 WRITE(iout,'(4X,A,G15.8)') 'IMPOSED FLUX_DENSITY HEAT............:',array(1)
73 WRITE(iout,'(4X,A,G15.8)') 'HEAT CONVERTED FROM STRAIN ENERGY....:',array(2)
74 WRITE(iout,'(4X,A,G15.8)') 'CONVECTION HEAT......................:',array(3)
75 WRITE(iout,'(4X,A,G15.8)') 'RADIATION HEAT.......................:',array(4)
76 WRITE(iout,'(4X,A,G15.8)') 'HEAT STORED..........................:',array(5)
77 ENDIF
78C
79 RETURN
80 END
81
#define my_real
Definition cppsort.cpp:32
subroutine spmd_glob_rsum_poff(array, length)
subroutine thermbilan(glob_therm)
Definition thermbilan.F:35