# Part II: Flat Plate Convection — Lesson 9

### Pre-Analysis

In the following video we discuss the scenario of adding heat for flow over flat plate.

### Model Setup and Solution

We have already seen the model setup for flow over a flat plate. The following video shows the procedure for setting up boundary conditions for convection modeling.

### Post-Processing

Here we plot the temperature distribution over the domain and compare the thermal boundary layer with the velocity boundary layer.

### Nusselt Number Variation

Here we will calculate the Nusselt number using the surface heat transfer coefficient. We will export the surface heat transfer coefficient from Fluent and then create an expression for calculating the Nusselt number in CFD-Post.

Note 1: When you create graphs of the Nusselt number in Excel, you need to transfer the data points from the exported CSV file from the Ansys software over to an Excel workbook file (.xlsx). A CSV file is just a flat text file that uses a delimiter to separate the fields (in this case, a comma). It CANNOT save any formulas or plots. An xlsx file is the typical file format for Excel, just as docx is for Word. In an xlsx file, you can save the formulas, graphs, pivots, etc., in the file. It was mentioned in the video, but we wanted to emphasize it here.

Note 2: The purpose of running one iteration here is to ONLY send the values of the heat transfer coefficient to the Post-Processor. This should be done ONLY IF the solution has already converged, which typically takes hundreds of iterations. Anytime a new Data File Quantity has been selected to be calculated, at least one iteration has to be performed to send the value(s) to the Post-Processor. In the video, the professor already has a converged solution, so to save time with unnecessary calculations, he sets the number of iterations to one.

Plotting Nux vs Pr

Here are the steps for generating a plot of Nux vs Pr for a chosen Rex (say, 10,000) for selected Pr values (say, Pr= 1,3,5 and 7).

1. For Pr=1, go to the csv file exported from CFD Post and read the Nusselt number value for Rex = 10,000 (this process is shown in the Nusselt Number Variation video above). This is the Nusselt number for Pr=1 at that Rex.
2. Change Air Cp in Fluent under Setup>Materials>Fluid>Air. To get a Pr=2, you need to double the Cp value for air; note that the values below may be wrong  because the picture is just for locating where to change Cp. 3. Run more iterations until the you get convergence (when the residuals are below 1e-6). Note you don't need to reinitialize the guess values since the velocity and pressure fields remain the same. Cp affects only the energy equation.
4. Export Nux vs. Rex for the new Pr value to a csv file. Read the Nux value for Rex = 10,000. This is the Nux value for the new Pr at that Rex.
5. Repeat for the other Pr values. Create a list of values in Excel from these runs with the following three columns:
•  Cp      Pr     Nux
6. Plot Nux vs Pr in Excel and add the trend line to get a fit and the exponent m