Automated Meshing with the WebUI

Automated Meshing with the WebUI#

After having uploaded a CAD geometry into our new project (see this Quick Start tutorial) we now need to mesh it. We will do so using our automated meshing toolchain.

When opening the project that we created in the previous Quick Start tutorial you will notice a Meshing defaults box on the top left. When clicking on that Meshing defaults box, a pop up window will appear where you can fill in the various mesh parameters required to create both a surface mesh and then a volume mesh.

../../_images/meshing_pop_up.png

Meshing parameters pop up.#

Most values are filled in by default using overall dimensions from the CAD you have uploaded. However, you are expected to fill in the Surface max edge length and Boundary layer first layer thickness values. Please enter 0.1 m as a Surface max edge length and 1e-6 m as a Boundary layer first layer thickness.

If you are unsure about what values to enter for each of those meshing parameters please look at our meshing guidelines. You can also learn more about what each parameter does by opening our help (?) window and looking into the Surface mesh and Volume mesh sections.

../../_images/question_mark.png

Accessing the help menu.#

../../_images/help_popup.png

GUI documentation.#

We will also need to specify some leading edge refinements criterion to properly capture the geometry curvature in those regions. Please follow the steps outlined below to specify the leading edge surface mesh criterion of angle 2°. As in, force the mesh to refine until it captures all CAD curvature within 2°.

../../_images/edge_refine.png

Creating a surface edge refinement rule.#

../../_images/leading_edge.png

Creating a leading edge refinement rule.#

Now that required settings have been defined, you can launch the meshing tool chain. If you look at the Run icon at top right and click on the downwards facing triangle you will notice that you have the option of creating just the surface mesh or both the surface mesh then the volume mesh.

Please launch the volume meshing

../../_images/run_volume_mesh.png

Launching the surface and volume meshers.#

After a few seconds, you will notice that the surface mesh is completed and the resulting surface mesh will be displayed. It is easy to visually inspect the resulting surface mesh.

To pan the view left and right, press the right mouse button. Zooming in and out can be done by the mouse scroll wheel. To rotate the geometry, simply left mouse click on a point on the geometry, keep the mouse button pressed and move the mouse around. The point you have clicked on becomes the rotation point. A very useful feature is the View cube on the bottom right of the screen. Clicking on any faces or bevel will bring the associated view.

../../_images/view_cube.png

Using the view cube to align the view.#

After a few seconds the volume mesh will have been generated.

You can view the mesh at anytime by clicking on the Mesh icon in the top middle of your screen.

../../_images/mesh_icon.png

Accessing the mesh view. Notice the volume mesh node count on the upper left of the window.#

Congratulations, you now have created a mesh that is ready to run simulations on. We will do that on the following Quick Start for Case Launching.

You can now proceed to our next quickstart tutorial on launching a case