Skip to content

Commit

Permalink
Merge pull request #42 from frkasper/2310
Browse files Browse the repository at this point in the history
2310 cycle
  • Loading branch information
frkasper authored Oct 25, 2023
2 parents a4290a7 + eba5186 commit 6f2679e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
2 changes: 1 addition & 1 deletion macroutils/src/macroutils/MacroUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*
* @since STAR-CCM+ v7.02, May of 2012
* @author Fabio Kasper
* @version 2306
* @version 2310
*/
public final class MacroUtils {

Expand Down
16 changes: 8 additions & 8 deletions tests/test/test_demo05.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -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():
Expand All @@ -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():
Expand Down

0 comments on commit 6f2679e

Please sign in to comment.