From a6d73e49cd17f1c55d4d4718c89df74ef0a03b41 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 2 Jul 2025 14:36:33 +0200 Subject: Moving to global equilibrium with proper types and introducing poiseulle Slowly though --- examples/poiseulle_2d.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'examples/poiseulle_2d.cpp') diff --git a/examples/poiseulle_2d.cpp b/examples/poiseulle_2d.cpp index 2f60ffd..a0f2603 100644 --- a/examples/poiseulle_2d.cpp +++ b/examples/poiseulle_2d.cpp @@ -126,5 +126,18 @@ int main(int argc, char** argv){ saw::data> dim{{1024, 128}}; saw::data lattice{dim}; + saw::data,sch::D2Q9::D>> macros{dim}; + + for(uint64_t i = 0u; i < 256u; ++i){ + + { + std::string vtk_f_name{"tmp/poiseulle_2d_"}; + vtk_f_name += std::to_string(i) + ".vtk"; + write_vtk_file(vtk_f_name, macros); + } + + lbm_step(lattice, even_step, step); + } + return 0; } -- cgit v1.2.3