57 TYPE(t_region
) :: region
60 INTEGER :: ipatch,
i,
j,
k, ijkc, n1, n2, ng1, ng2
63 INTEGER :: ilev, bctype, lbound, icoff, ijcoff, i2d, noff
66 REAL(RFREAL),
POINTER :: vals(:,:)
73 global => region%global
76 'RFLO_GetBoundaryValues.F90' )
80 ilev = region%currLevel
86 DO ipatch=1,region%nPatches
88 patch => region%levels(ilev)%patches(ipatch)
89 vals =>
patch%mixt%vals
94 IF (
patch%bcCoupled == bc_external)
THEN
102 ijkc = indijk(
i,
j,
k,icoff,ijcoff)
103 IF (lbound==1 .OR. lbound==2)
THEN
106 IF (lbound == 2)
THEN
112 ELSE IF (lbound==3 .OR. lbound==4)
THEN
115 IF (lbound == 4)
THEN
121 ELSE IF (lbound==5 .OR. lbound==6)
THEN
124 IF (lbound == 6)
THEN
131 i2d = indij(n1,n2,noff)
132 IF (bctype>=bc_injection .AND. bctype<=bc_injection+bc_range)
THEN
133 IF (
patch%bFlag(ng1,ng2) == 1)
THEN
134 vals(bcdat_inject_mfrate,i2d) =
patch%mdotAlp(ng1,ng2)
136 vals(bcdat_inject_mfrate,i2d) = -1._rfreal
138 vals(bcdat_inject_temp ,i2d) =
patch%tflmAlp ( ng1,ng2)
139 vals(bcdat_inject_rfvfu,i2d) =
patch%rhofvfAlp(1,ng1,ng2)
140 vals(bcdat_inject_rfvfv,i2d) =
patch%rhofvfAlp(2,ng1,ng2)
141 vals(bcdat_inject_rfvfw,i2d) =
patch%rhofvfAlp(3,ng1,ng2)
142 ELSE IF (bctype>=bc_noslipwall .AND. &
143 bctype<=bc_noslipwall+bc_range)
THEN
148 patch%mdotAlp(:,:) = 0._rfreal
149 patch%tflmAlp(:,:) = 0._rfreal
150 patch%rhofvfAlp(:,:,:) = 0._rfreal
152 patch%mdotAlp(:,:) = 0._rfreal
153 patch%tflmAlp(:,:) = 0._rfreal
154 patch%rhofvfAlp(:,:,:) = 0._rfreal
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE ibeg
subroutine registerfunction(global, funName, fileName)
subroutine rflo_getpatchindices(region, patch, iLev, ibeg, iend, jbeg, jend, kbeg, kend)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode iend
subroutine rflo_getcelloffset(region, iLev, iCellOffset, ijCellOffset)
subroutine rflo_getboundaryvalues(region)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode jend
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode jbeg
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE knode kbeg
subroutine deregisterfunction(global)