OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
thermbilan.F File Reference
#include "implicit_f.inc"
#include "units_c.inc"
#include "task_c.inc"
#include "com01_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine thermbilan (glob_therm)

Function/Subroutine Documentation

◆ thermbilan()

subroutine thermbilan ( type (glob_therm_), intent(inout) glob_therm)

Definition at line 34 of file thermbilan.F.

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
#define my_real
Definition cppsort.cpp:32
subroutine spmd_glob_rsum_poff(array, length)