From 960c47db8004e12ac49d915116c86945f746a2a8 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 9 Oct 2026 12:40:34 +0200 Subject: Sth broken, but what? --- examples/throat_clog_2d/step.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'examples/throat_clog_2d/step.hpp') diff --git a/examples/throat_clog_2d/step.hpp b/examples/throat_clog_2d/step.hpp index dcee5fb..f41fca7 100644 --- a/examples/throat_clog_2d/step.hpp +++ b/examples/throat_clog_2d/step.hpp @@ -46,7 +46,7 @@ saw::error_or step( }).wait(); q.submit([&](acpp::sycl::handler& h){ - component> collision{0.75}; + component> collision{0.8201}; component> bb; component,encode::Sycl> flow_out{1.0}; @@ -84,7 +84,7 @@ saw::error_or step( } { auto y_si = conv.meter_lbm_to_si(index.at({{1u}}).template cast_to()).handle(); - vel.at({{0u}}) = conv.velocity_si_to_lbm({{static_cast::type>((1.2 / 0.64) * y_si.get() - (1.2 / (0.64*0.64)) * y_si.get() * y_si.get())}}).handle() * scale; + vel.at({{0u}}) = conv.velocity_si_to_lbm({{static_cast::type>((0.1 / 0.64) * y_si.get() - (0.1 / (0.64*0.64)) * y_si.get() * y_si.get())}}).handle() * scale; vel.at({{1u}}) = 0.0f; } return vel; @@ -133,8 +133,8 @@ saw::error_or step( // auto coll_ev = q.submit([&](acpp::sycl::handler& h){ - component> bgk{0.75}; - component> collision{0.75}; + component> bgk{0.8201}; + component> collision{0.8201}; component> bb; component,encode::Sycl> flow_out{1.0}; @@ -162,7 +162,7 @@ saw::error_or step( saw::data> vel; { auto y_si = conv.meter_lbm_to_si(index.at({{1u}}).template cast_to()).handle(); - vel.at({{0u}}) = conv.velocity_si_to_lbm({{static_cast::type>((1.2 / 0.64) * y_si.get() - (1.2 / (0.64*0.64)) * y_si.get() * y_si.get())}}).handle(); + vel.at({{0u}}) = conv.velocity_si_to_lbm({{static_cast::type>((0.01 / 0.64) * y_si.get() - (0.01 / (0.64*0.64)) * y_si.get() * y_si.get())}}).handle(); vel.at({{1u}}) = 0.0f; } return vel; @@ -209,8 +209,8 @@ saw::error_or step( // auto coll_ev = q.submit([&](acpp::sycl::handler& h){ - component> bgk{0.75}; - component> collision{0.75}; + component> bgk{0.8201}; + component> collision{0.8201}; component> bb; component,encode::Sycl> flow_out{1.0}; -- cgit v1.3.1