Skip to content

Commit

Permalink
use same logic for slip wall as for no-slip wall wrt rho_read
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Jan 10, 2025
1 parent c383faf commit 5b6b4a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Initialization/ERF_InitBCs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ void ERF::init_bcs ()
domain_bc_type[ori] = "SlipWall";

Real rho_in;
if (pp.query("density", rho_in))
rho_read = pp.query("density", rho_in);
if (rho_read)
{
m_bc_extdir_vals[BCVars::Rho_bc_comp][ori] = rho_in;
}
Expand Down

0 comments on commit 5b6b4a2

Please sign in to comment.