From 86e593b58e5b476fe04287b476c233d7813770c0 Mon Sep 17 00:00:00 2001
From: sergio <sergio>
Date: Tue, 25 Sep 2018 12:48:04 -0700
Subject: [PATCH] BUG: Fix ticket 792. pRefCelli is set to -1 for
 chtMultiRegionSimpleFoam

---
 .../chtMultiRegionSimpleFoam/fluid/createFluidFields.H          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionSimpleFoam/fluid/createFluidFields.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionSimpleFoam/fluid/createFluidFields.H
index c46ac5021b2..d811d4be866 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionSimpleFoam/fluid/createFluidFields.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionSimpleFoam/fluid/createFluidFields.H
@@ -12,7 +12,7 @@ PtrList<volScalarField> p_rghFluid(fluidRegions.size());
 PtrList<radiation::radiationModel> radiation(fluidRegions.size());
 
 List<scalar> initialMassFluid(fluidRegions.size());
-List<label> pRefCellFluid(fluidRegions.size(), 0);
+List<label> pRefCellFluid(fluidRegions.size(), -1);
 List<scalar> pRefValueFluid(fluidRegions.size(), 0.0);
 List<bool> frozenFlowFluid(fluidRegions.size(), false);
 
-- 
GitLab