Verification & Validation — Lesson 8

Note: It is very important that you take the time to check the validity of your solution. This section leads you through some of the steps you can take to validate your solution.

Refine Mesh

Let's repeat the solution on a finer mesh. For the finer mesh, we will increase the total number of elements (cells) by a factor of four. To accomplish this, we double the number of divisions on each section. Instead of modifying the project that was just created, we will duplicate it and modify the duplicate. In the Workbench Project Page right click on Mesh then click Duplicate as shown below.

Rename the duplicate project to FlatPlate (mesh 2). You should have the following two projects in your Workbench Project Page.

Next, double click on the Mesh cell of the FlatPlate (mesh 2) project. A new Ansys Mesher window will open. Under Outline, expand Mesh and click on Edge Sizing. Under Details of "Edge Sizing," enter 100 for Number of Divisions. Next, set the number of divisions for Edge Sizing 2 and Edge Sizing 3 to 120. Then, click Update to create the new mesh. The new mesh should now have 12,000 elements (100 x 1200). A quick glance of the mesh statistics reveals that there are, indeed, 12,000 elements.

Compute the Solution

Close the Ansys Mesher to go back to the Workbench Project Page. Under FlatPlate (mesh 2), right click on Fluid Flow (Fluent) and click on Update, as shown below.

Now, wait a few minutes for Fluent to obtain the solution for the refined mesh. After Fluent obtains the solution, save your project.

Convergence

To launch Fluent, double click on the Solution of the "FlatPlate (mesh 2)" project in the Workbench Project Page. The new mesh has significantly more cells, thus it is likely that the solution did not converge to the tolerances we have previously set. Therefore, we will iterate the solution further, to make sure that the solution converges. To do so, click on Run Calculation, set Number of Iterations to 1000 and click Calculate, as shown below.

Once you rerun the calculation, you will quickly see that the solution did not converge for the finer mesh within 1000 iterations. The solution should converge by iteration 1784, as shown below.

Outlet Velocity Profile

Now, the variation of the x component of the velocity will be plotted with the results of the original mesh to determine whether the solution is mesh converged. Set up a plot for the variation of the x component of the velocity along the outlet as was done in the solution section. Then load the XVelOutlet.xy file into the plot and generate the plot. You should obtain the following image.

As you can see from the image above, the numerical solution does not vary much between the two meshes. Thus, it has been confirmed that the solution is mesh converged.

Instructions for Cornell Students

MAE 3240/4230/5230 Spring 2020: Please read through this section for your understanding. You DO NOT need to complete this section in Ansys for the homework (feel free to give it a try though if you are curious).

MAE 3240 students need to complete the next section: Part II, Flat Plate Convection