Professional Documents
Culture Documents
www.HBSNumerics.com
www.HBSNumerics.com
Table of Contents
The HBS TriGrid .............................................................................................................................................................. 2
Drawing Shapes................................................................................................................................................................ 2
Creating Triangular Meshes ............................................................................................................................................. 3
Drawing More Shapes ...................................................................................................................................................... 3
Transforming Shapes........................................................................................................................................................ 3
Combining Shapes............................................................................................................................................................ 4
Apply Transform and Combine Processes ....................................................................................................................... 5
Making a Gear ................................................................................................................................................................ 10
Including Interior Holes (Shapes) .................................................................................................................................. 19
Editing Shape Points (Nodes)......................................................................................................................................... 21
Drawing Irregular Shapes ............................................................................................................................................... 21
Tracing Irregular Shapes ................................................................................................................................................ 26
Combining Exterior and Interior Shapes ........................................................................................................................ 27
Geometry Characteristics ............................................................................................................................................... 30
The View Toolbar .......................................................................................................................................................... 33
Examples from the World Wide Web ............................................................................................................................ 34
www.HBSNumerics.com
Drawing Shapes
Use the toolbar on the left side of the screen to draw shapes.
For example, to draw a rectangle, click on the rectangle icon on the toolbar. Once selected, click the left
mouse button on the drawing area to locate the first corner of the rectangle and drag the mouse to the
opposite corner and click the left mouse button again. You will be prompted to specify some parameters. As
a beginner, press the Enter key three times to accept the default parameters. You may draw polygons,
ellipses, polylines, arcs, beziers, curves, or free-hand drawings in a similar fashion. Note, however,
whenever you finish drawing a shape, press the Enter key three times to accept the default
parameters.
www.HBSNumerics.com
Transforming Shapes
Transformations such as move, scale, rotate, and skew may be applied to any shape. To apply
transformation on a shape, click on the Transform button on the right hand side of the screen:
www.HBSNumerics.com
The outline of all shapes will be displayed. Once you click on a shape, it will be selected and eight adorners
will appear on the shape sides and corners. The mouse will change according to its position.
You may drag shapes by placing the mouse cursor on the shape's body. When the cursor changes to
,
start dragging it to the required position. To resize a shape, place the cursor on one of the eight adorners and
move outward or inward as desired. Similarly you may rotate shapes by clicking next to one of the four
corner adorners of the shape's bounding box and rotate either clockwise or counterclockwise. To skew a
shape, place the mouse cursor next to one of the side adorners, the cursor changes to north-south or eastwest directions. You may skew the shape accordingly.
Combining Shapes
You may combine any of the shapes by selecting the Combine button on the right hand side of the screen:
Click on the common area between two geometries, you will be prompted to select the combine method
(Union, Intersect, Exclude, and Xor). As a beginner, select Union. The two shapes will be merged as shown
next. You may triangulate shapes by clicking on the Generate button.
www.HBSNumerics.com
4. Click on the Transform button. Select the rectangle and resize it to make it a bit longer and drag it
inside the hexagon as shown next:
Apply Transform and Combine Processes | HBS TriGrid V 1.0| 2017 www.HBSNumerics.com
www.HBSNumerics.com
5. Click on the Combine button and click the common area between the two shapes (white area). When
prompted to select the combine mode, select Exclude.
6. Click on the Transform button and move the hexagon to the left end of the screen and move the
rectangle to the right of the screen as shown next:
7. Click on the Combine button again and select the common area between the rectangle and the
transformed hexagon and select Union. You are supposed to get a shape similar to the following
figure:
Apply Transform and Combine Processes | HBS TriGrid V 1.0| 2017 www.HBSNumerics.com
www.HBSNumerics.com
9. We need to remove the extra generated points as shown inside the red circles. First turn off the snap
point grid by clicking it. Next click on the Delete Point button and click every point to be removed.
You are supposed to get a similar shape as shown below.
Apply Transform and Combine Processes | HBS TriGrid V 1.0| 2017 www.HBSNumerics.com
www.HBSNumerics.com
10. Now generate the mesh by clicking on the Generate button and when prompted to coarsen the mesh,
simply press NO. See the following figure:
11. Let's insert two holes at the beginning and end of the wrench. Draw a small circle by clicking the
Ellipse button. Click on the drawing canvas to start drawing the circle. While holding the Ctrl key,
move the mouse to the required position and release the LMB when finished. Make a copy of the
circle by clicking on the Copy button on the right side of the screen. Click on the circle, select Yes.
Click on the Paste button and click anywhere on the screen and select Yes when prompted.
12. Move the circles to the required positions on the wrench as shown next:
Apply Transform and Combine Processes | HBS TriGrid V 1.0| 2017 www.HBSNumerics.com
www.HBSNumerics.com
13. Last but not least, we need to exclude the two circles by clicking on the Combine button. Click
inside each circle and select Exclude. When prompted, respond Yes.
14. Now generate the mesh by clicking on the Generate button and when prompted to coarsen the mesh,
simply press NO. See the following figure:
15. You can check the output via the Data menu. Click on the Data menu and select Mesh Nodes. If the
project is not saved yet, you will be prompted to save it. Save it in the right location. The table
appears as shown next. You may copy it and paste it in excel or any windows-based application.
Apply Transform and Combine Processes | HBS TriGrid V 1.0| 2017 www.HBSNumerics.com
www.HBSNumerics.com
Making a Gear
We will draw two gears like these ones:
10
www.HBSNumerics.com
1. Draw two concentric circles and a small square with the help of the snap point grid tool as shown
next.
2. Make eight copies of the small square. Copies will be stacked on each other. Move them one by one
and place them in their right position as shown next. You may need to turn off the Snap Point Grid
tool for smooth movement. Use the Transform Rotate tool to rotate them and place them correctly.
11
www.HBSNumerics.com
3. Now you need to combine all squares by selecting the Combine button and clicking inside each
square and select Union.
4. Now generate the mesh by clicking on the Generate button and when prompted to coarsen the mesh,
simply press NO. See the following figure.
12
www.HBSNumerics.com
6. Generate the mesh by clicking on the Generate button and when prompted to coarsen the mesh,
simply press NO. See the following figure.
13
www.HBSNumerics.com
7. Exclude the small circle by selecting the Combine button and clicking inside the circle and select
Exclude. Press Yes when prompted.
8. Generate the mesh by clicking on the Generate button and when prompted to coarsen the mesh,
simply press NO. See the following figure.
14
www.HBSNumerics.com
9. You may make as many copies of the final region as you want as shown next.
1. Let's do the above example differently. Draw a circle with the help of the snap point grid tool as
shown:
15
www.HBSNumerics.com
4. Delete the top region using the Delete button on the right side of the screen:
16
www.HBSNumerics.com
5. Make eight copies of the small region. Copies will be stacked on each other. Move them one by one
and place them in their right position as shown next. You may need to turn off the Snap Point Grid
tool for smooth movement. Use the Transform Rotate tool to rotate them and place them correctly.
17
www.HBSNumerics.com
Now you need to exclude all regions by selecting the Combine button and clicking inside each region and
select Exclude.
6. Move the gear to the right. Delete all small regions one by one. You will be left with one region only
as shown:
18
www.HBSNumerics.com
7. We need to remove the extra generated points as before and generate the mesh as follows:
As a starter, click the Generate menu item under View and have a look at the generated mesh. You are
supposed to get a similar figure.
19
www.HBSNumerics.com
Now to combine the interior shapes, you need to exclude them. Select Combine Geometries again and click
inside each of the shapes to be excluded. When prompted to select the combine method, select Exclude in
all cases. Click the Generate menu item under View and have a look at the generated mesh. You are
supposed to get a similar figure as shown next. In some cases, the mesh does not generate, in such a case,
you might need to enlarge the region size or do some minor transformation to get the generation process
started.
20
www.HBSNumerics.com
Now let's combine other shapes, say a Hexagon and an Ellipse as shown next:
21
www.HBSNumerics.com
Now select the Combine Geometries menu item under Geometry and select Union as a starter.
22
www.HBSNumerics.com
You may need to do some point editing. For example, delete some of the extra points at the intersection of
the two shapes as shown above inside the red circles. Now generate the mesh to get the following figure.
You may include holes as before. Let's draw an irregular shape inside as shown next:
23
www.HBSNumerics.com
To display the control volumes of the generated mesh, go to View and to Control Volumes. You get a
similar figure.
24
www.HBSNumerics.com
To display the circle packing of the generated mesh, go to View and to Circle Packing. You get a similar
figure.
25
www.HBSNumerics.com
You may use the Line or Stroke icons or both to trace the outline of the shape as shown next.
www.HBSNumerics.com
The next figure shows the generated mesh of the combined shapes. The next five figures depict the
possibility of including interior shapes (hexagon, ellipse, and irregular shape) as holes inside a geometry.
27
Combining Exterior and Interior Shapes | HBS TriGrid V 1.0| 2017 www.HBSNumerics.com
www.HBSNumerics.com
28
Combining Exterior and Interior Shapes | HBS TriGrid V 1.0| 2017 www.HBSNumerics.com
www.HBSNumerics.com
29
Combining Exterior and Interior Shapes | HBS TriGrid V 1.0| 2017 www.HBSNumerics.com
www.HBSNumerics.com
Geometry Characteristics
Characteristics of a certain geometry may be displayed via the Geometry toolbar located at the top right of
the screen:
30
www.HBSNumerics.com
For example, to change the fill of a geometry, click on the Fill icon, the Geometry Fill Window appears:
Select the requested color and preview it via Apply or approve it via OK or cancel it via Cancel.
31
www.HBSNumerics.com
The other properties including length, area, bounds, and coefficient matrix, are displayed by clicking on the
desired button and then click on the geometry whose properties are to be displayed.
32
www.HBSNumerics.com
is used to view almost all properties related to the generated mesh; e.g. nodes, numbers, boundary and path,
and control volumes and circle packing of the generated mesh as shown next. View buttons are toggles to
allow display/hide capabilities.
33
www.HBSNumerics.com
34
Examples from the World Wide Web | HBS TriGrid V 1.0| 2017 www.HBSNumerics.com
www.HBSNumerics.com
35
Examples from the World Wide Web | HBS TriGrid V 1.0| 2017 www.HBSNumerics.com