flow
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
flow_reference.hpp File Reference

flow — assembled single-GPU periodic Navier-Stokes step on Kokkos fields. More...

#include <Kokkos_Core.hpp>
#include "mac_mg.hpp"
#include "mac_reductions.hpp"
#include "mac_stencils.hpp"
#include "mac_transfer.hpp"
#include "staggered_advection.hpp"

Go to the source code of this file.

Classes

class  peclet::flow::FlowReference
 

Namespaces

namespace  peclet
 
namespace  peclet::flow
 

Detailed Description

flow — assembled single-GPU periodic Navier-Stokes step on Kokkos fields.

Composes the ported operators into a Chorin projection step on a staggered MAC grid (periodic box, ghost width 2): explicit Koren-TVD advection (optional) + backward-Euler implicit diffusion (RB-GS) -> divergence -> pressure Poisson (RB-GS + mean removal) -> projection correction. Divided convention (operator (1/dt)I - nu*Lap). Single GPU: the "halo" is a periodic ghost wrap. This is the cfd analog of the packing demStep — it wires the validated kernels into a runnable solver.

Definition in file flow_reference.hpp.