55 TYPE(t_region
),
POINTER :: regions(:)
58 INTEGER :: ireg, ipatch, ilev, ftype
61 CHARACTER(CHRLEN) ::
msg
72 global => regions(1)%global
75 'RFLO_CheckBcInput.F90' )
79 DO ireg=1,global%nRegions
80 IF (regions(ireg)%procid==global%myProcid .AND. &
81 regions(ireg)%active==active)
THEN
82 input => regions(ireg)%mixtInput
83 DO ilev=1,regions(ireg)%nGridLevels
84 DO ipatch=1,regions(ireg)%nPatches
85 patch => regions(ireg)%levels(ilev)%patches(ipatch)
86 DO ftype = 1,ftype_max
92 IF (
input%turbModel == turb_model_none) cycle
97 IF (global%peulUsed .eqv. .false.) cycle
100 IF (
input%gasModel == gas_model_tcperf) cycle
103 IF (
input%radiUsed .eqv. .false.) cycle
107 IF (bc%bcSet .eqv. .false.)
THEN
108 WRITE(
msg,1000) ireg,ilev,ipatch,
patch%bcType,ftype
109 CALL
errorstop( global,err_no_bcspecified,__line__,trim(
msg) )
112 IF (bc%nData > 0)
THEN
113 ALLOCATE( bc%tbcs(bc%nData),stat=errorflag )
114 global%error = errorflag
115 IF (global%error /= 0) &
116 CALL
errorstop( global,err_allocate,__line__ )
117 bc%tbcs(:)%tbcType = tbc_none
130 1000
FORMAT(
'Region ',i5,
', level ',i1,
', patch ',i3,
', bcType ',i3, &
subroutine registerfunction(global, funName, fileName)
subroutine input(X, NNODE, NDC, NCELL, NFCE, NBPTS, NBFACE, ITYP, NPROP, XBNDY, XFAR, YFAR, ZFAR)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)