From 8701c57ecbbbead926f138a6b689e559e1deb26d Mon Sep 17 00:00:00 2001 From: Andrew Heather <a.heather@opencfd.co.uk> Date: Fri, 23 Dec 2016 09:09:30 +0000 Subject: [PATCH] BUG: Removed call to topoChanging(false) in interDyMFoam and compressibleInterDyMFoam - see #363 and 03db8627 --- .../compressibleInterDyMFoam/compressibleInterDyMFoam.C | 2 -- .../solvers/multiphase/interFoam/interDyMFoam/interDyMFoam.C | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/compressibleInterDyMFoam.C b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/compressibleInterDyMFoam.C index b4259a00be9..e30881ac436 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/compressibleInterDyMFoam.C +++ b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/compressibleInterDyMFoam.C @@ -123,8 +123,6 @@ int main(int argc, char *argv[]) // Make the fluxes relative to the mesh motion fvc::makeRelative(phi, U); - - mesh.topoChanging(false); } } diff --git a/applications/solvers/multiphase/interFoam/interDyMFoam/interDyMFoam.C b/applications/solvers/multiphase/interFoam/interDyMFoam/interDyMFoam.C index bf7f7ec1b4f..36636979761 100644 --- a/applications/solvers/multiphase/interFoam/interDyMFoam/interDyMFoam.C +++ b/applications/solvers/multiphase/interFoam/interDyMFoam/interDyMFoam.C @@ -135,7 +135,7 @@ int main(int argc, char *argv[]) if ((mesh.changing() && correctPhi) || mesh.topoChanging()) { // Calculate absolute flux from the mapped surface velocity - // SAF: temporary fix until mapped Uf is assessed + // Note: temporary fix until mapped Uf is assessed Uf = fvc::interpolate(U); phi = mesh.Sf() & Uf; @@ -146,8 +146,6 @@ int main(int argc, char *argv[]) fvc::makeRelative(phi, U); mixture.correct(); - - mesh.topoChanging(false); } if (mesh.changing() && checkMeshCourantNo) -- GitLab