53 TYPE(t_region
) :: region
56 INTEGER :: in, ipatch, ifl
59 CHARACTER(CHRLEN) :: rcsidentstring
63 INTEGER :: ijkc0, ijkc1, ifg, ifgbeg
64 INTEGER,
POINTER :: f2c(:,:)
65 REAL(RFREAL),
POINTER :: fvol(:), bfvol(:), vol(:)
69 rcsidentstring =
'$RCSfile: TURB_fluFaceVolume.F90,v $ $Revision: 1.6 $'
71 global => region%global
73 'TURB_fluFaceVolume.F90' )
77 f2c => region%grid%f2c
78 vol => region%grid%vol
79 fvol => region%turb%fvolI
80 bfvol => region%turb%bfVolI
84 DO in = 1,region%grid%nFaces
88 fvol(in) = 0.5_rfreal*(vol(ijkc1)+vol(ijkc0))
91 DO ipatch = 1,region%grid%nPatches
92 patch => region%patches(ipatch)
96 DO ifl = 1,
patch%nBFaces
97 ijkc0 =
patch%bf2c(ifl)
99 bfvol(ifg) = vol(ijkc0)
subroutine registerfunction(global, funName, fileName)
subroutine deregisterfunction(global)
subroutine turb_flufacevolume(region)