JAVA™ Scripting - Process Automation

Course Duration: 2 Days


  • Users should be proficient in STAR-CCM+ (No STAR-CCM+ basics will be covered).
  • Users should have a good grasp of programming fundamentals.
  • JAVA™ knowledge is useful, but not required

Who Should Attend

If you are an experienced STAR-CCM+ user and wish to integrate automated engineering processes then this course provides you the tools to achieve your goal.

Course Description

The objective of this course is to provide analysis engineers with the ability to integrate computational automation into their engineering processes through the use of the powerful JAVA™ scripting functionality in STAR-CCM+. In achieving automation of engineering processes, analysts can expect rapid streamlining of engineering design procedures allowing both an increase in the number of design cycles and more exploratory use of the powerful STAR-CCM+ engineering toolset.

This course will cover:

  • Brief introduction to JAVA™ fundamentals
  • Scope of Scripting in STAR-CCM+
  • Illustration of scripting in STAR-CCM+ using a mixture of lectures and tutorials

Course Content

  • JAVA™ basics are covered whenever they are used
    1. Introduction to Object Oriented Programming
    2. Arrays, Flow Structures, Collections
    3. Exception Handling and Garbage Collection
    4. File I/O
  • Macros in STAR-CCM+
    1. Recording, editing and playing macros within STAR-CCM+
    2. The STAR-CCM+ JAVA™ API
    3. Tutorials for meshing and physics setup, post processing and running
    4. Reading mesh settings and boundary conditions from a file
    5. Putting everything together in an overarching macro
      • Calling macros from within a macro
      • Calling compiled macros placed in a different location
    6. Maintenance of STAR-CCM+ macros
      • Workflow changes
      • Deprecated methods
      • Removed classes
  • Introduction to NetBeans™
    1. Brief introduction to the NetBeans™ environment and its advantages.
    2. All tutorials illustrate the use of NetBeans™ for editing and modifying macros