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

Functions

 dump (out)

Variables

 TAU_RULE
int N = 16
list CASES

Detailed Description

WO-2 reference dump (doc/vof_sharp_viscous_stress.md §10 WO-2): the 2-D harness values the 3-D
extrusion test (`tests/kokkos/test_sharp_viscous.cpp`) must reproduce to 1e-12.

The oracle is mac2d with the production configuration and the §5.7 rule: scheme 'sharp',
SHARP_BASE 'facef', FCORR 'fit', TAU_RULE 'mixed-avg'. Per case the file lists the plane, the mixed
cells (C, both midsection fractions, the fitted tau and D_nn evaluated on the exact face averages,
whether mac2d fitted the cell, i.e. it is in-domain), every node with a mixed cell among its four (the two face
fractions and the two link fractions), and the exact face-averaged velocities within 3 cells of a
mixed cell.

  python wo2_reference.py ../../kokkos/sharp_viscous_mac2d.txt

Function Documentation

◆ dump()

wo2_reference.dump ( out)

Definition at line 26 of file wo2_reference.py.

References dump().

Referenced by dump().

Variable Documentation

◆ TAU_RULE

wo2_reference.TAU_RULE

Definition at line 19 of file wo2_reference.py.

◆ N

int wo2_reference.N = 16

Definition at line 21 of file wo2_reference.py.

◆ CASES

list wo2_reference.CASES
Initial value:
1= [(kind, ang, off, ratio) for kind in ("poiseuille", "general") for ang in (11.25, 22.5, 33.75)
2 for off, ratio in ((0.37, 0.01), (0.37, 1000.0))] + [("poiseuille", 45.0, 0.0, 0.01)]

Definition at line 22 of file wo2_reference.py.