Building and Testing the Second Task

Build and test the second task.

Before you can build the project, you must add the second task to the assistant class:
  1. Return to InternalFlowAssistant and add the following line below the line corresponding to the first task:
    tasks.add(new Task02CreateRegionFromPart());
    The final code is displayed below:
    public InternalFlowAssistant() {
            
        List<Task> tasks = new ArrayList<Task>(); // Creates a new array list for the list of tasks. 
        // Contains the list of tasks.
        tasks.add(new Task01ImportGeometry());
        tasks.add(new Task02CreateRegionFromPart());
        setOutline(tasks);
        }
  2. Save the file (Ctrl-S).
  3. Rebuild the assistant project.
  4. Load the rebuilt assistant into Simcenter STAR-CCM+ and work through it.
    Task 1 imports the geometry into Simcenter STAR-CCM+. Task 2 creates a region with the geometry from Task 1.