Skip to content

Commit

Permalink
Add throw for 2 fluids with tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
oguevremont committed Jul 11, 2024
1 parent a6ff96e commit 15b498e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/solvers/tracer_scratch_data.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ TracerScratchData<dim>::calculate_physical_properties()
}
case 2:
{
throw std::runtime_error(
"Unsupported number of fluids (2) with the tracer physics.");
// In this case, we need both density and viscosity
const auto diffusivity_models =
properties_manager.get_tracer_diffusivity_vector();
Expand Down

0 comments on commit 15b498e

Please sign in to comment.