Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TURB_VFluxHybridPatch.F90
Go to the documentation of this file.
1 ! *********************************************************************
2 ! * Rocstar Simulation Suite *
3 ! * Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4 ! * *
5 ! * Illinois Rocstar LLC *
6 ! * Champaign, IL *
7 ! * www.illinoisrocstar.com *
8 ! * sales@illinoisrocstar.com *
9 ! * *
10 ! * License: See LICENSE file in top level of distribution package or *
11 ! * http://opensource.org/licenses/NCSA *
12 ! *********************************************************************
13 ! *********************************************************************
14 ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15 ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16 ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17 ! * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18 ! * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19 ! * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20 ! * Arising FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21 ! * USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22 ! *********************************************************************
23 !******************************************************************************
24 !
25 ! Purpose: Compute at current boundary patch total viscous fluxes of which
26 ! turbulent stress contribution is based on stress model as opposed
27 ! to eddy viscosity model.
28 !
29 ! Description: this routine works in the same way as TURB_vFluxHybrid
30 ! but applied on region patches
31 !
32 ! Input: region = data of current region.
33 ! patch = current patch.
34 !
35 ! Output: mixt%diss = viscous fluxes added to the dissipation.
36 !
37 ! Notes: This flux routine is used for the scale similarity and dyn.mixed model.
38 !
39 !******************************************************************************
40 !
41 ! $Id: TURB_VFluxHybridPatch.F90,v 1.14 2008/12/06 08:44:42 mtcampbe Exp $
42 !
43 ! Copyright: (c) 2001 by the University of Illinois
44 !
45 !******************************************************************************
46 
47 SUBROUTINE turb_vfluxhybridpatch( region,patch )
48 
49 !$startcopy TURB_visFluxEddyPatch
50  USE moddatatypes
51  USE modbndpatch, ONLY : t_patch
52  USE moddatastruct, ONLY : t_region
53  USE modglobal, ONLY : t_global
54  USE modturbulence, ONLY : t_turb
55 #ifdef RFLO
58 
59 #include "Indexing.h"
60 #endif
61  USE moderror
62  USE modparameters
64  IMPLICIT NONE
65 
66 ! ... parameters
67  TYPE(t_region), TARGET :: region
68  TYPE(t_patch) :: patch
69 
70 ! ... loop variables
71  INTEGER :: i, j, k, ic
72 
73 ! ... local variables
74  CHARACTER(CHRLEN) :: rcsidentstring
75  TYPE(t_global), POINTER :: global
76  TYPE(t_turb), POINTER :: turb
77 
78  INTEGER :: ibeg, iend, jbeg, jend, kbeg, kend
79  INTEGER :: ijk, bctype, indcp, ijkcb0, ijkcd, ijknb, ijknbg
80  INTEGER :: n1, n2, noff, j2d, aerocoeff
81 
82  REAL(RFREAL) :: beta,rprt,cpprt,muel,tcol,tcot,engmodel
83  REAL(RFREAL) :: tx,ty,tz,tgradf, bvalfactor
84  REAL(RFREAL) :: velf(3),fd(4),sf(3),sij(3,3)
85  REAL(RFREAL) :: velcb0(3),tfd(4),ucitauij,taukk, ac0,ac1
86  REAL(RFREAL) :: rref, vref, rcfref, rchref
87  REAL(RFREAL), POINTER :: diss(:,:),tv(:,:),gv(:,:),muet(:,:),srate(:,:)
88  REAL(RFREAL), POINTER :: trace(:),vol(:)
89 
90 #ifdef RFLO
91  INTEGER :: inode, jnode, knode, idir, jdir, kdir
92  INTEGER :: ilev, lbound, icoff, ijcoff, inoff, ijnoff, acid0, acid1
93  REAL(RFREAL) :: sgn
94  REAL(RFREAL), POINTER :: avgco(:,:), sface(:,:), dv(:,:), grad(:,:)
95 #endif
96 #ifdef RFLU
97  INTEGER :: ifgbeg
98  REAL(RFREAL) :: rdens0
99  REAL(RFREAL), POINTER :: fn(:,:), cv(:,:), grad(:,:,:)
100 #endif
101 !$endcopy
102 
103  REAL(RFREAL) :: tij(3,3)
104  REAL(RFREAL), POINTER :: tauij(:,:)
105 
106 !******************************************************************************
107 
108  rcsidentstring = '$RCSfile: TURB_VFluxHybridPatch.F90,v $'
109 
110  global => region%global
111  CALL registerfunction( global,'TURB_VFluxHybridPatch',&
112  'TURB_VFluxHybridPatch.F90' )
113 
114 
115 !$startcopy TURB_visFluxEddyPatch
116 ! get dimensions and pointers -------------------------------------------------
117 
118  bctype = patch%bcType
119 
120 #ifdef RFLO
121  ilev = region%currLevel
122  lbound = patch%lbound
123  vol => region%levels(ilev)%grid%vol
124  dv => region%levels(ilev)%mixt%dv
125  tv => region%levels(ilev)%mixt%tv
126  gv => region%levels(ilev)%mixt%gv
127  diss => region%levels(ilev)%mixt%diss
128  muet => region%levels(ilev)%turb%mueT
129  trace => region%levels(ilev)%turb%trace
130  turb => region%levels(ilev)%turb
131 #endif
132 #ifdef RFLU
133  vol => region%grid%vol
134  cv => region%mixt%cv
135  tv => region%mixt%tv
136  gv => region%mixt%gv
137  diss => region%mixt%diss
138  muet => region%turb%bMueT
139  trace => region%turb%trace
140  turb => region%turb
141 #endif
142 
143 ! get coefficients -----------------------------------------------------------
144 
145  IF (region%turbInput%engModel==0) THEN
146  engmodel = 0._rfreal
147  ELSE
148  engmodel = 1._rfreal
149  ENDIF
150  beta = region%mixtInput%betrk(region%irkStep)
151 
152  IF (bctype>=bc_noslipwall .AND. bctype<=bc_noslipwall+bc_range) THEN
153  bvalfactor = 0._rfreal
154  ELSE
155  bvalfactor = 1._rfreal
156  ENDIF
157 
158 #ifdef RFLO
159  rprt = 1._rfreal/region%levels(ilev)%mixt%prTurb
160  indcp = region%levels(ilev)%mixt%indCp
161  aerocoeff = global%aeroCoeffs
162  noff = abs(patch%l1end-patch%l1beg) + 1
163 #endif
164 #ifdef RFLU
165  rprt = 1._rfreal/region%mixtInput%prTurb
166  indcp = region%mixtInput%indCp
167 #endif
168 
169  rref = global%refDensity
170  vref = global%refVelocity
171 
172  rcfref = 2.0_rfreal/(rref*vref*vref)
173  rchref = 2.0_rfreal/(rref*vref*vref*vref)
174 
175 #ifdef RFLO
176 
177 ! take the right face vector and make it point outwards
178 
179  CALL rflo_getpatchindices( region,patch,ilev,ibeg,iend,jbeg,jend,kbeg,kend )
181  CALL rflo_getcelloffset( region,ilev,icoff,ijcoff )
182  CALL rflo_getnodeoffset( region,ilev,inoff,ijnoff )
183 
184  sgn = +1._rfreal
185  inode = 0
186  jnode = 0
187  knode = 0
188  acid0 = 2
189  acid1 = 1
190  IF (lbound==2 .OR. lbound==4 .OR. lbound==6) THEN
191  sgn = -1._rfreal
192  inode = -idir
193  jnode = -jdir
194  knode = -kdir
195  acid0 = 1
196  acid1 = 2
197  ENDIF
198 !$endcopy
199 
200 ! get the appropriate face vector
201 
202  IF (lbound==1 .OR. lbound==2) THEN
203  ijk = diri
204  avgco => region%levels(ilev)%grid%c2fCoI
205  sface => region%levels(ilev)%grid%si
206  grad => region%levels(ilev)%mixt%gradi
207  srate => region%levels(ilev)%turb%mISij
208  tauij => region%levels(ilev)%turb%fISij
209  ELSE IF (lbound==3 .OR. lbound==4) THEN
210  ijk = dirj
211  avgco => region%levels(ilev)%grid%c2fCoJ
212  sface => region%levels(ilev)%grid%sj
213  grad => region%levels(ilev)%mixt%gradj
214  srate => region%levels(ilev)%turb%mJSij
215  tauij => region%levels(ilev)%turb%fJSij
216  ELSE
217  ijk = dirk
218  avgco => region%levels(ilev)%grid%c2fCoK
219  sface => region%levels(ilev)%grid%sk
220  grad => region%levels(ilev)%mixt%gradk
221  srate => region%levels(ilev)%turb%mKSij
222  tauij => region%levels(ilev)%turb%fKSij
223  ENDIF
224 
225 !$startcopy TURB_visFluxEddyPatch
226 
227 ! non-conforming region interface
228 
229  IF (bctype>=bc_regionint .AND. bctype<=bc_regionint+bc_range) THEN
230 
231  ELSE IF (bctype>=bc_regnonconf .AND. bctype<=bc_regnonconf+bc_range) THEN
232 
233 ! everything else
234 
235  ELSE
236 
237 ! flux in the direction normal to the patch
238 
239  DO k=kbeg,kend
240  DO j=jbeg,jend
241  DO i=ibeg,iend
242 
243  ijkcb0 = indijk(i ,j ,k ,icoff,ijcoff) ! bnd cells
244  ijkcd = indijk(i-idir ,j-jdir ,k-kdir ,icoff,ijcoff) ! dummy
245  ijknb = indijk(i+inode,j+jnode,k+knode,inoff,ijnoff) ! bnd nodes
246  ijknbg = ijknb
247 
248  sf(1) = sgn*sface(xcoord,ijknb)
249  sf(2) = sgn*sface(ycoord,ijknb)
250  sf(3) = sgn*sface(zcoord,ijknb)
251  ac0 = avgco(acid0,ijknb)
252  ac1 = avgco(acid1,ijknb)
253 #endif
254 #ifdef RFLU
255 ! specific Rocflu, check the state of cv first
256  IF (region%mixt%cvState /= cv_mixt_state_cons) &
257  CALL errorstop(global,err_reached_default,__line__)
258  ijk = diri
259  ibeg = 1
260  iend = patch%nBFaces
261 ! TEMPORARY : removing usage of bf2bg from everywhere
262 ! ifgBeg = patch%bf2bg(BF2BG_BEG)
263  ac0 = 0.5_rfreal
264  ac1 = 0.5_rfreal
265 
266  fn => patch%fn
267 ! TEMPORARY
268  grad => patch%mixt%gradFace
269  srate => region%turb%bmISij
270  tauij => region%turb%bfISij
271 
272  DO ic=ibeg,iend
273  ijkcb0 = patch%bf2c(ic)
274  ijkcd = ijkcb0
275  ijknb = ic
276  ijknbg = ic + ifgbeg-1
277 
278  sf(1) = fn(xcoord,ijknb)*fn(xyzmag,ijknb)
279  sf(2) = fn(ycoord,ijknb)*fn(xyzmag,ijknb)
280  sf(3) = fn(zcoord,ijknb)*fn(xyzmag,ijknb)
281  rdens0 = 1._rfreal/cv(cv_mixt_dens,ijkcb0)
282 #endif
283 
284 !pert TURB
285  cpprt = (ac0*gv(gv_mixt_cp,ijkcb0*indcp) + &
286  ac1*gv(gv_mixt_cp,ijkcd*indcp))*rprt
287  muel = ac0*tv(tv_mixt_muel,ijkcb0)+ac1*tv(tv_mixt_muel,ijkcd)
288  tcol = ac0*tv(tv_mixt_tcol,ijkcb0)+ac1*tv(tv_mixt_tcol,ijkcd)
289  tcot = cpprt*muet(ijk,ijknbg)
290 !endpert
291 
292 #ifdef RFLO
293  velcb0(1)= dv(dv_mixt_uvel,ijkcb0)
294  velcb0(2)= dv(dv_mixt_vvel,ijkcb0)
295  velcb0(3)= dv(dv_mixt_wvel,ijkcb0)
296  velf(1)= ac0*dv(dv_mixt_uvel,ijkcb0)+ac1*dv(dv_mixt_uvel,ijkcd)
297  velf(2)= ac0*dv(dv_mixt_vvel,ijkcb0)+ac1*dv(dv_mixt_vvel,ijkcd)
298  velf(3)= ac0*dv(dv_mixt_wvel,ijkcb0)+ac1*dv(dv_mixt_wvel,ijkcd)
299  tx = grad(gr_mixt_tx,ijknb)
300  ty = grad(gr_mixt_ty,ijknb)
301  tz = grad(gr_mixt_tz,ijknb)
302 #endif
303 #ifdef RFLU
304  velcb0(1)= cv(cv_mixt_xmom,ijkcb0)*rdens0
305  velcb0(2)= cv(cv_mixt_ymom,ijkcb0)*rdens0
306  velcb0(3)= cv(cv_mixt_zmom,ijkcb0)*rdens0
307  velf(1) = velcb0(1)
308  velf(2) = velcb0(2)
309  velf(3) = velcb0(3)
310  velf(1:3)= bvalfactor*velf(1:3)
311  tx = grad(xcoord,grbf_mixt_temp,ijknbg)
312  ty = grad(ycoord,grbf_mixt_temp,ijknbg)
313  tz = grad(zcoord,grbf_mixt_temp,ijknbg)
314 #endif
315 
316  tgradf = tx*sf(1)+ty*sf(2)+tz*sf(3)
317 
318  sij(1,1) = srate(e11,ijknbg)
319  sij(1,2) = srate(e12,ijknbg)
320  sij(1,3) = srate(e13,ijknbg)
321 
322  sij(2,1) = sij(1,2)
323  sij(2,2) = srate(e22,ijknbg)
324  sij(2,3) = srate(e23,ijknbg)
325 
326  sij(3,1) = sij(1,3)
327  sij(3,2) = sij(2,3)
328  sij(3,3) = srate(e33,ijknbg)
329 
330  fd(1) = muel*(sij(1,1)*sf(1)+sij(1,2)*sf(2)+sij(1,3)*sf(3))
331  fd(2) = muel*(sij(2,1)*sf(1)+sij(2,2)*sf(2)+sij(2,3)*sf(3))
332  fd(3) = muel*(sij(3,1)*sf(1)+sij(3,2)*sf(2)+sij(3,3)*sf(3))
333  fd(4) = dot_product(fd(1:3),velf(1:3)) + tcol*tgradf
334 !$endcopy
335  tij(1,1) = tauij(e11,ijknbg) - muet(ijk,ijknbg)*sij(1,1)
336  tij(1,2) = tauij(e12,ijknbg) - muet(ijk,ijknbg)*sij(1,2)
337  tij(1,3) = tauij(e13,ijknbg) - muet(ijk,ijknbg)*sij(1,3)
338 
339  tij(2,1) = tauij(e12,ijknbg) - muet(ijk,ijknbg)*sij(2,1)
340  tij(2,2) = tauij(e22,ijknbg) - muet(ijk,ijknbg)*sij(2,2)
341  tij(2,3) = tauij(e23,ijknbg) - muet(ijk,ijknbg)*sij(2,3)
342 
343  tij(3,1) = tauij(e13,ijknbg) - muet(ijk,ijknbg)*sij(3,1)
344  tij(3,2) = tauij(e23,ijknbg) - muet(ijk,ijknbg)*sij(3,2)
345  tij(3,3) = tauij(e33,ijknbg) - muet(ijk,ijknbg)*sij(3,3)
346 
347  taukk = tij(1,1)+tij(2,2)+tij(3,3)
348  taukk = max( 0._rfreal,taukk )
349  trace(ijkcb0) = trace(ijkcb0) + taukk
350 
351  tfd(1) = tij(1,1)*sf(1)+tij(1,2)*sf(2)+tij(1,3)*sf(3)
352  tfd(2) = tij(2,1)*sf(1)+tij(2,2)*sf(2)+tij(2,3)*sf(3)
353  tfd(3) = tij(3,1)*sf(1)+tij(3,2)*sf(2)+tij(3,3)*sf(3)
354  ucitauij = dot_product(tfd(1:3),velcb0(1:3))
355  tfd(4) = ucitauij - tcot*tgradf
356 
357 !$startcopy TURB_visFluxEddyPatch
358  fd(1) = fd(1)-tfd(1)
359  fd(2) = fd(2)-tfd(2)
360  fd(3) = fd(3)-tfd(3)
361  fd(4) = fd(4)-engmodel*tfd(4)
362 
363 #ifdef STATS
364  turb%stwork(1,ijkcb0)=turb%stwork(1,ijkcb0)+ucitauij ! alp_1
365  turb%stwork(2,ijkcb0)=turb%stwork(2,ijkcb0)+tcot*tgradf ! alp_2+alp_3
366 #endif
367  diss(cv_mixt_xmom,ijkcb0) = diss(cv_mixt_xmom,ijkcb0)+fd(1)*beta
368  diss(cv_mixt_ymom,ijkcb0) = diss(cv_mixt_ymom,ijkcb0)+fd(2)*beta
369  diss(cv_mixt_zmom,ijkcb0) = diss(cv_mixt_zmom,ijkcb0)+fd(3)*beta
370  diss(cv_mixt_ener,ijkcb0) = diss(cv_mixt_ener,ijkcb0)+fd(4)*beta
371  global%esg1Sum = global%esg1Sum + vol(ijkcb0)*ucitauij
372 
373 ! ------- Set friction and heat-transfer coefficients
374 
375 #ifdef RFLO
376  IF (lbound==1 .OR. lbound==2) THEN
377  n1 = j - jbeg
378  n2 = k - kbeg
379  ELSE IF (lbound==3 .OR. lbound==4) THEN
380  n1 = k - kbeg
381  n2 = i - ibeg
382  ELSE IF (lbound==5 .OR. lbound==6) THEN
383  n1 = i - ibeg
384  n2 = j - jbeg
385  ENDIF
386  j2d = aerocoeff * indij(n1,n2,noff)
387  patch%cf(xcoord,j2d) = rcfref*fd(1)
388  patch%cf(ycoord,j2d) = rcfref*fd(2)
389  patch%cf(zcoord,j2d) = rcfref*fd(3)
390  patch%ch( j2d) = rchref*fd(4)
391 
392  ENDDO ! i
393  ENDDO ! j
394  ENDDO ! k
395  ENDIF ! bcType
396 #endif
397 #ifdef RFLU
398  patch%cf(xcoord,ic) = rcfref*fd(1)
399  patch%cf(ycoord,ic) = rcfref*fd(2)
400  patch%cf(zcoord,ic) = rcfref*fd(3)
401  patch%ch( ic) = rchref*fd(4)
402  ENDDO ! iC
403 #endif
404 
405 ! finalize --------------------------------------------------------------------
406 
407  CALL deregisterfunction( global )
408 !$endcopy
409 END SUBROUTINE turb_vfluxhybridpatch
410 
411 !******************************************************************************
412 !
413 ! RCS Revision history:
414 !
415 ! $Log: TURB_VFluxHybridPatch.F90,v $
416 ! Revision 1.14 2008/12/06 08:44:42 mtcampbe
417 ! Updated license.
418 !
419 ! Revision 1.13 2008/11/19 22:17:54 mtcampbe
420 ! Added Illinois Open Source License/Copyright
421 !
422 ! Revision 1.12 2006/08/19 15:40:39 mparmar
423 ! Removed bf2bg, used GRBF_ and moved region%mixt%bGradFace to patch%mixt%gradFace
424 !
425 ! Revision 1.11 2006/03/13 03:44:28 wasistho
426 ! defined aero coeffs
427 !
428 ! Revision 1.10 2004/10/22 23:20:44 wasistho
429 ! collect esg1 and esg2+3 into statistics
430 !
431 ! Revision 1.9 2004/08/04 22:07:07 wasistho
432 ! bugfixed: ac0 and ac1 are common to flo and flu
433 !
434 ! Revision 1.8 2004/08/02 21:06:24 wasistho
435 ! moved averaging coeff local variables to within ifdef RFLO
436 !
437 ! Revision 1.7 2004/08/02 19:34:02 wasistho
438 ! changed grid%avgCo to grid%c2fCo
439 !
440 ! Revision 1.6 2004/07/31 00:53:52 wasistho
441 ! replaced cell2face midpoint by linear averaging
442 !
443 ! Revision 1.5 2004/05/29 03:38:41 wasistho
444 ! extended computations of muet to first dummy layers
445 !
446 ! Revision 1.4 2004/03/27 02:16:42 wasistho
447 ! compiled with Rocflu
448 !
449 ! Revision 1.3 2004/03/25 04:40:41 wasistho
450 ! prepared for RFLU
451 !
452 ! Revision 1.2 2004/03/24 03:37:03 wasistho
453 ! prepared for RFLU
454 !
455 ! Revision 1.1 2004/03/05 04:37:00 wasistho
456 ! changed nomenclature
457 !
458 ! Revision 1.6 2004/02/26 21:22:36 wasistho
459 ! changed turb%esg.. to global%esg..
460 !
461 ! Revision 1.5 2004/01/21 03:42:29 wasistho
462 ! get rid of grad(T)*n = 0 for adiabatic wall
463 !
464 ! Revision 1.4 2003/08/29 01:43:04 wasistho
465 ! Added TARGET attribute to region variable, since pointers are cached into it
466 !
467 ! Revision 1.3 2003/06/05 19:20:51 wasistho
468 ! adiabatic switch
469 !
470 ! Revision 1.2 2003/05/15 02:57:06 jblazek
471 ! Inlined index function.
472 !
473 ! Revision 1.1 2002/10/14 23:55:30 wasistho
474 ! Install Rocturb
475 !
476 !******************************************************************************
477 
478 
479 
480 
481 
482 
483 
**********************************************************************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 rflo_getpatchdirection(patch, idir, jdir, kdir)
**********************************************************************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 inode
j indices k indices k
Definition: Indexing.h:6
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
Definition: Vector_n.h:354
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
**********************************************************************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_getpatchindices(region, patch, iLev, ibeg, iend, jbeg, jend, kbeg, kend)
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 jdir
Definition: patch.h:74
**********************************************************************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
blockLoc i
Definition: read.cpp:79
**********************************************************************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 idir
subroutine rflo_getcelloffset(region, iLev, iCellOffset, ijCellOffset)
Tfloat trace() const
Return the trace of the image, viewed as a matrix.
Definition: CImg.h:13217
j indices j
Definition: Indexing.h:6
subroutine turb_vfluxhybridpatch(region, patch)
**********************************************************************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 kdir
subroutine errorstop(global, errorCode, errorLine, addMessage)
Definition: ModError.F90:483
**********************************************************************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
long double dot_product(pnt vec1, pnt vec2)
**********************************************************************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)
Definition: ModError.F90:469
**********************************************************************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 jnode