summaryrefslogtreecommitdiff
path: root/examples/poiseulle_2d
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-11-11 01:16:44 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-11-11 01:16:44 +0100
commit0c0087ef9482634273ec1a23d3a915754f94926d (patch)
tree972a8e48c1fae67af23b982d7a9e1a506fc8705f /examples/poiseulle_2d
parent2e63c4a31f946a8bafa92c49c1a0a116c0eb6dae (diff)
downloadlibs-lbm-0c0087ef9482634273ec1a23d3a915754f94926d.tar.gz
Snapshot. Migration to Lbm Unit
Diffstat (limited to 'examples/poiseulle_2d')
-rw-r--r--examples/poiseulle_2d/poiseulle_2d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/poiseulle_2d/poiseulle_2d.cpp b/examples/poiseulle_2d/poiseulle_2d.cpp
index 7ade1ca..39fc65f 100644
--- a/examples/poiseulle_2d/poiseulle_2d.cpp
+++ b/examples/poiseulle_2d/poiseulle_2d.cpp
@@ -40,7 +40,7 @@ using CellStruct = Struct<
template<typename T, uint64_t D>
using MacroStruct = Struct<
- Member<FixedArray<T,D>, "momentum">,
+ Member<FixedArray<T,D>, "velocity">,
Member<T, "pressure">
>;
@@ -374,7 +374,7 @@ int main(int argc, char** argv){
auto& dfs = even_step ? cell.template get<"dfs">() : cell.template get<"dfs_old">();
auto& rho = macros.at(index).template get<"pressure">();
- auto& vel = macros.at(index).template get<"momentum">();
+ auto& vel = macros.at(index).template get<"velocity">();
compute_rho_u<sch::T,sch::D2Q9>(dfs,rho,vel);
rho = rho * kel::lbm::data<sch::T>{dfi::cs2};