From 3580bc48f89396752e55293a5b81086d5a523ab5 Mon Sep 17 00:00:00 2001 From: cgilet Date: Tue, 3 Dec 2024 11:12:19 +0100 Subject: [PATCH] Fix BC for cc_proj --- src/projection/incflo_projection_bc.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/projection/incflo_projection_bc.cpp b/src/projection/incflo_projection_bc.cpp index c5264220..a3b2b87d 100644 --- a/src/projection/incflo_projection_bc.cpp +++ b/src/projection/incflo_projection_bc.cpp @@ -23,7 +23,11 @@ incflo::get_projection_bc (Orientation::Side side) const noexcept case BC::direction_dependent: case BC::mixed: { - r[dir] = LinOpBCType::inflow; + if ( m_use_cc_proj ) { + r[dir] = LinOpBCType::Neumann; + } else { + r[dir] = LinOpBCType::inflow; + } break; } case BC::slip_wall: