66 TYPE(t_region
) :: region
75 INTEGER :: ilev,icoff,ijcoff
77 REAL(RFREAL) :: fac,fvol,rhovol
78 REAL(RFREAL),
POINTER :: cv(:,:),cvold(:,:),sdual(:,:),
rhs(:,:),vol(:)
85 global => region%global
95 ilev = region%currLevel
103 cv => region%levels(ilev)%mixt%cv
104 cvold => region%levels(ilev)%mixt%cvOld
105 sdual => region%levels(ilev)%mixt%sDual
106 rhs => region%levels(ilev)%mixt%rhs
107 vol => region%levels(ilev)%grid%vol
112 iec = region%grid%nCells
115 rhs => region%mixt%rhs
116 vol => region%grid%vol
124 IF (global%solverType==solv_implicit .AND. global%dualTstSource)
THEN
125 fac = 1.5_rfreal/global%dtMin
128 rhs(cv_mixt_dens,
ic) =
rhs(cv_mixt_dens,
ic) - sdual(cv_mixt_dens,
ic) + &
129 fvol*cv(cv_mixt_dens,
ic)
130 rhs(cv_mixt_xmom,
ic) =
rhs(cv_mixt_xmom,
ic) - sdual(cv_mixt_xmom,
ic) + &
131 fvol*cv(cv_mixt_xmom,
ic)
132 rhs(cv_mixt_ymom,
ic) =
rhs(cv_mixt_ymom,
ic) - sdual(cv_mixt_ymom,
ic) + &
133 fvol*cv(cv_mixt_ymom,
ic)
134 rhs(cv_mixt_zmom,
ic) =
rhs(cv_mixt_zmom,
ic) - sdual(cv_mixt_zmom,
ic) + &
135 fvol*cv(cv_mixt_zmom,
ic)
136 rhs(cv_mixt_ener,
ic) =
rhs(cv_mixt_ener,
ic) - sdual(cv_mixt_ener,
ic) + &
137 fvol*cv(cv_mixt_ener,
ic)
146 IF ( global%accelOn .EQV. .true. )
THEN
148 rhovol = vol(
ic)*cv(cv_mixt_dens,
ic)
149 rhs(cv_mixt_xmom,
ic) =
rhs(cv_mixt_xmom,
ic) - global%accelX*rhovol
150 rhs(cv_mixt_ymom,
ic) =
rhs(cv_mixt_ymom,
ic) - global%accelY*rhovol
151 rhs(cv_mixt_zmom,
ic) =
rhs(cv_mixt_zmom,
ic) - global%accelZ*rhovol
152 rhs(cv_mixt_ener,
ic) =
rhs(cv_mixt_ener,
ic) - &
153 vol(
ic)*(global%accelX*cv(cv_mixt_xmom,
ic)+ &
154 global%accelY*cv(cv_mixt_ymom,
ic)+ &
155 global%accelZ*cv(cv_mixt_zmom,
ic))
**********************************************************************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 idcend
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 ic
subroutine rflo_getdimensdummy(region, iLev, idcbeg, idcend, jdcbeg, jdcend, kdcbeg, kdcend)
**********************************************************************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 kdcbeg
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 idcbeg
**********************************************************************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 jdcend
**********************************************************************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 jdcbeg
subroutine deregisterfunction(global)
subroutine sourceterms(region)