58 TYPE(t_region
) :: region
61 INTEGER ::
i,
j,
k, ipatch
65 INTEGER :: ilev, icoff, ijcoff, inoff, ijnoff, ijkc0, ijkc1, ijkn, indsvel
67 REAL(RFREAL) :: radea, ua, va, wa, vcont, svel, fc
68 REAL(RFREAL),
POINTER :: dv(:,:), rcv(:,:), rrhs(:,:)
69 REAL(RFREAL),
POINTER :: aci(:,:), acj(:,:), ack(:,:)
70 REAL(RFREAL),
POINTER :: si(:,:), sj(:,:), sk(:,:)
71 REAL(RFREAL),
POINTER :: sivel(:), sjvel(:), skvel(:)
76 'RADI_floFlimCentFlux.F90' )
80 ilev = region%currLevel
87 dv => region%levels(ilev)%mixt%dv
88 rcv => region%levels(ilev)%radi%cv
89 rrhs => region%levels(ilev)%radi%rhs
90 aci => region%levels(ilev)%grid%c2fCoI
91 acj => region%levels(ilev)%grid%c2fCoJ
92 ack => region%levels(ilev)%grid%c2fCoK
93 si => region%levels(ilev)%grid%si
94 sj => region%levels(ilev)%grid%sj
95 sk => region%levels(ilev)%grid%sk
96 sivel => region%levels(ilev)%grid%siVel
97 sjvel => region%levels(ilev)%grid%sjVel
98 skvel => region%levels(ilev)%grid%skVel
99 indsvel = region%levels(ilev)%grid%indSvel
106 ijkc0 = indijk(
i ,
j,
k,icoff,ijcoff)
107 ijkc1 = indijk(
i-1,
j,
k,icoff,ijcoff)
108 ijkn = indijk(
i ,
j,
k,inoff,ijnoff)
110 radea = aci(2,ijkn)*rcv(cv_radi_ener,ijkc0)+ &
111 aci(1,ijkn)*rcv(cv_radi_ener,ijkc1)
112 ua = aci(2,ijkn)*dv(dv_mixt_uvel,ijkc0)+ &
113 aci(1,ijkn)*dv(dv_mixt_uvel,ijkc1)
114 va = aci(2,ijkn)*dv(dv_mixt_vvel,ijkc0)+ &
115 aci(1,ijkn)*dv(dv_mixt_vvel,ijkc1)
116 wa = aci(2,ijkn)*dv(dv_mixt_wvel,ijkc0)+ &
117 aci(1,ijkn)*dv(dv_mixt_wvel,ijkc1)
119 svel = sivel(ijkn*indsvel)
120 vcont = ua*si(xcoord,ijkn)+va*si(ycoord,ijkn)+wa*si(zcoord,ijkn)-svel
124 rrhs(cv_radi_ener,ijkc0) = rrhs(cv_radi_ener,ijkc0) + fc
125 rrhs(cv_radi_ener,ijkc1) = rrhs(cv_radi_ener,ijkc1) - fc
135 ijkc0 = indijk(
i,
j ,
k,icoff,ijcoff)
136 ijkc1 = indijk(
i,
j-1,
k,icoff,ijcoff)
137 ijkn = indijk(
i,
j ,
k,inoff,ijnoff)
139 radea = acj(2,ijkn)*rcv(cv_radi_ener,ijkc0)+ &
140 acj(1,ijkn)*rcv(cv_radi_ener,ijkc1)
141 ua = acj(2,ijkn)*dv(dv_mixt_uvel,ijkc0)+ &
142 acj(1,ijkn)*dv(dv_mixt_uvel,ijkc1)
143 va = acj(2,ijkn)*dv(dv_mixt_vvel,ijkc0)+ &
144 acj(1,ijkn)*dv(dv_mixt_vvel,ijkc1)
145 wa = acj(2,ijkn)*dv(dv_mixt_wvel,ijkc0)+ &
146 acj(1,ijkn)*dv(dv_mixt_wvel,ijkc1)
148 svel = sjvel(ijkn*indsvel)
149 vcont = ua*sj(xcoord,ijkn)+va*sj(ycoord,ijkn)+wa*sj(zcoord,ijkn)-svel
153 rrhs(cv_radi_ener,ijkc0) = rrhs(cv_radi_ener,ijkc0) + fc
154 rrhs(cv_radi_ener,ijkc1) = rrhs(cv_radi_ener,ijkc1) - fc
164 ijkc0 = indijk(
i,
j,
k ,icoff,ijcoff)
165 ijkc1 = indijk(
i,
j,
k-1,icoff,ijcoff)
166 ijkn = indijk(
i,
j,
k ,inoff,ijnoff)
168 radea = ack(2,ijkn)*rcv(cv_radi_ener,ijkc0)+ &
169 ack(1,ijkn)*rcv(cv_radi_ener,ijkc1)
170 ua = ack(2,ijkn)*dv(dv_mixt_uvel,ijkc0)+ &
171 ack(1,ijkn)*dv(dv_mixt_uvel,ijkc1)
172 va = ack(2,ijkn)*dv(dv_mixt_vvel,ijkc0)+ &
173 ack(1,ijkn)*dv(dv_mixt_vvel,ijkc1)
174 wa = ack(2,ijkn)*dv(dv_mixt_wvel,ijkc0)+ &
175 ack(1,ijkn)*dv(dv_mixt_wvel,ijkc1)
177 svel = skvel(ijkn*indsvel)
178 vcont = ua*sk(xcoord,ijkn)+va*sk(ycoord,ijkn)+wa*sk(zcoord,ijkn)-svel
182 rrhs(cv_radi_ener,ijkc0) = rrhs(cv_radi_ener,ijkc0) + fc
183 rrhs(cv_radi_ener,ijkc1) = rrhs(cv_radi_ener,ijkc1) - fc
190 DO ipatch=1,region%nPatches
192 region%levels(ilev)%patches(ipatch) )
subroutine radi_floflimcentflux(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 kpcbeg
subroutine registerfunction(global, funName, fileName)
**********************************************************************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 jpcbeg
**********************************************************************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 ipcend
subroutine rflo_getnodeoffset(region, iLev, iNodeOffset, ijNodeOffset)
**********************************************************************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 ipcbeg
subroutine rflo_getcelloffset(region, iLev, iCellOffset, ijCellOffset)
**********************************************************************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 jpcend
subroutine radi_floflimcentfluxpatch(region, patch)
subroutine deregisterfunction(global)
subroutine rflo_getdimensphys(region, iLev, ipcbeg, ipcend, jpcbeg, jpcend, kpcbeg, kpcend)