CD-adapco CFD Training Courses

STAR-CCM+ Macros: Automation and Scripting in Java

Course Duration: 3 Days
Course Schedule: Monthly

Who Should Attend

STAR-CCM+ experienced Users who wish to automate and/or optimise their CAE process by using the benefits that general scripting languages like Java can offer. A previous experience with a programming language is preferable; a brief introduction to Java is included in this training.

Course Aims

Provide Java beginners as well as more experienced Users with tools to use efficiently the STAR-CCM+ scripting capability.

Course Structure

The course structure is designed to take the User through essential Java concepts and how they can be used with STAR-CCM+. Examples illustrate the workflow from simply recording a macro and replaying it, all the way to automating a full CFD process with various macros. The general structure of the macros developed in this course makes them re-usable as templates or references for a broad range of applications.

Course Content

  • JAVA FUNDAMENTALS: Essential Java concepts used in STAR-CCM+ are explained and applied to produce a first simple Java code.
  • STAR-CCM+ MACROS: Recording and editing of a macro is introduced as the first method to create a customised macro. This is applied to automating a post-processing task.
  • EXTEND YOUR CUSTOMISATION OF STAR-CCM+: Powerful tools to develop STAR-CCM+ macros are presented, such as NetBeans and the STAR-CCM+ Application Programming Interface.
  • TOOLS EXPLORATION: File input and output methods are introduced in order to demonstrate data exchange to and from STAR-CCM+. This is applied to a meshing process.
  • TAKE CONTROL OF YOUR SIMULATION: Specific STAR-CCM+ methods to control and run a calculation are highlighted and applied to control an optimisation type process.
  • CUSTOMISED SECTION: Discussion on scripting topics of interest to the User.
  • JAVA PROGRAMMING: Further useful Java concepts and programming styles are introduced to create more advanced scripts.
  • MACROS IN FULL SWING: Create your own customised GUI panels!
  • DIVIDE AND CONQUER: Methods to organise your macros for efficient process development are presented.
OpenCube Drop Down Menu (www.opencube.com)