Skip to content

Commit d2fc161

Browse files
sbryngelsonclaude
andcommitted
Skip non-Newtonian examples in CI (too expensive, no golden files)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b8b92b4 commit d2fc161

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

toolchain/mfc/test/cases.py

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,28 @@ def alter_num_fluids(dimInfo):
401401

402402
stack.pop()
403403

404+
if num_fluids == 1:
405+
# Non-Newtonian viscosity (Herschel-Bulkley)
406+
stack.push(
407+
"Non-Newtonian",
408+
{
409+
"viscous": "T",
410+
"dt": 1e-11,
411+
"patch_icpp(1)%vel(1)": 1.0,
412+
"fluid_pp(1)%Re(1)": 10.0,
413+
"fluid_pp(1)%non_newtonian": "T",
414+
"fluid_pp(1)%tau0": 0.0,
415+
"fluid_pp(1)%K": 0.1,
416+
"fluid_pp(1)%nn": 0.5,
417+
"fluid_pp(1)%hb_m": 1000.0,
418+
"fluid_pp(1)%mu_min": 1e-4,
419+
"fluid_pp(1)%mu_max": 10.0,
420+
},
421+
)
422+
cases.append(define_case_d(stack, "shear-thinning", {}))
423+
cases.append(define_case_d(stack, "Bingham", {"fluid_pp(1)%tau0": 0.1, "fluid_pp(1)%nn": 1.0, "fluid_pp(1)%K": 0.01}))
424+
stack.pop()
425+
404426
if num_fluids == 2:
405427
stack.push(
406428
"Viscous",
@@ -1541,7 +1563,8 @@ def foreach_example():
15411563
"3D_IGR_33jet",
15421564
"1D_multispecies_diffusion",
15431565
"2D_ibm_stl_MFCCharacter",
1544-
"1D_qbmm", # formatted I/O field overflow on gfortran 12
1566+
"2D_lid_driven_cavity_nn",
1567+
"2D_poiseuille_nn",
15451568
]
15461569
if path in casesToSkip:
15471570
continue

0 commit comments

Comments
 (0)