Você está na página 1de 13

ANSYS Workbench 13 Tutorial: 2D Meshing with prism layers on wall boundaries

In this tutorial, we will make the following 2D mesh:

Ok lets start by opening/running the ANSYS Workbench software. Start >> ANSYS 13.0 >> Workbench

Starting ANSYS 13 Workbench


http://syeilendrapramuditya.wordpress.com

Left click the Fluid Flow (FLUENT) menu in the Toolbox and then drag to Project Schematic area. Then rename the case name to 2D Flow.

Right click on the Geometry menu and select Properties. And then change Analysis Type from 3D to 2D.

http://syeilendrapramuditya.wordpress.com

Now save the project to any location you like. Right click again on the Geometry menu and select New Geometry to open ANSYS DesignModeler, and then select Meter as the desired length unit.

Click the XYPlane in the Tree Outline, this means that we will use the X-Y plane to draw our 2D geometry.

http://syeilendrapramuditya.wordpress.com

Click the blue z-axis at the bottom-right corner of the Graphics window to get front view of the X-Y plane.

Click the Sketching tab below the Tree Outline box, and select Settings in the Sketching Toolboxes.

Click the Grid menu and select both Show in 2D and Snap options. Click the Major Grid Spacing menu and type just 1 (not 1 m). Click the Minor-Steps per Major menu and type 2. Now try to zoom-in and zoom-out the Graphics window by clicking on it first and then use the mouse scroller.

http://syeilendrapramuditya.wordpress.com

Front view of the X-Y plane with grids on

Now the canvas is ready for us to sketch our geometry. Click the Draw menu in the Sketching Toolboxes, and then select Circle.

http://syeilendrapramuditya.wordpress.com

Now you can draw the circle by first clicking on the coordinate origin, and then move the cursor so that the diameter of the circle is 1 m (or the radius is 0.5 m).

Now we create a surface body, based on the circle. Click Concept >> Surfaces From Sketches.

Select the Base Objects to Sketch1, and click Apply.

http://syeilendrapramuditya.wordpress.com

And then click Generate button above the Graphics window.

Now we will create a rectangular domain surrounding the circle. We need to draw the rectangle in a new sketch, since later we will subtract the circle from the rectangular shape to create a hole in the computational domain. To create a new sketch, first click the XYPlane menu in the Tree Outline, and then click New Sketch button. Now you can see that there are 2 sketches (Sketch1 and Sketch2) under the XYPlane menu.

http://syeilendrapramuditya.wordpress.com

To draw the rectangle, first click the Sketch2 menu in the Tree Outline. Now click again the Draw menu in the Sketching Toolbox and select Line. Draw two horizontal lines, one from (X,Y = -3,3) to (X,Y = 7,3), and the other from (X,Y = -3,-3) to (X,Y = 7,-3). And then draw two vertical lines connecting the edges of the two horizontal lines, so that finally we get a rectangular shape.

Now we will define the rectangle as a frozen surface body. Click Concept >> Surfaces From Sketches. Set Base Objects as Sketch2 and then click Apply. And then set Operation as Add Frozen.

Then click the Generate button. Now the domain should look like the following figure:

http://syeilendrapramuditya.wordpress.com

Now we will subtract the circle from the rectangle. Click Create >> Boolean.

Set Operation to Subtract, and then select the rectangle as Target Bodies and the circle as Tool Bodies (you do this by clicking each respective shape in the Graphics window).
http://syeilendrapramuditya.wordpress.com

Now click the Generate button. Now you can see that the circle becomes a hole.

The geometry after subtraction operation.

Now save the project and close DesignModeler. To start the meshing process, right click the Mesh menu in the Project Schematic window and select Edit to open ANSYS Meshing.

http://syeilendrapramuditya.wordpress.com

10

Note that the geometry we just created is automatically loaded. Right click the Mesh menu in the Outline window and select Insert >> Method. Then select the surface body and click Apply to set Geometry. And then set Method to Triangles.

Now right click Mesh >> Insert >> Sizing, and set the surface body as Geometry. And then set Element Size to 0.15.

http://syeilendrapramuditya.wordpress.com

11

Now to create the prism layers, right click Mesh >> Insert >> Inflation. Using face selector , set the surface body to Geometry. Then using edge selector , select the two

horizontal lines and the circle (you need to hold the CTRL key when selecting the edges), and set them as Boundary. And set other Inflation options as depicted in the following figure:

Save the project and then click Update.

Click the Mesh menu in Outline box to see the meshing result, that is shown below:

http://syeilendrapramuditya.wordpress.com

12

Triangle meshing with wall prism layers.

At this point, our meshing process is completed. Next you can either continue this Workbench project by setting up Fluent calculation condition, or you can export the mesh (to be used later by a solver) by clicking File >> Export.

http://syeilendrapramuditya.wordpress.com

13

Você também pode gostar