Skip to content

Commit f882347

Browse files
Hyeoksu LeeHyeoksu Lee
authored andcommitted
update bubble case validation
1 parent 570e53c commit f882347

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toolchain/mfc/case_validator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ def check_stiffened_eos(self):
369369
if num_fluids is None:
370370
return
371371

372-
# Allow one extra fluid property slot when using bubbles_euler with single-component flows
373-
bub_fac = 1 if (bubbles_euler and num_fluids == 1) else 0
372+
# Allow one extra fluid property slot when using bubbles_euler
373+
bub_fac = 1 if (bubbles_euler) else 0
374374

375375
for i in range(1, num_fluids + 1 + bub_fac):
376376
gamma = self.get(f'fluid_pp({i})%gamma')

0 commit comments

Comments
 (0)