Numerical Results — Lesson 6

Note that the results below are for a pipe of length 8 m. If you have downloaded the geometry in this course, your pipe length will be 3 m. This is fine. The two lengths produce similar results since the flow becomes fully developed before a distance of 3 m from the inlet.

After the solution is complete, close the Fluent window to return to the Workbench window. Double click Results in the main Workbench window to open CFD Post, where we will be viewing the results.

The following instructions show only how to view results using the "chart" option. But one should really start by viewing velocity vectors, velocity/pressure/TKE contours, etc., and check that the solution looks basically right.

Locations

Before viewing the results, we need to define the locations in CFD Post where we would like to view the results, namely the wall, centerline, and outlet.

Insert > Location > Line

Rename this location "Pipe Wall." Avoid naming locations in CFD Post with identical names to those used in Fluent, this can cause problems. We will define the line by two points. Enter (0,0.1,0) for Point 1 and (8,0.1,0) for Point 2. Change Samples to 100.

Repeat the process for the two other locations needed:

y+

Turbulent flows are significantly affected by the presence of walls. The k-epsilon turbulence model is primarily valid away from walls and special treatment is required to make it valid near walls. The near-wall model is sensitive to the grid resolution, which is assessed in the wall unit y+ (defined in section 10.9.1 of the Fluent user manual). We'll gloss over the details for now and use the following rule of thumb: select the near-wall resolution such that y+ > 30 or < 5 for the wall-adjacent cell when using the Enhanced Wall Treatment option. Look at section 10.9, Grid Considerations for Turbulent Flow Simulations, for details.

Let's plot y+ values for wall-adjacent cells to check how it compares with the recommendation mentioned above.

Insert > Chart

Let's rename the graph "Wall Y plus". Also, change Title to "Wall Y plus."

Data Series Tab

Rename the data series to "Y plus." Next, change Location to Pipe Wall.

X Axis Tab
Change Variable to X.

Y Axis Tab
Change Variable to Yplus.

Click Apply and our chart should appear.

As we can see, the wall _y+_value is between roughly 1.35 and 2.45. Since this is less than 5, the near-wall grid resolution is acceptable.

Export the data to a .csv ("comma separated values") file by clicking on Export. This file can be opened in Excel.

Centerline Velocity

Next, we would like to make a graph of the axial velocity along the centerline. We will do this by creating another chart.

Insert > Chart

Rename this chart "Centerline Velocity," and change the title of the chart as well.

Data Series
Change Name to "Centerline Velocity," and this time set Location to "Pipe Centerline."

X Axis
Once again, change Variable to X.

Y Axis
Change Variable to Velocity u, which corresponds to the Axial Velocity.

Click Apply and our chart should appear.

 

Coefficient of Skin Friction

Once again, insert another chart, naming and titling it Coefficient of Skin Friction. Rename the data series and choose Pipe Wall for Location. Plot X on the X Axis and the Skin Friction Coefficient on the Y Axis. When complete, your chart should match the image below:

We can see that the fully developed value is 0.0085. Compare this with what you'd expect from the Moody chart.

Velocity Profile

We'll plot the axial velocity at the outlet as a function of the distance from the center of the pipe.

Insert another chart, naming and titling it "Outlet Velocity." Change the name of the data series and set the Location to Pipe Outlet. This time, put Velocity u on the X Axis and Y on the Y Axis. When complete, your chart should appear as below:

The axial velocity is maximum at the centerline and zero at the wall to satisfy the no-slip boundary condition for viscous flow.

Non-dimensional Velocity Profile

To create a nondimensional version of the velocity profile, we first create a variable for r/D as shown in the following video.

Summary of the above video:

  1. In the right preview window, select Chart Viewer (Outlet Velocity selected in the tree)
  2. Go to Expressions tab in the same row as Outline
    1. Right click  Expressions > New
    2. Name "r nondim exp"
    3. For Definition
      1. Right click > Variables > Y
      2. Insert /0.2[m] after Y
      3. Apply
  3. Go to Variables tab next to Outline
    1. Right click on Derived > New
    2. Name it r nondim
    3. For Expression, select "r nondim exp"

Then we make a plot of r/D vs. u/U using the steps shown below.

Summary of the above video:

  1. Go to Outline tab
  2. Highlight Outlet Velocity Chart > Right click > Duplicate
    1. Name it Outlet Velocity nondim
  3. Go to Chart Viewer in the right preview
    1. Double click on Outlet Velocity nondim to ensure you are editing this new version
    2. Click on the Y Axis
    3. Select Variable r nondim
    4. Apply

The axis labels and legend can be modified as shown below.

Summary of the above video:

  1. In the General Table
    1. For Title, enter Nondimensional Velocity Profile
    2. Apply
  2. In the X Axis
    1. Scroll down and uncheck Use data for axis labels
    2. Enter in Custom Label u/U
  3. In the Y Axis
    1. Scroll down and uncheck Use data for axis labels
    2. Enter in Custom Label r/D
  4. In the Line Display
    1. Double click on Series 1 (Pipe Outlet)
    2. Uncheck Use series name for legend name
    3. Rename to Re = 10,000

We add the corresponding laminar profile. The necessary csv file can be downloaded here.

 

Summary of the above video:

  1. Make sure you are editing Outlet Velocity nondim by double clicking on it
  2. Go to Data Series tab
    1. In the white space, right click > New
    2. Click File
    3. Select csv file downloaded from webpage
    4. Apply
  3. Go to Line Display
    1. Double click on the second curve
    2. Uncheck Use series name for legend name
    3. Name the Legend Name Laminar
  4. To save a copy of the chart, click the Save Picture icon in the top toolbar

Non-dimensional Turbulent Viscosity Profile

The following video shows how to export extra data quantities from Fluent to CFD-Post. Then it also shows how to create an expression and use it for creating a chart in CFD-Post.

Summary of the above video:

  1. Start Fluent
  2. Go to File > Data File Quantities
    1. Make sure Turbulent Velocity is selected, press OK
  3. Go back to Fluent, click on Run Calculation
    1. Enter 1 in Number of Iterations
    2. Calculate
  4. Go back to Project Schematic
    1. Right click on Results > Refresh
  5. Go to CFD Post
    1. Click on Expressions tab
    2. Right click on Expressions > New
    3. Name it mut nondim exp
    4. In Definition white space:
      1. Right click > Variables > Eddy Viscosity
      2. Insert + 2e-5[kg/m/s]
      3. Divide whole thing by molecular viscosity 2e-5[kg/m/s]
    5. Apply
  6. Go to Variables tab
    1. Right click Derived > New
    2. Name it mut nondim
    3. Click Expression > select mut nondim exp
  7. Go to Outline > click on Chart icon in top toolbar
    1. Name it mut nondim plot
    2. Click on Data series
      1. Location Pipe Outlet
    3. Click on X Axis
      1. Variable mut nondim
    4. Click on Y Axis
      1. Variable r nondim
    5. Apply

Tips on plotting additional derived quantities (such as velocity gradient)

To plot additional derived quantities such as the gradient, divergence or curl of the velocity field, you may find these quantities in a pop-up window in CFD post. Look at the illustration below for plotting the velocity gradient in x.

Lesson Content
0% Complete 0/1 Steps