From 95cb22b8bfb414e80eb099f6669cc9921b589861 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Mon, 15 Apr 2024 09:50:27 +0100 Subject: [PATCH] multiphaseEuler::cellPressureCorrector: Removed redundant code --- .../modules/multiphaseEuler/cellPressureCorrector.C | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/applications/modules/multiphaseEuler/cellPressureCorrector.C b/applications/modules/multiphaseEuler/cellPressureCorrector.C index af57dabaf5..09dda630b0 100644 --- a/applications/modules/multiphaseEuler/cellPressureCorrector.C +++ b/applications/modules/multiphaseEuler/cellPressureCorrector.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2022-2023 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2022-2024 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -73,7 +73,6 @@ void Foam::solvers::multiphaseEuler::cellPressureCorrector() PtrList> invADVfs; { PtrList As(movingPhases.size()); - PtrList Afs(movingPhases.size()); forAll(movingPhases, movingPhasei) { const phaseModel& phase = movingPhases[movingPhasei]; @@ -90,12 +89,6 @@ void Foam::solvers::multiphaseEuler::cellPressureCorrector() ) ); - Afs.set - ( - movingPhasei, - fvc::interpolate(As[movingPhasei]) - ); - if (fluid.implicitPhasePressure()) { rAs.set