multiphaseEuler::cellPressureCorrector: Removed redundant code

This commit is contained in:
Henry Weller
2024-04-15 09:50:27 +01:00
parent dfb816c511
commit 95cb22b8bf

View File

@ -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<PtrList<surfaceScalarField>> invADVfs;
{
PtrList<volScalarField> As(movingPhases.size());
PtrList<surfaceScalarField> 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