From ac4e963292776623cfe65e6213e8a4b66bbf5bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20He=C3=9F?= <rene.hess@iwr.uni-heidelberg.de> Date: Wed, 8 Nov 2017 09:57:41 +0100 Subject: [PATCH] Add documentation --- test/navier-stokes/howto/taylor-green.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/navier-stokes/howto/taylor-green.cc b/test/navier-stokes/howto/taylor-green.cc index d88bf544..218947d3 100644 --- a/test/navier-stokes/howto/taylor-green.cc +++ b/test/navier-stokes/howto/taylor-green.cc @@ -254,9 +254,9 @@ void taylor_green (const GV& gv, const Dune::ParameterTree& configuration, std:: while (time < time_end - dt_min*0.5){ osm.apply(time,dt,xold,x); - // Correct pressure after each step. Implementation not suited for - // parallel computations so it's turned off for periodic boundary - // conditions. + // Correct pressure after each step. Without this pressure + // correction the velocity will be ok but the pressure will be + // shifted by a constant. Dune::PDELab::integrateGridFunction(pdgf,pressure_integral,2); pressure_integral = gv.comm().sum(pressure_integral); std::cout << gv.comm().rank() << " palpo pressure_integral before: " << pressure_integral << std::endl; -- GitLab