You are on page 1of 23

LID CAVITY PROBLEM ON ANSYS

Steps to Follow Using ANSYS Workbench

CREATING GEOMETRY

Step 1: Open ANSYS Workbench. After opening, this window appears.

Step 2: Now open Fluid Flow (Fluent)


After opening you will get this window.

This is the whole setup known as the project schematic that includes:

Step 3: Double click Geometry option to open Design Modeler/New Space Claim
Geometry.
Step 4: Under SpaceClaim, select New Sketch Plane and then choose X-Y as a sketch plane.
Step 5: Once the sketch plane is selected, click the Plan View to view normal to the sketch
plane.

Now we had just setup the sketch plane to draw any geometry. In our case, we have square
cavity of 1m X 1m.

Step 6: Select Rectangle from the Design toolbar located at the top-left side. And draw a
square of 1m x 1m.
Step 7: Once the required geometry is drawn, then choose Return to 3D Mode, located at
the bottom left side to make a 3D laminar from 2D sketch.
Now we have just completed the Geometry step.
Close the SpaceClaim by going File  Exit SpaceClaim.
MESHING
Once we had created geometry we have to mesh the geometry, i.e. discretising the flow
domain. Following are the steps to follow for meshing:

Step 1: Now open Mesh under ANSYS Workbench.

Once the Mesh is opened, the following window will appear:

For normal view, go to tripod and hit the +Z Axis. This will show only the X-Y Plane as shown
below.
Step 2: Now go to Mesh  Generate Mesh. This will create default Mesh settings.
Following is the default Mesh:
Step 3: At next, we go to further mesh refinement as follows:

Go to Geometry selection and select the whole body and hit Apply.
Now update the mesh.

Finally, this will create a further refined mesh having greater number of cells or control
volumes.

Step 4: In ANSYS we have to specify Boundary Conditions, for which we have to create
boundaries.
Firstly, select upper boundary (or edge) and Create Named Selection.
Name it as “Moving Wall”

Similarly select other three edges one-by-one by pressing the Ctrl button & name it
together as the “Stationary Walls”
So we have Moving Wall as

And Stationary Walls as

This finishes the Meshing step.


SETUP & SOLUTION

Step 1: Now open Setup >

While opening Setup the following window appears,

Just click on OK and Setup will starts to open.

Step 2: Once the Setup was opened, the following window will appear.
By default Solver has already some settings that we want under the General tab.
For example,
Type  Pressure-Based
Velocity Formulation  Absolute
Time  Steady
2D Space  Planar
Don’t alter these settings.
Also Model is set to Viscous (Laminar) by-default.

Step 3: At next we define material that is to be specified under flow domain, i.e. water.
Double click on Materials (located at the right side) under the Setup panel.
Go to:
Materials  Fluid  Create/Edit Materials
Then open Fluent Database.

Under the Fluent Fluid Materials select water-liquid (h2o<l>) and hit copy button.
Now close the windows.

Step 4: Now we specify the material that we had just created under Cell Zone Conditions.
Double click on fff_surface and set the Material Name to water-liquid.

Step 5: At next we define Boundary Conditions.


Select moving_wall and change the Wall Motion from default option
Stationary Wall  Moving Wall
Speed (m/s) = 0.000893 (For Re = 1000)
Since
UL
Re =
υ
We have : L = 1m; ν = 0.893 x 10-6 m2/s ( For water @ 25oC )
So for Re = 1000,
U ×1
1000 =
0.893 ×10−6
⇒ U = 0.000893 m/s
Similarly for stationary_walls we need Wall Motion to be Stationary which is by default. So
there is no need to alter it.

This completed the Setup part.


Now we come to the Solution part.
Step 6: Under the Solution double click on Methods and be sure the Scheme is set to
SIMPLE.

Step 7: Now go to Initialization  Initialize


Step 8: After Initialization go to Run Calculation and Calculate for 1000 Number of
Iterations.

Once the Calculation is completed & Solution is converged, close the Fluent.
File  Close Fluent

POST-PROCESSING

Step 1: Open Results.


Step 2: Create a Contour & name it as Velocity Contour.

Under Velocity Contour change the Locations to symmetry 1.

Also set the Variable to Velocity


Change the # of Contours to 20 and hit Apply button.

Step 3: Similarly create another Contour and name it as Pressure Contour.

So this concludes the Result part also.

You might also like