diff --git a/src/finiteVolume/finiteVolume/laplacianSchemes/noLaplacianScheme/noLaplacianScheme.C b/src/finiteVolume/finiteVolume/laplacianSchemes/noLaplacianScheme/noLaplacianScheme.C index 5db8d0367..009740f08 100644 --- a/src/finiteVolume/finiteVolume/laplacianSchemes/noLaplacianScheme/noLaplacianScheme.C +++ b/src/finiteVolume/finiteVolume/laplacianSchemes/noLaplacianScheme/noLaplacianScheme.C @@ -21,7 +21,7 @@ License You should have received a copy of the GNU General Public License along with OpenFOAM; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - + \*---------------------------------------------------------------------------*/ #include "noLaplacianScheme.H" @@ -95,6 +95,9 @@ noLaplacianScheme::fvmLaplacian ) ); + // Create dummy diagonal + tfvm().diag() = 0; + return tfvm; }