Skip to content

Commit bb0090e

Browse files
committed
fix: guard HLL/HLLC hypoelasticity to exactly 2 fluids (blkmod uses fluid_pp(1:2))
1 parent b2197ac commit bb0090e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/simulation/m_checker.fpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ contains
138138
& "HLLD hypoelasticity requires at least 2D (n must be > 0)")
139139
@:PROHIBIT(hypoelasticity .and. riemann_solver == 4 .and. num_fluids /= 2, &
140140
& "HLLD hypoelasticity currently requires exactly 2 fluid components")
141+
@:PROHIBIT(hypoelasticity .and. (riemann_solver == 1 .or. riemann_solver == 2) .and. num_fluids /= 2, &
142+
& "HLL/HLLC hypoelasticity currently requires exactly 2 fluid components (blkmod uses fluid_pp(1:2) only)")
141143
@:PROHIBIT(hypoelasticity .and. riemann_solver == 4 .and. viscous, &
142144
& "HLLD hypoelasticity does not support viscous effects (the dual-pass omits the viscous source term)")
143145
@:PROHIBIT(hypoelasticity .and. riemann_solver == 4 .and. surface_tension, &

0 commit comments

Comments
 (0)