From 6bbaf911a8d9924636902b19eae64b8422c9c5dd Mon Sep 17 00:00:00 2001 From: MorganeExtrality <80689653+MorganeExtrality@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:28:45 +0100 Subject: [PATCH] Fix example (#107) --- src/ansys/simai/core/data/optimizations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/simai/core/data/optimizations.py b/src/ansys/simai/core/data/optimizations.py index bbe0896..9cd3dc4 100644 --- a/src/ansys/simai/core/data/optimizations.py +++ b/src/ansys/simai/core/data/optimizations.py @@ -169,7 +169,7 @@ def my_geometry_generation_function(param_a, param_b): }, minimize=["TotalForceX"], boundary_conditions={"VelocityX": 10.5}, - outcome_constraints=["TotalForceX <= 10"], + outcome_constraints=["TotalForceY <= 10"], n_iters=100, )