flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_vof_momentum_scheme_names Namespace Reference

Functions

 main ()

Variables

tuple NAMES = ("upwind", "muscl_mixed", "muscl_mixed_capped", "muscl_phase")

Detailed Description

Gate: diagnostics.set_vof_momentum_scheme(name) / vof_momentum_scheme() (flow
doc/vof_momentum_second_order.md §7, WO-2).

Checks, on a solver with enable_vof_momentum (no step is taken):
  1. the default is 'muscl_phase' (since 2026-10-31; note §12);
  2. every name ('upwind', 'muscl_mixed', 'muscl_mixed_capped', 'muscl_phase') round-trips through
     the getter;
  3. an unknown name raises ValueError and leaves the selection unchanged;
  4. the former spelling set_vof_momentum_muscl(True / False) selects 'muscl_mixed' / 'upwind';
  5. vof_momentum_diagnostics() carries 'capped'.

Run:  OMP_NUM_THREADS=4 OMP_PROC_BIND=false PYTHONPATH=<build> \
          python tests/python/test_vof_momentum_scheme_names.py
Exit 0 pass, 1 fail, 77 skipped (no module).

Function Documentation

◆ main()

test_vof_momentum_scheme_names.main ( )

Definition at line 24 of file test_vof_momentum_scheme_names.py.

References main().

Referenced by main().

Variable Documentation

◆ NAMES

tuple test_vof_momentum_scheme_names.NAMES = ("upwind", "muscl_mixed", "muscl_mixed_capped", "muscl_phase")

Definition at line 21 of file test_vof_momentum_scheme_names.py.