Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(in) | :: | T1 | |||
real(kind=r64), | intent(in) | :: | T2 | |||
real(kind=r64), | intent(in) | :: | E1 | |||
real(kind=r64), | intent(in) | :: | E2 |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
REAL(r64) FUNCTION HRadPar(T1, T2, E1, E2)
!
! AUTHOR ASHRAE 1311-RP
! DATE WRITTEN unknown
! MODIFIED na
! RE-ENGINEERED na
!
! PURPOSE OF THIS FUNCTION:
! Returns radiative coefficient between two surfaces, hr, W/m2-K
!
!
! METHODOLOGY EMPLOYED:
! Radiative coefficient for parallel, opaque plates configuration and
! automatically reverts to small-object-in-large-enclosure if one of
! the emissivities is set to unity i.e., set E1=1 and surface 2 is the
! small object with hr based on area A2 If one emissivity is zero then
! hr=0, division by zero is, avoided even if T1=T2.
!
!
! REFERENCES:
! ASHRAE 1311-RP
!
!
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
REAL(r64), INTENT(IN):: T1, T2 ! bounding surface temps [K]
REAL(r64), INTENT(IN):: E1, E2 ! bounding surface emissivities
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
REAL(r64) :: DV ! dummy variable
! Flow
HRadPar = 0.0d0
IF((E1 .GT. 0.001d0) .AND. (E2 .GT. 0.001d0)) THEN
DV = (1.0d0/E1) + (1.0d0/E2) - 1.0d0
HRadPar = (StefanBoltzmann/DV) * (T1+T2) * (T1**2 + T2**2)
ENDIF
RETURN
END FUNCTION HRadPar