Plotting Reference Data
To compare the experimental velocity data with the velocity plots, it is necessary to import the data in supplied files into Simcenter STAR-CCM+ tables.
- Open the node.
- Right-click the node and select .
- In the Open dialog, navigate to the incompressibleFlow folder of the downloaded tutorial files, set the File Type drop-down list to (*.xy), and select the file UVelocity.xy.
-
Click
Open.
The data in that file is now stored in a table named.
To display the data on the U-velocity plot:
- Return to the node.
- Right-click the Add Data. node and select
- In the Add Data Providers to Plot dialog, select UVelocity and click OK.
- Select the Reference Data (U). node and set Legend Name to
- Make sure that column 0 is set for the X column and column 1 is set for the Y column.
- Select the None. node and make sure that the Style property is set to
-
Select the
node and set the following properties:
Property Value Size 6 Shape Filled Triangle -
Click
(Custom Editor) for the Color property. In the dialog that appears:
- Select the RGB tab.
- Set Red to 0, Green to 0, and Blue to 255.
-
Click
OK.
The supplied experimental data appears in the U-velocity plot. Numerical data is shown once the simulation run has started.
Use the same techniques for the V-velocity plot:
- Right-click the node and select .
- In the Open dialog, select the file VVelocity.xy and click Open.
- In the VVelocity in the Add Data Providers to Plot dialog. node, add data and select
- Select the Reference Data (V). node and set Legend Name to
- Make sure that column 0 is set for the X column and column 1 is set for the Y column.
- Select the None. node and make sure that the Style property is set to
-
Select the
node and set the following properties:
Property Value Size 6 Shape Filled Triangle -
Click
(Custom Editor) for the Color property. In the dialog that appears:
- Select the RGB tab.
- Set Red to 0, Green to 0, and Blue to 255.
-
Click
OK.
Both plots show experimental data alongside the numerical data.
- Save the simulation.