Responsibility | Location under solvers/IncNavierStokesSolverRedesign |
Public paired interface | BoundaryConditions/HOutflowBndCond/HOutflowBndCondOp. hpp |
Portable kernels | BoundaryConditions/HOutflowBndCond/ HOutflowBndCondKernels.hpp |
Setup, maps and workflow | BoundaryConditions/HOutflowBndCond/ HOutflowBndCondOpImpl.hpp |
Factory registration |
|
Pressure/velocity call order | EquationSystems/VelocityCorrectionScheme.cpp |
Host formula reference | UnitTests/TestHOutflowBndCond.cpp |
Manufactured regressions | Tests/HOutflowKovasznay2D.tst and Tests/HOutflowBackflow2D.tst |
When modifying the workflow, preserve these invariants:
UpdatePressure precedes the Poisson solve, and the velocity solve, whose
Neumann adapter computes the velocity flux, follows it.
The kinematic viscosity is set with SetKinvis immediately before UpdatePressure
and again, with the pressure set by SetPressure, immediately before the velocity
solve; the time is set with SetTime and the scale with SetScale immediately before
UpdatePressure: the operator is shared with the pressure solve.
The same scaled u* is used in S0, E, the normal derivative, and the divergence.
E -fb and ∇⋅u* survive the pressure solve without a host round-trip.
Pressure uses a strong forward transform and Dirichlet set; velocity uses a boundary inner product and Neumann scatter-add.
The default Neumann operator of the velocity system leaves the HOutflow regions out, and the paired adapter applies the whole load of equation (31.8).
Pressure Neumann regions, with or without the higher-order tag, are not touched by this operator.