Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r64), | intent(in) | :: | RA |
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 FNU(RA)
! AUTHOR (John Wright, University of WaterLoo, ASHRAE 1311-RP)
! DATE WRITTEN
! MODIFIED Bereket Nigusse, FSEC/UCF, May 2013
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! Returns Nusselt number given Rayleigh number
!
! METHODOLOGY EMPLOYED:
! Uses empirical correlation
!
! 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) :: RA ! Rayleigh number
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
REAL(r64) :: ARA
ARA = ABS( RA)
IF ( ARA .LE. 10000.0d0 ) THEN
FNU =1.0d0 + 1.75967d-10 * (ARA**2.2984755d0)
ELSE IF (ARA .LE. 50000.0d0) THEN
FNU=0.028154d0 * (ARA**0.413993d0)
ELSE
FNU=0.0673838d0 * (ARA**(1.0d0/3.0d0))
ENDIF
RETURN
END FUNCTION FNU