Professional Documents
Culture Documents
Introduction:
In this example you will model fluid flow in the entrance region between two infinite plates.
Problem Description:
Air travels between two infinite plates. For the sake of modeling, these plates will be assumed to be 1.5
m long and 5 cm apart.
All units are S.I.
Boundary Conditions:
1. Air enters between the plates at a uniform velocity of 0.1 m/s.
Material Properties:
Air: Density = 1.23 Kg/m3
Viscosity = 1.79 e -5
Dimensions
Length = 1.5 m
Width = 0.05 m
Objective: Find the nodal velocity distribution within the air gap between the two plates.
Figure:
Starting ANSYS:
Click on ANSYS in the programs menu.
Select Interactive.
The following menu comes up. Enter the working directory. All your files will be stored in this directory.
Also under Use Default Memory Model make sure the values 64 for Total Workspace, and 32 for
Database are entered. To change these values unclick Use Default Memory Model.
Click RUN
Modeling the Structure:
Go to the ANSYS Utility Menu (the top bar). Click Workplane>WP Settings…
The following widow comes up: (notice the numbers are different)
Element Properties:
SELECTING ELEMENT TYPE:
Click Preprocessor>Element Type>Add/Edit/Delete... In the 'Element Types' window that opens click on
Add... The following window opens:
Click on OK. Now when you mesh the figure ANSYS will automatically create square meshes that have an
edge length of 0.01m along the lines you selected.
Now go to Preprocessor>Meshing>Mesh Attributes>Default Attributes. The window is shown below:
Make sure that the window matches the one above, click OK, and proceed to
Preprocessor>Meshing>Mesh>Areas>Free
A popup window will appear on the left hand side of the screen. This window allows you to select the area
to be meshed. Click within the rectangle you created before and click OK.
The block should now look like this when you are done meshing:
Boundary Conditions and Constraints:
Go to Preprocessor>Loads>Define Loads>Apply>Fluid CFD>Velocity>On lines. Pick the left edge
block and Click OK. The following window comes up.
Enter 0.1 in the VX value field and click OK. The 0.1 corresponds to the velocity of 0.1 meters per second
of air flowing from the left side.
Repeat the above and set the Velocity to ZERO for the air along all of the top and bottom edges. This is
due to the no slip condition. (VX=VY=0 for all sides)
Go to Main Menu>Preprocessor>Loads>Define Loads>Apply>Fluid CFD>Pressure DOF>On Lines.
Pick the right side of the block and click OK. This signifies the open end of the pipe.
Once all the Boundary Conditions have been applied, the boundary conditions on the plates should look like
this:
Now the Modeling of the problem is done.
SOLUTION
Go to ANSYS Main Menu>Solution>Flotran Set Up>Execution Ctrl.
The following window appears. Change the first input field value to 25, as shown. No other changes are
needed. Click OK.
Go to Solution>Run FLOTRAN.
Wait for ANSYS to solve the problem.
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:
Enter the values as shown and click OK. The (zoomed in) plot of velocities will look as follows. (Note:
this is a zoomed in portion of the entrance of the pipe)
A Zoomed in section at the end of the pipe reveals that in fact, a laminar profile has developed and the
velocity yields the correct distribution:
Saving Projects
Simply go to Utility Menu>File>Save As… and save the project using the desired filename. To open the
file later, run Interactive (the first thing explained in this tutorial) as usual, and when that is done, go to
Utility Menu>File>Resume From… and choose the saved job from the directory it is saved in.