Local variables to be added
integer          ifac, ii
integer          izone
integer          iclafu
integer          ilelt, nlelt
 
double precision uref2, d2s3
double precision xkent, xeent
 
integer, allocatable, dimension(:) :: lstelt
Initialization and finalization
Initialization and finalization is similar to that of the base examples
Example 1
The 12 color is a pure air inlet
call getfbr(
'12', nlelt, lstelt)
 
 
do ilelt = 1, nlelt
 
  ifac = lstelt(ilelt)
 
  itypfb(ifac) = ientre
 
  izone = 1
 
  izfppp(ifac) = izone
 
 
  ientat(izone) = 1
  iqimp(izone)  = 1
  inmoxy(izone) = 1
  qimpat(izone) = 1.46d-03
  timpat(izone) = 400.d0 + tkelvi
  qimpfl(izone) = 0.d0
 
  rcodcl(ifac,iu,1) = 0.d0
  rcodcl(ifac,iv,1) = 0.d0
  rcodcl(ifac,iw,1) = 5.d0
 
  icalke(izone) = 1
 
  if (icalke(izone).eq.0) then
 
    uref2 = rcodcl(ifac,iu,1)**2                           &
           +rcodcl(ifac,iv,1)**2                           &
           +rcodcl(ifac,iw,1)**2
    uref2 = max(uref2,1.d-12)
    xkent  = epzero
    xeent  = epzero
 
    if    (itytur.eq.2) then
 
      rcodcl(ifac,ik,1)  = xkent
      rcodcl(ifac,iep,1) = xeent
 
    elseif(itytur.eq.3) then
 
      rcodcl(ifac,ir11,1) = d2s3*xkent
      rcodcl(ifac,ir22,1) = d2s3*xkent
      rcodcl(ifac,ir33,1) = d2s3*xkent
      rcodcl(ifac,ir12,1) = 0.d0
      rcodcl(ifac,ir13,1) = 0.d0
      rcodcl(ifac,ir23,1) = 0.d0
      rcodcl(ifac,iep,1)  = xeent
 
    elseif (iturb.eq.50) then
 
      rcodcl(ifac,ik,1)   = xkent
      rcodcl(ifac,iep,1)  = xeent
      rcodcl(ifac,iphi,1) = d2s3
      rcodcl(ifac,ifb,1)  = 0.d0
 
    elseif (iturb.eq.60) then
 
      rcodcl(ifac,ik,1)   = xkent
      rcodcl(ifac,iomg,1) = xeent/cmu/xkent
 
    endif
 
  endif
  dh(izone)     = 0.032d0
  xintur(izone) = 0.d0
 
 
  if ( (nscal-nscapp).gt.0 ) then
    do ii = 1, (nscal-nscapp)
      rcodcl(ifac,isca(ii),1) = 1.d0
    enddo
  endif
 
enddo
Example 2
Inlet of both primary Air and Fuel
call getfbr(
'11', nlelt, lstelt)
 
 
do ilelt = 1, nlelt
 
  ifac = lstelt(ilelt)
 
  itypfb(ifac) = ientre
 
  izone = 2
 
  izfppp(ifac) = izone
 
 
  ientfl(izone) = 1
  iqimp(izone)  = 1
  inmoxy(izone) = 1
  qimpat(izone) = 1.46d-03
  timpat(izone) = 800.d0  + tkelvi
 
  qimpfl(izone) = 1.46d-04/360.d0
 
  iclafu = 1
  distfu(izone,iclafu) = 100.d0
 
  timpfl(izone) = 100.d0  + tkelvi
 
 
  rcodcl(ifac,iu,1) = 0.d0
  rcodcl(ifac,iv,1) = 0.d0
  rcodcl(ifac,iw,1) = 5.d0
 
  icalke(izone) = 1
 
  if(icalke(izone).eq.0) then
 
    uref2 = rcodcl(ifac,iu,1)**2                           &
           +rcodcl(ifac,iv,1)**2                           &
           +rcodcl(ifac,iw,1)**2
    uref2 = max(uref2,1.d-12)
    xkent  = epzero
    xeent  = epzero
 
    if    (itytur.eq.2) then
 
      rcodcl(ifac,ik,1)  = xkent
      rcodcl(ifac,iep,1) = xeent
 
    elseif(itytur.eq.3) then
 
      rcodcl(ifac,ir11,1) = d2s3*xkent
      rcodcl(ifac,ir22,1) = d2s3*xkent
      rcodcl(ifac,ir33,1) = d2s3*xkent
      rcodcl(ifac,ir12,1) = 0.d0
      rcodcl(ifac,ir13,1) = 0.d0
      rcodcl(ifac,ir23,1) = 0.d0
      rcodcl(ifac,iep,1)  = xeent
 
    elseif (iturb.eq.50) then
 
      rcodcl(ifac,ik,1)   = xkent
      rcodcl(ifac,iep,1)  = xeent
      rcodcl(ifac,iphi,1) = d2s3
      rcodcl(ifac,ifb,1)  = 0.d0
 
    elseif (iturb.eq.60) then
 
      rcodcl(ifac,ik,1)   = xkent
      rcodcl(ifac,iomg,1) = xeent/cmu/xkent
 
    endif
 
  endif
  dh(izone)     = 0.032d0
  xintur(izone) = 0.d0
enddo
Example 3
Color 15 is a wall
call getfbr(
'15', nlelt, lstelt)
 
 
do ilelt = 1, nlelt
 
  ifac = lstelt(ilelt)
 
 
  itypfb(ifac)   = iparoi
 
 
  izone = 3
 
  izfppp(ifac) = izone
 
enddo
Example 4
Color 19 is an outlet
call getfbr(
'19', nlelt, lstelt)
 
 
do ilelt = 1, nlelt
 
  ifac = lstelt(ilelt)
 
 
    itypfb(ifac)   = isolib
 
    izone = 4
 
    izfppp(ifac) = izone
 
  enddo
Example 5
14 and 4 are symmetry
call getfbr(
'14 or 4', nlelt, lstelt)
 
 
do ilelt = 1, nlelt
 
  ifac = lstelt(ilelt)
 
 
  itypfb(ifac)   = isymet
 
  izone = 5
 
  izfppp(ifac) = izone
 
enddo