|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
flow — the POINTWISE formulas of the collocated variable-density ABC pair (doc/collocated_varrho_forces.md §4.1, §4.9 L5). More...
#include <Kokkos_Core.hpp>Go to the source code of this file.
Namespaces | |
| namespace | peclet |
| namespace | peclet::flow |
| namespace | peclet::flow::varrho |
Functions | |
| double | peclet::flow::varrho::faceMassWeighted (double uL, double uR, double rL, double rR) |
| double | peclet::flow::varrho::cellFromFaces (double aLo, double aHi, double oLo, double oHi) |
| double | peclet::flow::varrho::weightSum (double oLo, double oHi) |
flow — the POINTWISE formulas of the collocated variable-density ABC pair (doc/collocated_varrho_forces.md §4.1, §4.9 L5).
Container-free on purpose: no Views, no solver state, KOKKOS_INLINE_FUNCTION only. They are the three places where the collocated variable-density scheme's WEIGHTS live, so that promoting them to peclet::core::scheme (for amr's multiphase package, §13 / Q10) is a file move, and so that a change of reconstruction weights (the ghost scheme's one-sided pair, amr's coarse-fine weights) changes these functions and nothing else.
The pair they define (face j of component c separates cells j - s and j):
L1: openness is a multiplicative WEIGHT, never a predicate. With o in {0, 1} (this package: all-fluid, domain walls) it is bitwise what a predicate gives; with fractional apertures it is the aperture-adjoint pair. cellFromFaces and weightSum must always be called with the SAME two openness reads.
Definition in file collocated_varrho_point.hpp.