57 TYPE(t_region
),
INTENT(INOUT) :: region
60 INTEGER ::
i,
j,
k, icv
65 INTEGER :: ilev, icoff, ijcoff, off1d, ijkc, ijkc1, ijdum, ijdum1
66 INTEGER :: im1, jm1, km1, ip1, jp1, kp1, ncv
69 REAL(RFREAL),
POINTER ::
rhs(:,:), epsirs(:,:),
d(:)
75 global => region%global
78 'TURB_rFLO_RansResSmoothing.F90' )
80 IF (region%turbInput%modelClass /= model_rans) goto 999
86 ilev = region%currLevel
92 epsirs => region%levels(ilev)%turb%epsIrs
93 rhs => region%levels(ilev)%turb%rhs
96 ncv = region%turbInput%nCv
105 ijdum = indij(
i,
j,off1d) + 1
112 ijkc = indijk(
i ,
j,
k,icoff,ijcoff)
113 ijkc1 = indijk(im1,
j,
k,icoff,ijcoff)
114 ijdum = indij(
i ,
j,off1d) + 1
115 ijdum1 = indij(im1,
j,off1d) + 1
116 t = 1._rfreal/(1._rfreal+2._rfreal*epsirs(icoord,ijkc)- &
117 epsirs(icoord,ijkc)*
d(ijdum1))
118 d(ijdum) = t*epsirs(icoord,ijkc)
121 rhs(icv,ijkc) = t*(
rhs(icv,ijkc) + epsirs(icoord,ijkc)*
rhs(icv,ijkc1))
130 ijkc = indijk(
i ,
j,
k,icoff,ijcoff)
131 ijkc1 = indijk(ip1,
j,
k,icoff,ijcoff)
132 ijdum = indij(
i,
j,off1d) + 1
135 rhs(icv,ijkc) =
rhs(icv,ijkc) +
d(ijdum)*
rhs(icv,ijkc1)
150 ijdum = indij(
j,
i,off1d) + 1
157 ijkc = indijk(
i,
j ,
k,icoff,ijcoff)
158 ijkc1 = indijk(
i,jm1,
k,icoff,ijcoff)
159 ijdum = indij(
j ,
i,off1d) + 1
160 ijdum1 = indij(jm1,
i,off1d) + 1
161 t = 1._rfreal/(1._rfreal+2._rfreal*epsirs(jcoord,ijkc)- &
162 epsirs(jcoord,ijkc)*
d(ijdum1))
163 d(ijdum) = t*epsirs(jcoord,ijkc)
166 rhs(icv,ijkc) = t*(
rhs(icv,ijkc) + epsirs(icoord,ijkc)*
rhs(icv,ijkc1))
175 ijkc = indijk(
i,
j ,
k,icoff,ijcoff)
176 ijkc1 = indijk(
i,jp1,
k,icoff,ijcoff)
177 ijdum = indij(
j,
i,off1d) + 1
180 rhs(icv,ijkc) =
rhs(icv,ijkc) +
d(ijdum)*
rhs(icv,ijkc1)
195 ijdum = indij(
k,
i,off1d) + 1
202 ijkc = indijk(
i,
j,
k ,icoff,ijcoff)
203 ijkc1 = indijk(
i,
j,km1,icoff,ijcoff)
204 ijdum = indij(
k ,
i,off1d) + 1
205 ijdum1 = indij(km1,
i,off1d) + 1
206 t = 1._rfreal/(1._rfreal+2._rfreal*epsirs(kcoord,ijkc)- &
207 epsirs(kcoord,ijkc)*
d(ijdum1))
208 d(ijdum) = t*epsirs(kcoord,ijkc)
211 rhs(icv,ijkc) = t*(
rhs(icv,ijkc) + epsirs(icoord,ijkc)*
rhs(icv,ijkc1))
220 ijkc = indijk(
i,
j,
k ,icoff,ijcoff)
221 ijkc1 = indijk(
i,
j,kp1,icoff,ijcoff)
222 ijdum = indij(
k,
i,off1d) + 1
225 rhs(icv,ijkc) =
rhs(icv,ijkc) +
d(ijdum)*
rhs(icv,ijkc1)
**********************************************************************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 turb_rflo_ransressmoothing(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 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 deregisterfunction(global)
subroutine rflo_getdimensphys(region, iLev, ipcbeg, ipcend, jpcbeg, jpcend, kpcbeg, kpcend)