Tutorial 2: Heated Flow over Flat Plate |
| Density (ρ) | 1.146 Kg/m^3 |
| Dynamic Viscocity (μ) | 1.89E-5 Kg/m*s |
| Conductivity (K) | 0.027 W/m*K |
| Specific Heat | 1.00e3 J/Kg*K |
NOTE: If you want to use fluid's other than air use the same method and input the appropriate values:
BOUNDARY CONDITIONS AND CONSTRAINTS
Go to Preprocessor>Loads>Define Loads>Apply>Fluid CFD>Velocity>On lines. Pick the left and top edges of the rectangle and Click OK. The following window comes up.

Enter 0.5 in the VX field and 0 in the VY and VZ fields. Make sure 'Apply to endpoints' is set to Yes. Then click OK. This number corresponds to the velocity of 0.5 meter per second of air flowing from the left side and the assumed velocity of 0.5 m/s far from the plate.
Repeat the step above, this time setting the top of the rectangle velocity to ZERO. This time select 'Apply to endpoints'
Repeat the above and set the Velocity to ZERO for the bottom of the rectangle. (VX=VY=0). This is due to the no-slip condition along the wall. This time make sure 'Apply to endpoints' is set to Yes.
Go to Preprocessor>Loads>Define Loads>Apply>Thermal>Temperature>On lines. Pick the left edge of the rectangle and Click OK. The following window comes up. Enter 20 to apply a twenty degree celcius temperature to the incoming air. Set 'Apply TEMP to endpoints' to No.

Repeat the above and set the Temperature to 50 along the bottom edge of the rectangle. Set 'Apply TEMP to endpoints' to Yes.
Now Atmospheric Pressure must be set for the right side of the rectangle.
To do this, select Preprocessor>Loads>Define Loads>Apply>Fluid CFD>Pressure DOF>On lines. Click the right line and then OK. The following window will now appear.

Enter 0 for the constant pressure value for these faces and click OK. This sets the pressure to Atmospheric.
Now the Modeling of the problem is done. The loads on the model will look like this (To get a screen like this, goto Plot->Lines on the main menu):

SOLUTION
Go to ANSYS Main Menu>Solution>Flotran Set Up>Execution Ctrl.
· The following window appears. Change the first input field value to 400, as shown. No other changes are needed. Click OK. (The reason behind setting the iterations so high is that when you run the Flotran Analysis, it stops only when the solution converges, or the solution reaches the number of iterations. In this case the solution should converge at around 500 iterations. (this value was taken experimentally) By setting the value at 250 we arrange the problem such that the solution is found before we terminate the iterations.)

Go to ANSYS Main Menu>Solution>Flotran Set Up>Solution Options
Change the TEMP field to Thermal and then click OK

Go to Solution>Run FLOTRAN.
Wait for ANSYS to solve the problem. It takes around a minute to solve on a fast computer. It will say 'Solution is Done!' when it completes.
Click on OK and close the 'Information' window.
POST-PROCESSING
Plotting the velocity distribution…
Go to General Postproc>Read Results>Last Set.
Then go to General Postproc>Plot Results>Contour Plot>Nodal Solution. The following window appears:

Select VSUM and click OK. The velocity distribution will look like this:

Now go to General Postproc>Plot Results>Vector Plot>Predefined and select Velocity. Enter a scale factor (VRATIO) of 0.4. The vector plot looks like this:

and a zoomed in portion (notice boundary layer formation):

Then go to General Postproc>Plot Results>Contour Plot>Nodal Solution and select Temperature:

A Plot of the Heat flux along the plate looks like this (NOTE: in order to get this plot, you must define a path along the bottom edge of the rectangle and map Heat Flux onto it). We will use this data to get local Nusselt Numbers:

Comparing the boundary layer thickness to theoretical equations, the correlation is apparent: (download this excel worksheet)

Constant Heat Flux:
The results for a constant heat flux of 300 W/m2 are shown below. The procedure for this problem is exactly the same as the constant wall temperature, except when defining loads, the wall temperatures are replaced with constant heat flux:
Temperature Distribution:

Unheated Starting Length Constant Wall Temperature:
The modeling for an unheated starting length is slightly different from the above example. Assume an unheated starting length of 0.25 m, a heated length of 0.5 m, and again an unheated region of 0.25 m and a constant wall temperature of 50 C. All other parameters are the same.
Instead of creating 1 rectangle for the model, we will create 3 connected rectangles like this (the first rectangle represents the initial unheated region of .25 m. The second rectangle is the .5 m heated region. The third rectangle is the 2nd .25 m unheated region):

After creating these three areas, you must glue the connecting lines together. Go to Preprocessor>-Modeling->Operate>Booleans>Glue>Areas and select the three areas. Click OK.
Meshing this model is slightly different to get the same results. For the top and bottom lines you must select an 'Element edge length' of 0.2. The three vertical lines get the same 50 element divisions with a ration of 10. Make sure to use flip bias on any meshed lines with a ratio that are backwards. Your meshed lines will now look like this:

Goto Preprocessor>Meshing>Mesh>Areas>Free and the meshed area will look like this:
The loading of the problem is exactly the same as before. The Loads will look like this:

Solving the problem gives the following temperature distribution:

Unheated Starting Length Constant Wall Heat Flux:
Assume the same configuration as the previous problem, except this time the wall condition is a constant heat flux of 300 W/m2. All other parameters are the same.
The modeling procedure is the same as the unheated starting length constant wall temperature problem above, except the contant temperature loading is replaced with constant heat flux loading.
Temperature Distribution:

Send mail to the author with questions or comments about this web site.