62 TYPE(t_region
),
POINTER :: regions(:)
70 INTEGER :: ilev, npatches, bctype, iregsrc, ipatchsrc
77 global => regions(ireg)%global
80 'TURB_rFLO_RansBndConditionsSet.F90' )
82 IF (regions(ireg)%turbInput%modelClass /= model_rans) goto 999
86 ilev = regions(ireg)%currLevel
87 npatches = regions(ireg)%nPatches
93 patch => regions(ireg)%levels(ilev)%patches(ipatch)
96 iregsrc =
patch%srcRegion
97 ipatchsrc =
patch%srcPatch
101 IF (bctype>=bc_inflow .AND. bctype<=bc_inflow+bc_range)
THEN
106 ELSE IF ((bctype>=bc_outflow .AND. bctype<=bc_outflow+bc_range) .OR. &
107 (bctype>=bc_slipwall .AND. bctype<=bc_slipwall+bc_range) .OR. &
108 (bctype>=bc_farfield .AND. bctype<=bc_farfield+bc_range))
THEN
113 ELSE IF (bctype>=bc_regionconf .AND. bctype<=bc_regionconf+bc_range)
THEN
114 patchsrc => regions(iregsrc)%levels(ilev)%patches(ipatchsrc)
116 IF (regions(iregsrc)%procid == global%myProcid)
THEN
123 ELSE IF (bctype>=bc_regionint .AND. bctype<=bc_regionint+bc_range)
THEN
124 patchsrc => regions(iregsrc)%levels(ilev)%patches(ipatchsrc)
130 CALL
errorstop( global,err_unknown_bc,__line__, &
131 'non-conforming integer bc is not ready yet for RaNS.' )
135 ELSE IF (bctype>=bc_regnonconf .AND. bctype<=bc_regnonconf+bc_range)
THEN
136 patchsrc => regions(iregsrc)%levels(ilev)%patches(ipatchsrc)
142 CALL
errorstop( global,err_unknown_bc,__line__, &
143 'non-conforming irregular bc is not ready yet for RaNS.' )
147 ELSE IF (bctype>=bc_noslipwall .AND. bctype<=bc_noslipwall+bc_range)
THEN
152 ELSE IF (bctype>=bc_injection .AND. bctype<=bc_injection+bc_range)
THEN
157 ELSE IF (bctype>=bc_symmetry .AND. bctype<=bc_symmetry+bc_range)
THEN
162 ELSE IF (bctype>=bc_tra_peri .AND. bctype<=bc_tra_peri+bc_range)
THEN
163 patchsrc => regions(iregsrc)%levels(ilev)%patches(ipatchsrc)
165 IF (regions(iregsrc)%procid == global%myProcid)
THEN
172 ELSE IF (bctype>=bc_rot_peri .AND. bctype<=bc_rot_peri+bc_range)
THEN
173 patchsrc => regions(iregsrc)%levels(ilev)%patches(ipatchsrc)
177 CALL
errorstop( global,err_unknown_bc,__line__, &
178 'rotational periodic bc is not ready yet for RaNS.' )
181 CALL
errorstop( global,err_unknown_bc,__line__ )
subroutine turb_floransbcondzerograd(region, patch)
subroutine turb_floransbcondinjection(region, patch)
subroutine registerfunction(global, funName, fileName)
subroutine turb_floransbcondsymmetry(region, patch)
subroutine turb_floransbcondnoslipwall(region, patch)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine turb_floransbcondinflow(region, patch)
subroutine deregisterfunction(global)
subroutine turb_floransexchangedummyconf(region, regionSrc, patch, patchSrc)
subroutine turb_rflo_ransbndconditionsset(regions, iReg)