60 TYPE(t_region
) :: region
63 INTEGER :: ipatch,
i,
j,
k, ijkc, i2d, n1, n2, ng1, ng2
66 INTEGER :: ilev, bctype, lbound, icoff, ijcoff, noff
69 REAL(RFREAL) :: tburn, rgas
70 REAL(RFREAL),
POINTER :: cv(:,:), dv(:,:), gv(:,:), vals(:,:)
77 global => region%global
80 'RFLO_SendBoundaryValuesAlpha.F90' )
84 ilev = region%currLevel
88 indmol = region%levels(ilev)%mixt%indMol
90 cv => region%levels(ilev)%mixt%cv
91 dv => region%levels(ilev)%mixt%dv
92 gv => region%levels(ilev)%mixt%gv
96 DO ipatch=1,region%nPatches
98 patch => region%levels(ilev)%patches(ipatch)
100 lbound =
patch%lbound
101 distrib =
patch%mixt%distrib
103 vals =>
patch%mixt%vals
105 IF (
patch%bcCoupled == bc_external .OR. &
106 (
patch%bcCoupled == bc_internal .AND. &
107 bctype == bc_injection_apn))
THEN
117 ijkc = indijk(
i,
j,
k,icoff,ijcoff)
118 IF (lbound==1 .OR. lbound==2)
THEN
121 IF (lbound == 2)
THEN
127 ELSE IF (lbound==3 .OR. lbound==4)
THEN
130 IF (lbound == 4)
THEN
136 ELSE IF (lbound==5 .OR. lbound==6)
THEN
139 IF (lbound == 6)
THEN
146 IF (bctype>=bc_injection .AND. bctype<=bc_injection+bc_range)
THEN
147 i2d = distrib * indij(n1,n2,noff)
148 tburn = vals(bcdat_inject_temp,i2d)
150 IF (bctype==bc_injection_apn)
THEN
151 patch%mdotAlp( ng1,ng2) = vals(bcdat_inject_mfrate,i2d)
152 patch%tflmAlp( ng1,ng2) = vals(bcdat_inject_temp ,i2d)
153 patch%rhofvfAlp(1,ng1,ng2) = vals(bcdat_inject_rfvfu ,i2d)
154 patch%rhofvfAlp(2,ng1,ng2) = vals(bcdat_inject_rfvfv ,i2d)
155 patch%rhofvfAlp(3,ng1,ng2) = vals(bcdat_inject_rfvfw ,i2d)
157 IF (
patch%bFlag(ng1,ng2) == 1)
THEN
162 patch%rhofAlp(ng1,ng2) = cv(cv_mixt_dens,ijkc)
165 patch%rhofAlp(ng1,ng2) = cv(cv_mixt_dens,ijkc)
**********************************************************************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
real(rfreal) function mixtperf_r_m(M)
subroutine registerfunction(global, funName, fileName)
subroutine rflo_getpatchindices(region, patch, iLev, ibeg, iend, jbeg, jend, kbeg, kend)
real(rfreal) function mixtperf_d_prt(P, R, T)
**********************************************************************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_sendboundaryvaluesalpha(region)
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 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)