Macro API Changes 7.06

In Simcenter STAR-CCM+ 7.06, the macro API changed for battery modeling, VOF, and directed meshing.

Battery: Generating Boundaries from Parts

The recorded boundary name in a macro now includes the part name.

Previous Release Simcenter STAR-CCM+ 7.06

region_0.

getBoundaryManager().

getBoundary(“Stack Front”)

region_0.

getBoundaryManager().

getBoundary(“Battery Module:

Battery Module Cell 0,0:

Stack.Stack Front”)

VOF Melting: Heat of Phase Change

Selecting the Latent Heat of Fusion material node now uses FusionLatentHeatProperty instead of LatentHeatProperty.

Previous Release Simcenter STAR-CCM+ 7.06

(ConstantMaterialPropertyMethod)

singlePhaseLiquid

.getMaterialProperties()

.getMaterialProperty(

LatentHeatProperty.class)

.getMethod());

((ConstantMaterialPropertyMethod)

singlePhaseLiquid

.getMaterialProperties()

.getMaterialProperty(

FusionLatentHeatProperty.class)

.getMethod());

Directed Mesh

The journaling behavior for the Directed Mesh feature has changed between the current and previous releases. If you recorded macros for Directed Mesh in version 7.04, re-record them in version 7.06.