{"id":14059,"date":"2018-03-08T18:29:29","date_gmt":"2018-03-08T18:29:29","guid":{"rendered":"https:\/\/www.simscale.com\/?page_id=14059"},"modified":"2025-07-14T09:52:22","modified_gmt":"2025-07-14T09:52:22","slug":"meshing","status":"publish","type":"page","link":"https:\/\/www.simscale.com\/docs\/simulation-setup\/meshing\/","title":{"rendered":"Meshing in SimScale"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In order to compute the solution for a given simulation, the simulation domain needs to be&nbsp;discretized. It essentially means splitting up one large problem into multiple smaller mathematical problems. Solving the entire continuous domain at once is not possible or reasonable whereas solving multiple subdomains of it becomes feasible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This discretization process is the base for methods such as the Finite Difference Method (FDM), Finite Volume Method (FVM), and Finite Element Method (FEM), whose purpose is to take equations in the continuous form and generate a system of algebraic difference equations. This process generates a set of discrete points and cells called meshing, which, as a whole, cover the entire simulation domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In case you want to read more about the theoretical background of meshing, take a look at our <a href=\"https:\/\/www.simscale.com\/docs\/simwiki\/\">SimWiki<\/a> section, where we describe in more detail <a href=\"https:\/\/www.simscale.com\/docs\/simwiki\/preprocessing\/what-is-a-mesh\/\">what a mesh is<\/a>.<\/p>\n\n\n\n<h2 id='mesh-setup' id='mesh-setup' id='mesh-setup' class=\"wp-block-heading\" id=\"mesh-setup\">Mesh Setup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike traditional simulation software where meshing is the second step in the simulation setup after geometry upload, SimScale delays the meshing step until all other steps are completed. This is so that you don&#8217;t have to worry or wait until the mesh generation process to assign the setup parameters or boundary conditions, as it can be done on the CAD model itself.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/09\/mesh-in-simulation-tree.png\"><img loading=\"lazy\" decoding=\"async\" width=\"241\" height=\"402\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/09\/mesh-in-simulation-tree.png\" alt=\"mesh setting in the simulation tree\" class=\"wp-image-33280\" style=\"aspect-ratio:0.5995088974444478;width:259px;height:auto\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/09\/mesh-in-simulation-tree.png 241w, https:\/\/frontend-assets.simscale.com\/media\/2020\/09\/mesh-in-simulation-tree-180x300.png 180w\" sizes=\"auto, (max-width: 241px) 100vw, 241px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 1: Setting up the mesh in the SimScale Workbench is the last part of the simulation setup making it easier to build the setup without having to wait for mesh generation. The assignment of parameters is done on the CAD model directly.<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 id='general-mesh-settings' id='general-mesh-settings' id='general-mesh-settings' class=\"wp-block-heading\" id=\"general-mesh-settings\">General Mesh Settings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SimScale strives to make the meshing process as simple and user-friendly as possible. In the end, the user should only have to decide on the trade-off between the fineness of the mesh (and thereby the accuracy of the result) and the required computation time (number of processors assigned).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Several algorithms are available to create three-dimensional tetrahedral and hexahedral meshes within the platform. Due to the robustness and general applicability of the meshing algorithms, both automated and manual versions are provided. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Based on the chosen <a href=\"https:\/\/www.simscale.com\/docs\/analysis-types\/\">analysis type<\/a>, a default mesh setup will be created, which in most cases is a good starting point. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/standard-mesh-setup-window.png\"><img loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"1074\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/standard-mesh-setup-window.png\" alt=\"default meshing setup\" class=\"wp-image-106103\" style=\"width:381px;height:auto\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/standard-mesh-setup-window.png 525w, https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/standard-mesh-setup-window-147x300.png 147w, https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/standard-mesh-setup-window-501x1024.png 501w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 2: Mesh settings panel. A default mesh setup specific to the chosen analysis type is created automatically.<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id='meshing-algorithm' id='meshing-algorithm' id='meshing-algorithm' class=\"wp-block-heading\" id=\"meshing-algorithm\">Meshing Algorithm<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Most of the mesh settings depend on the chosen mesh algorithm. Current meshing strategies available on the platform are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.simscale.com\/docs\/simulation-setup\/meshing\/standard\/\" rel=\"noopener\">Standard<\/a> (<em>recommended<\/em>) <\/li>\n\n\n\n<li><a href=\"https:\/\/www.simscale.com\/docs\/simulation-setup\/meshing\/hex-dominant\/\">Hex-dominant<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.simscale.com\/docs\/simulation-setup\/meshing\/hex-dominant\/#advanced-settings-parametric\">Hex-dominant parametric<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.simscale.com\/docs\/analysis-types\/subsonic-cartesian\/#mesh-settings\">Meshing for <em>Multi-purpose <\/em>analysis type<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The available meshing algorithms depend on the chosen analysis type, but also on the CAD domain file format. For example, structural simulations are limited to tetrahedral elements (<em>Standard<\/em> mesher), while most CFD cases can be solved with any of the given algorithms.<\/p>\n\n\n\n<h3 id='preferred-number-of-cpus-processors' class=\"wp-block-heading\" id=\"preferred-number-of-processors\">Preferred Number of CPUs (Processors)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The setting for the preferred number of processors defines the size of the cloud computing instance that will be used to compute the mesh. The chosen setting defines the <strong>number of computing cores<\/strong> (CPUs) of the machine. In some cases, based on availability, a machine with a different number of cores may be selected to run the job.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When selecting the preferred number of cores, keep in mind that instances with more CPUs also come with <strong>more memory<\/strong>, which in many cases is the limiting factor in meshing. If unsure stick to the default <em>Automatic<\/em> option.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Learn more about the usage of core hours in our <a href=\"https:\/\/www.simscale.com\/knowledge-base\/what-is-core-hours\/\">knowledge base article<\/a>.<\/p>\n\n\n\n<h3 id='mesh-estimation' id='mesh-estimation' id='mesh-estimation' class=\"wp-block-heading\" id=\"mesh-estimation\">Mesh Estimation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Even before the mesh is generated, the Workbench makes it possible to get an estimated range of the number of cells and nodes that will be created along with the approximate time required and the consumption of core hours. These numbers can be seen at the top and bottom of the mesh settings panel (see Figure 2).<\/p>\n\n\n\n<h3 id='mesh-generation' id='mesh-generation' id='mesh-generation' class=\"wp-block-heading\" id=\"mesh-generation\">Mesh Generation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once all the parameters have been set additional mesh refinements can be added based on individual requirements under <em>Refinements<\/em> (see Figure 1). Click on the <strong>&#8216;Generate&#8217;<\/strong> button to generate the mesh. <\/p>\n\n\n\n<h2 id='mesh-assignment' id='mesh-assignment' id='mesh-assignment' class=\"wp-block-heading\" id=\"mesh-assignment\">Mesh Assignment<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Multiple meshes can be created for the same simulation or the same mesh can be shared across multiple simulations in the project, given that the mesh type is compatible with the chosen analysis type. E.g., a standard mesh that has been created in a <a href=\"https:\/\/www.simscale.com\/docs\/analysis-types\/static\/\">Static analysis<\/a> can also be assigned to a <a href=\"https:\/\/www.simscale.com\/docs\/analysis-types\/heat-transfer\/\">Heat transfer analysis<\/a> in the same project. Making changes to the mesh in one simulation will also update it in all other simulations wherever it is assigned.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To create a new mesh for the same simulation click on <strong>&#8216;+&#8217;<\/strong> next to <em>Create new mesh<\/em> or just copy the default settings from previous meshes by selecting <em>Copy mesh settings from&#8230;<\/em> option.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/new-standard-mesh.png\"><img loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"1080\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/new-standard-mesh.png\" alt=\"meshing options within simscale platform\" class=\"wp-image-106105\" style=\"width:393px;height:auto\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/new-standard-mesh.png 525w, https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/new-standard-mesh-146x300.png 146w, https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/new-standard-mesh-498x1024.png 498w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 3: Click on <strong>&#8216;+&#8217;<\/strong> next to <em>Create new mesh<\/em> or just copy the default settings from previous meshes by selecting <em>Copy mesh settings from&#8230;<\/em> option.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Before a simulation run can be started, the assigned mesh needs to be generated. This can be done manually by clicking on the<strong> &#8216;Generate&#8217;<\/strong> button or automatically when the simulation run is started.<\/p>\n\n\n\n<div class=\"hw-block hw-note hw-note--info hw-note\">\n    <div class=\"hw-note__title\">\n        <p class=\"hw-note__titleText\"><i class=\"fa fa-exclamation-circle\" aria-hidden=\"true\"><\/i>Note<\/p>\n    <\/div>\n    <div class=\"hw-note__body\">\n        <p>While meshes are created within a simulation, all meshes, independent of where they were first created, can be referenced in, assigned to, and edited from any other simulation setup. Copying a simulation does <strong>not<\/strong> also copy meshes, but simply references the original mesh as an independent object.<\/p>\n    <\/div>\n<\/div>\n\n\n\n<h2 id='mesh-quality' id='mesh-quality' id='mesh-quality' class=\"wp-block-heading\" id=\"mesh-quality\">Mesh Quality<\/h2>\n\n\n\n<p class=\"is-style-inline-img wp-block-paragraph\">Now it is also possible to check the mesh quality visually on the SimScale platform. This facility is not available for uploaded meshes though. Once the mesh is successfully created, it is indicated with the <strong>Complete state symbol<\/strong>  <img loading=\"lazy\" decoding=\"async\" width=\"20\" height=\"20\" class=\"wp-image-32216\" style=\"width: 20px;\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/08\/CompleteState.png\" alt=\"checkbox to show complete state\"> . The mesh log information and quality can be viewed by clicking on the boxed options shown below:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/09\/meshing-quality.png\"><img loading=\"lazy\" decoding=\"async\" width=\"237\" height=\"131\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/09\/meshing-quality.png\" alt=\"viewing meshing log and quality in simscale \" class=\"wp-image-33281\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 4: Accessing <em>Meshing Log<\/em> and <em>Mesh Quality<\/em> once the mesh has been successfully generated.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Basic mesh information like the number of edges, faces, nodes, prisms, etc. can be checked under the <em>Event log<\/em> (see Figure 3). <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Want to check and improve your mesh quality with this feature? Quickly check out our <a href=\"https:\/\/www.simscale.com\/docs\/simulation-setup\/meshing\/mesh-quality\/\">mesh quality<\/a> page or <a href=\"https:\/\/www.simscale.com\/knowledge-base\/how-to-check-and-improve-mesh-quality\/\">dedicated article<\/a> with an example using meshing log. <\/p>\n\n\n\n<h2 id='mesh-upload' id='mesh-upload' id='mesh-upload' class=\"wp-block-heading\" id=\"mesh-upload\">Mesh Upload<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Besides creating mesh within the platform, users have the facility to use meshes created with other tools, e.g. <a href=\"https:\/\/www.salome-platform.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Salome<\/a>, by uploading them directly to the platform. Find out more about mesh upload <a href=\"https:\/\/www.simscale.com\/?page_id=20104&amp;preview=true\" rel=\"noopener\">here<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Try your hand at these meshing algorithms by practicing our <a href=\"https:\/\/www.simscale.com\/docs\/tutorials\/#meshing-simscale-tutorials\">mesh tutorials<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to compute the solution for a given simulation, the simulation domain needs to be&nbsp;discretized. It essentially...","protected":false},"author":1,"featured_media":0,"parent":17179,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-documentation.php","meta":{"_acf_changed":false,"_crdt_document":"","inline_featured_image":false,"footnotes":""},"class_list":["post-14059","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/pages\/14059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/comments?post=14059"}],"version-history":[{"count":0,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/pages\/14059\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/pages\/17179"}],"wp:attachment":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/media?parent=14059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}