From 427307c1905922baddfd71d1acc57428ca90b294 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 18 Jan 2022 16:07:12 +0000 Subject: [PATCH] chemistryTabulationMethod::add: Removed redundant rho argument --- .../chemistryModel/chemistryModel/tabulation/ISAT/ISAT.C | 4 +--- .../chemistryModel/chemistryModel/tabulation/ISAT/ISAT.H | 2 -- .../chemistryTabulationMethod/chemistryTabulationMethod.H | 3 +-- .../tabulation/noChemistryTabulation/noChemistryTabulation.H | 3 +-- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/ISAT/ISAT.C b/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/ISAT/ISAT.C index a0e5b9074c..460506337a 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/ISAT/ISAT.C +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/ISAT/ISAT.C @@ -347,7 +347,6 @@ void Foam::chemistryTabulationMethods::ISAT::computeA scalarSquareMatrix& A, const scalarField& Rphiq, const label li, - const scalar rhoi, const scalar dt ) { @@ -492,7 +491,6 @@ Foam::label Foam::chemistryTabulationMethods::ISAT::add const scalarField& phiq, const scalarField& Rphiq, const label li, - const scalar rho, const scalar deltaT ) { @@ -584,7 +582,7 @@ Foam::label Foam::chemistryTabulationMethods::ISAT::add // Compute the A matrix needed to store the chemPoint. const label ASize = chemistry_.nEqns() + 1; scalarSquareMatrix A(ASize, Zero); - computeA(A, Rphiq, li, rho, deltaT); + computeA(A, Rphiq, li, deltaT); chemisTree().insertNewLeaf ( diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/ISAT/ISAT.H b/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/ISAT/ISAT.H index 39de603239..61b048bad6 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/ISAT/ISAT.H +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/ISAT/ISAT.H @@ -197,7 +197,6 @@ class ISAT scalarSquareMatrix& A, const scalarField& Rphiq, const label li, - const scalar rho, const scalar dt ); @@ -273,7 +272,6 @@ public: const scalarField& phiq, const scalarField& Rphiq, const label li, - const scalar rho, const scalar deltaT ); diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/chemistryTabulationMethod/chemistryTabulationMethod.H b/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/chemistryTabulationMethod/chemistryTabulationMethod.H index bcea0c4bb6..a942fedf1d 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/chemistryTabulationMethod/chemistryTabulationMethod.H +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/chemistryTabulationMethod/chemistryTabulationMethod.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -124,7 +124,6 @@ public: const scalarField& phiQ, const scalarField& RphiQ, const label li, - const scalar rho, const scalar deltaT ) = 0; diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/noChemistryTabulation/noChemistryTabulation.H b/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/noChemistryTabulation/noChemistryTabulation.H index 5320a28563..93cb9737d8 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/noChemistryTabulation/noChemistryTabulation.H +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/tabulation/noChemistryTabulation/noChemistryTabulation.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -104,7 +104,6 @@ public: const scalarField& phiq, const scalarField& Rphiq, const label li, - const scalar rho, const scalar deltaT ) {