diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-06-27 10:00:10 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-06-27 10:00:10 +0200 |
commit | bffab324ca4d71c0eacb2389f1441638ac465b2e (patch) | |
tree | 27261440a161d52429e8f74bea82359c7d7d58f1 /examples/cavity_2d.cpp | |
parent | 7e4d50062f0d5eec2f59d4113beedf282c3e2da4 (diff) |
Moving towards poiseulle
Diffstat (limited to 'examples/cavity_2d.cpp')
-rw-r--r-- | examples/cavity_2d.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/cavity_2d.cpp b/examples/cavity_2d.cpp index 2860674..6ecdb23 100644 --- a/examples/cavity_2d.cpp +++ b/examples/cavity_2d.cpp @@ -105,25 +105,8 @@ public: */ namespace cmpt { struct MovingWall {}; -struct BBTwo {}; } -template<typename Desc> -class component<sch::T, Desc,cmpt::BBTwo> { -public: - - void apply(saw::data<sch::DfCell<Desc>>& dfs){ - using dfi = df_info<sch::T,Desc>; - - // Technically use .copy() - auto df_cpy = dfs; - - for(uint64_t i = 1u; i < Desc::Q; ++i){ - dfs({i}) = df_cpy({dfi::opposite_index.at(i)}); - } - } -}; - /** * Full-Way moving wall Bounce back, something is not right here. * Technically it should reflect properly. @@ -244,8 +227,6 @@ void lbm_step( component<sch::T, sch::D2Q9, cmpt::BGK> coll{0.5384}; component<sch::T, sch::D2Q9, cmpt::BounceBack> bb; - component<sch::T, sch::D2Q9, cmpt::BBTwo> bb_two; - component<sch::T, sch::D2Q9, cmpt::MovingWall> bb_lid; bb_lid.lid_vel = {0.1,0.0}; |