diff options
Diffstat (limited to 'examples/throat_clog_2d/init.hpp')
| -rw-r--r-- | examples/throat_clog_2d/init.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
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<void> 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<Desc::D>::apply( @@ -157,8 +157,8 @@ kel::lbm::error_or<void> init( ); { - kel::lbm::data<sch::Scalar<T>> radius_p; - radius_p.at({}).set(conv.meter_si_to_lbm({{0.05}}).handle().get()); + kel::lbm::data<sch::LbmMeter<sch::Scalar<T>>> radius_p; + radius_p.at({}).set(conv.meter_si_to_lbm({0.05}).handle().get()); std::cout<<"RADIUS: "<<radius_p.at({}).get()<<std::endl; kel::lbm::data<sch::Scalar<T>> dense_p; dense_p.at({}).set(1); @@ -175,8 +175,8 @@ kel::lbm::error_or<void> 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; |
