From 0d4b7cbab139a4d5b9f795e9db6addaeed28f39a Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 28 Feb 2017 20:08:38 +0000 Subject: [PATCH] PBiCGStab: Instantiate for symmetric and asymmetric matrices PBiCGStab has proved more reliable than PCG for solving the pressure equation in compressible systems. --- .../matrices/lduMatrix/solvers/PBiCGStab/PBiCGStab.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCGStab/PBiCGStab.C b/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCGStab/PBiCGStab.C index f73bf0fbb..8fbbb57f2 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCGStab/PBiCGStab.C +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCGStab/PBiCGStab.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -31,6 +31,9 @@ namespace Foam { defineTypeNameAndDebug(PBiCGStab, 0); + lduMatrix::solver::addsymMatrixConstructorToTable + addPBiCGStabSymMatrixConstructorToTable_; + lduMatrix::solver::addasymMatrixConstructorToTable addPBiCGStabAsymMatrixConstructorToTable_; }