From 4f8eff9847fcb7dbc41f9f22d722cd48a09f64cd Mon Sep 17 00:00:00 2001 From: Fabio Kasper Date: Tue, 24 Oct 2023 16:00:42 -0400 Subject: [PATCH 1/2] Updated versioning info --- README.md | 8 ++++++-- macroutils/src/macroutils/MacroUtils.java | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f727324..1d6f34f 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,13 @@ MacroUtils is a collection of high-level APIs in order to make your life easier ## Requires -1. Simcenter STAR-CCM+ 2306 libraries; +1. Simcenter STAR-CCM+ 2310 libraries; -1. Integrated development environment (IDE) supporting JDK 17 and gradle -- e.g.: NetBeans 15 or later. +1. Integrated development environment (IDE) supporting JDK 17.0.6 and gradle + +## Recommended IDE + +NetBeans 17 or later. ## Need an older version? diff --git a/macroutils/src/macroutils/MacroUtils.java b/macroutils/src/macroutils/MacroUtils.java index 41a0de4..5493492 100644 --- a/macroutils/src/macroutils/MacroUtils.java +++ b/macroutils/src/macroutils/MacroUtils.java @@ -28,7 +28,7 @@ * * @since STAR-CCM+ v7.02, May of 2012 * @author Fabio Kasper - * @version 2306 + * @version 2310 */ public final class MacroUtils { From eba51869167ffb1a0565e0c3e4b559b06e0e1869 Mon Sep 17 00:00:00 2001 From: Fabio Kasper Date: Wed, 25 Oct 2023 16:40:19 -0400 Subject: [PATCH 2/2] Updated baseline values on tests; increased tolerances --- tests/test/test_demo05.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/test/test_demo05.py b/tests/test/test_demo05.py index 349f3bd..85ae8d9 100644 --- a/tests/test/test_demo05.py +++ b/tests/test/test_demo05.py @@ -30,8 +30,8 @@ def test_frontal_area_report(): def test_cd_report(): - test_utils.assert_report(DEMO_ID, 'C_d', 0.65, - tolerance=0.01, relative=False) + test_utils.assert_report(DEMO_ID, 'C_d', 0.64, + tolerance=0.02, relative=False) def test_cl_report(): @@ -40,13 +40,13 @@ def test_cl_report(): def test_scalar_pressure_kart_min(): - test_utils.assert_scene_min(DEMO_ID, 'Pressure Kart', 'Scalar', -1.8, - tolerance=0.2, relative=False) + test_utils.assert_scene_min(DEMO_ID, 'Pressure Kart', 'Scalar', -1.6, + tolerance=0.5, relative=False) def test_scalar_pressure_kart_max(): - test_utils.assert_scene_max(DEMO_ID, 'Pressure Kart', 'Scalar', 4.75, - tolerance=0.5, relative=False) + test_utils.assert_scene_max(DEMO_ID, 'Pressure Kart', 'Scalar', 5.0, + tolerance=1.0, relative=False) def test_scalar_pressure_section_min(): @@ -55,8 +55,8 @@ def test_scalar_pressure_section_min(): def test_scalar_pressure_section_max(): - test_utils.assert_scene_max(DEMO_ID, 'Pressure Section', 'Scalar', 4.75, - tolerance=0.5, relative=False) + test_utils.assert_scene_max(DEMO_ID, 'Pressure Section', 'Scalar', 5.0, + tolerance=1.0, relative=False) def test_vector_velocity_section_min():