Skip to content

Commit

Permalink
fixes for direction_dependent plus inputs file in test_no_eb_2d
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Aug 29, 2024
1 parent d449292 commit e33baa0
Show file tree
Hide file tree
Showing 5 changed files with 220 additions and 160 deletions.
2 changes: 1 addition & 1 deletion src/boundary_conditions/boundary_conditions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void incflo::init_bcs ()
pp.query("density", m_bc_density[ori]);
pp.queryarr("tracer", m_bc_tracer[ori], 0, m_ntrac);
}
else if (bc_type == "direction_dependent")
else if (bc_type == "direction_dependent" || bc_type == "dd" )
{
amrex::Print() << bcid << " set to direction-dependent.\n";

Expand Down
3 changes: 3 additions & 0 deletions src/diffusion/incflo_diffusion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ incflo::get_diffuse_tensor_bc (Orientation::Side side) const noexcept
break;
}
case BC::mass_inflow:
case BC::direction_dependent:
case BC::no_slip_wall:
{
// All three components are Dirichlet
Expand Down Expand Up @@ -174,6 +175,7 @@ incflo::get_diffuse_velocity_bc (Orientation::Side side, int comp) const noexcep
break;
}
case BC::mass_inflow:
case BC::direction_dependent:
case BC::no_slip_wall:
{
// All three components are Dirichlet
Expand Down Expand Up @@ -239,6 +241,7 @@ incflo::get_diffuse_scalar_bc (Orientation::Side side) const noexcept
break;
}
case BC::mass_inflow:
case BC::direction_dependent:
{
r[dir] = LinOpBCType::Dirichlet;
break;
Expand Down
Loading

0 comments on commit e33baa0

Please sign in to comment.