Unable to output heat flux for rear wall stl region in MFIX-DEM

You have stl files but did not assign any BC to them so the cartesian grid cut cell is turned off (see output message). The side effect is DEBUG_CG is not allocated. You can allocate is manually:

      ALLOCATE(DES_QwFlux_Avg(DIMENSION_3, DIMENSION_M))

      if(.not.allocated(DEBUG_CG)) allocate(DEBUG_CG(DIMENSION_3,15))

      ! Zero arrays
      DES_QwFlux_Avg(:,:)=ZERO
      QW_SAMPLE_TIME = ZERO
      DEBUG_CG = ZERO