From 0c0087ef9482634273ec1a23d3a915754f94926d Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 11 Nov 2026 01:16:44 +0100 Subject: Snapshot. Migration to Lbm Unit --- examples/throat_clog_2d/init.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/throat_clog_2d/init.hpp') diff --git a/examples/throat_clog_2d/init.hpp b/examples/throat_clog_2d/init.hpp index e03bd5e..fab51b3 100644 --- a/examples/throat_clog_2d/init.hpp +++ b/examples/throat_clog_2d/init.hpp @@ -120,7 +120,7 @@ kel::lbm::error_or init( // auto& df_f = fields.template get<"dfs_old">(); auto& rho_f = macros.template get<"density">(); - auto& vel_f = macros.template get<"momentum">(); + auto& vel_f = macros.template get<"velocity">(); auto& por_f = macros.template get<"porosity">(); iterator::apply( @@ -157,8 +157,8 @@ kel::lbm::error_or init( ); { - kel::lbm::data> radius_p; - radius_p.at({}).set(conv.meter_si_to_lbm({{0.05}}).handle().get()); + kel::lbm::data>> radius_p; + radius_p.at({}).set(conv.meter_si_to_lbm({0.05}).handle().get()); std::cout<<"RADIUS: "<> dense_p; dense_p.at({}).set(1); @@ -175,8 +175,8 @@ kel::lbm::error_or init( const auto radius = radius_p.at({}).get(); const auto pitch = radius * 2.4; - const auto x0 = conv.meter_si_to_lbm({{0.10}}).handle().get(); - const auto y_mid = conv.meter_si_to_lbm({{0.25}}).handle().get(); + const auto x0 = conv.meter_si_to_lbm({0.10}).handle().get(); + const auto y_mid = conv.meter_si_to_lbm({0.25}).handle().get(); constexpr uint64_t per_column = 4ul; -- cgit v1.3.1