The geometry is created in the following steps:
- Sketch: Sketch the rectangle.
- Split edges: Split the horizontal edges to demarcate the unheated and heated sections.
- Dimension edges
- Create "Surface Body": Create a "Surface Body" from the sketch. This is analogous to, say, extruding a sketch to create a 3D body. We always go from a "sketch" to a "body" in DesignModeler. Here the "body" is 2D and referred to idiosyncratically as "Surface Body."
First, we need to specify that the geometry is two-dimensional(2D). Right click the Geometry box and select Properties. This will open the Properties of Schematic A2: Geometry Window. Under Advanced Geometry Options change Analysis Type from 3D to 2D .
After the analysis type has been set, you can close the Properties window. We are now ready to launch Ansys DesignModeler, the drawing tool in Ansys. Open DesignModeler by double-clicking the geometry box . Twiddle your thumbs until the DesignModeler window comes up. You will be prompted to choose a standard unit of measurement. Select Meter as the standard unit and click OK .
We want to sketch on the XY plane. To look at the XY plane, click the positive Z-Axis on the compass in the Graphics window.
Look to the left and you'll see the Tree Outline window. To sketch on the XY plane, highlight XYPlane in the Tree Outline window. To begin sketching, click on the Sketching tab at the bottom of the Tree Outline window. To draw our domain, we will use the Rectangle tool. Click on in the Sketching Toolboxes window. In the blue graphics window, draw the rectangle by first clicking on the origin (make sure the P icon is showing, meaning the cursor is coincident with a Point, in this case the origin). Then select a point in the first quadrant.
Because the wall has two sections, an isothermal section and a heated section, we will need to split the upper edge. To split the edge, select the Modify tab in the Sketching Toolboxes window, and select . Next, click any point along the upper surface of the rectangle. This will split the line into two segments.
It turns out that to get a nice regular mesh, the bottom edge should also be split in the same way. So split the bottom edge as well (don't worry about the location, we'll adjust that next).
Now we will make the second segment of each edge the same length (this will automatically ensure that the first segments are also of the same length). Go to the Constraints tab and select "Equal Length." Click on the top right partition first. Then click on the bottom right partition. This will make these segments the same length. ensuring that both the top and bottom edges are split at the same location. If you made a mistake, there is an undo button at the top left (caveat: this undo button works only in the sketching mode).
The next step in creating the domain will be adding dimensions. In the Sketching Toolboxes window, select Dimensions > General. First, click the left segment of the upper edge of the rectangle, then drag the cursor to place the dimension above the line. Repeat this process for the right segment of the upper edge. Last, dimension the left edge as shown below.
We can set the dimension in the Details View window. In the Details View window, change H1 to 5.76
, H2 to 2.88
, and V3 to 0.06
. You can zoom in/out using the middle mouse wheel. You can move the dimensions by selecting Dimensions > Move and then dragging the labels by grabbing them with the mouse.
Recall that we need to create a 2D "Surface Body" from the sketch. To accomplish this, look to the top menu and select Concept > Surfaces From Sketches.
Next, click any edge on the sketch in the Graphics window. This will select the corresponding sketch. In the Details View window, select Base Objects > Apply. Now the program knows from which sketch to create the surface.
Click Generate to create the surface. The geometry of the domain, if you have followed the tutorial successfully, should look like this:
In the tree outline, expand 1 Part, 1 Body and click on Surface Body. In the Details window, next to Fluid/Solid change the material to Fluid.
Save the project by selecting File > Save Project from the main menu. Close DesignModeler. We are ready to move on to the meshing step.
For users of Ansys 15.0, please check the following topic for procedures for turning on the Auto Constraint feature before creating sketches in DesignModeler.