Skip to content

Commit

Permalink
Fix BC for cc_proj
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilet committed Dec 3, 2024
1 parent 0214421 commit 3580bc4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/projection/incflo_projection_bc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3580bc4

Please sign in to comment.