Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

2D UNSTRUCTURED GRID MESH GENERATION

Introduction: In this tutorial you will learn how to create geometry and
generate mesh for unstructured mesh for that geometry.

This tutorial demonstrates how to do the following

 Creating geometry
 Naming Boundaries
 Generating mesh
 Applying Boundary conditions
 Opening mesh in fluent

Procedure:
Start ANSYS ICEM CFD
File > Change Working Directory (create your own working directory with
your roll number) > Save project as (create tutorial name along with your
roll number).
1. Create geometry

a. Creating Point

Geometry > Create a point > Explicit Coordinates

Make a Point with X as 1


And Y as 1
Similarly, make points X as -1 and Y as 1
X as 1 and Y as -1
X as -1 and Y as -1.

Then

These are the four points.


b. Creating curves

Geometry > Create/Modify Curve > From Points > Select


two points using left mouse and click middle mouse button to
accept them.
Similarly create remaining three curves.

c. Creating Surface

Geometry > Create/Modify Surface > Simple Surface >


Select Four curves (lines) using left mouse button and click on
middle mouse to accept them.

2. Naming Boundaries
Parts (Right click) in Model Tree > Create Part > Create part by
selection > Select one curve and name as WALL1 in Part block.
Similarly, create WALL2, WALL3 and WALL4 then Apply and OK.
After selecting one wall, it will represent this way.

After selecting all the walls. Each wall will appear in different color.
You can see your WALLs in
the Parts tree.

3. Mesh Generation
a. Mesh > Global Mesh Setup < Shell Meshing Parameters >
Mesh type > All tri and Patch Independent in Mesh Method.

b. Mesh > Curve Mesh Setup > Select Curve > Select all the four
curves using left mouse button and click on middle mouse button to
accept.
Make Height ratio as 1.2 and Number of Nodes as 200, In Bunching
Law > Bigeometric > Spacing 1 as 2.5e-6 and Ratio1 as 1.2 and
Spacing 2 as 2.5e-6 and Ratio2 as 1.2.
c. Mesh > Compute Mesh > Surface Mesh only >

Finally our mesh appears like this.

4. Applying Boundary Conditions

a. Output > Boundary Conditions > Select a Solver > Fluent_V6


b. Edges > WALL1 > Create new > wall (Select wall from the list below)
Then similarly, apply boundary conditions for four walls.

5. Saving mesh and Exporting to fluent


a. Save project.
b. Save mesh (give specific name to mesh).
c. Exporting to fluent
Select Solver > Fluent_V6 as
Select Output Solver and ANSYS as Common
Structural Solver > APPLY > Dismiss.

d. Write input > It will ask whether to Save Current Project First > Yes
> Open the specific mesh > Select 2D in Grid Dimension and write
some name or number before fluent in Output file > Done

3 4
5

6. Reading a mesh in Fluent


Open Fluent > Read a file > Mesh > Select the mesh from your folder.
Check all the boundaries are imported.

You might also like