Plotting Simulation Data
Create plots of velocity and wall shear stress.
For the velocity plot, import experimental data from a file and plot it alongside the numerical data. The development of the solution can be observed throughout the run by viewing these plots.
To create the wall shear stress plot:- Right-click the node and select .
- Rename the WSS Plot. node to
- Select the WSS Plot node and set Parts to .
Recirculation zones occur upstream and downstream of the obstacle and are visible on the graph as regions where the wall shear stress is negative. To determine the length of the downstream recirculation zone, change the graph formatting.
-
Expand the
node and set the following properties:
Node Property Value Scalar Function Field Function Z = 0 Sort Plot Data Activated Line Style
Style Solid Symbol Style
Shape None -
Expand the
node and set the following properties:
Node Property Value Maximum 0.9 Minimum 0.3 Major Labels
Spacing 0.05 Maximum 0.005 Minimum -0.0075 Major Labels
Spacing 0.0025
To create the velocity data plot:
- Right-click the node and select .
- Rename the Velocity Plot at X = 0.38. node to
-
Expand the
node and set the following properties:
Node Property Value Velocity Plot at X = 0.38 Parts Data Type Scalar Field Function X Type
Data Type Direction Value [0.0, 1.0, 0.0] m
To compare the experimental velocity data with the velocity plot, import the data in the supplied file into a table:
- Right-click the node and select .
- In the Open dialog, navigate to the incompressibleFlow folder of the downloaded tutorial files and select the file exp380.xy.
- Click Open.
The data in that file are now stored in a table named ‘exp380’.
To display it on the velocity plot:
- Return to the node.
- Right-click the node and select .
-
Select
exp380 and click
OK.
The supplied experimental data appear in the plot. Numerical data is shown once the simulation has started.
- Right-click the Orient Axes. node and select
-
In the
Orient Axes dialog, click the
(horizontal) and
(clockwise) rotation buttons, then click OK.
To rename the axes:
-
Expand the
Axes node and set the following properties:
Node Property Setting Title Velocity (m/s) Title Y (m) - To view the solution while it is being generated, look at the scalar and vector scenes.
The pre-processing set-up for the simulation is complete.
-
Stop the macro recording by clicking
(Stop Recording) in the Macro toolbar.
- Save the simulation.