Creating a Scalar Scene with Streamlines

Create a second scalar scene to display streamlines over the train.

  1. Create a scalar scene and rename it to Streamlines.
  2. Create a streamline derived part with the following properties:
    Property Setting
    Seed Mode Line Seed
    Point 1 [-7, -73, 0.4] m
    Point 2 [20, -52, 0.4] m
    Resolution 50
    Direction Both
  3. Click Create then Close.
  4. Click Scene/Plot.
  5. Edit the Streamlines node and set the following properties:
    Node Property Setting
    Outline 1 Outline Deactivated
    Scalar 1 Contour Style Smooth Filled
    Parts Parts

    Ground

    Rails

    RailwayBed

    TrainEngine

    TrainEngineRear

    Wheels

    Scalar Field Function Pressure
    Color Bar Color Map grayscale
    Streamlines Stream 1 > Scalar Field Function Velocity Magnitude
  6. Click Close.
  7. Adjust the scene so that it appears as follows:


  8. Close the Streamlines scene.
  9. Click Simulation.
  10. Save the simulation.
The case is now set up correctly and you are ready to begin Designing the Java Macro.