{"id":25417,"date":"2020-03-26T13:41:30","date_gmt":"2020-03-26T13:41:30","guid":{"rendered":"https:\/\/www.simscale.com\/?post_type=epkb_post_type_1&#038;p=25417"},"modified":"2023-09-21T08:36:05","modified_gmt":"2023-09-21T08:36:05","slug":"how-to-find-faults-in-the-cad-model-2","status":"publish","type":"epkb_post_type_1","link":"https:\/\/www.simscale.com\/knowledge-base\/how-to-find-faults-in-the-cad-model-2\/","title":{"rendered":"How to Find Faults in the CAD Model?"},"content":{"rendered":"\n\t\t<div id=\"eckb-article-page-container-v2\" class=\"eckb-article-page-content-counter eckb_ap_active_theme_simscale \" data-mobile_breakpoint=\"768\">    \t\t\t\t<a href=\"#eckb-article-content\" class=\"eckb-skip-link eckb-screen-reader-text\">Skip to main content<\/a>   <div id=\"eckb-article-header\" ><\/div>\n\t\t\t<div id=\"eckb-article-body\">  <div id=\"eckb-article-left-sidebar\" ><\/div>\n\t\t        <article id=\"eckb-article-content\" tabindex=\"-1\" data-article-id=\"25417\" >                        <div id=\"eckb-article-content-header-v2\" ><div id=\"eckb-article-content-header-row-3\"><div class=\"eckb-article-content-header-row-left-group\">\n\t\t<div class=\"eckb-article-content-created-date-container\">\t\t<span class=\"eckb-meta-data-feature-icon epkbfa epkbfa-calendar\"><\/span><span class=\"eckb-meta-data-feature-text\">Created On<\/span><span class=\"eckb-meta-data-feature-value\"><time class=\"entry-date\" datetime=\"2020-03-26T13:41:30+00:00\">March 26, 2020<\/time><\/span>\t\t<\/div> \n\t\t<div class=\"eckb-article-content-author-container\">\t\t<span class=\"eckb-meta-data-feature-icon epkbfa epkbfa-user\"><\/span><span class=\"eckb-meta-data-feature-text\">by<\/span><span class=\"eckb-meta-data-feature-value\">Theresa<\/span>\t\t<\/div> <\/div><\/div><\/div><div id=\"eckb-article-content-body\" >\n<p class=\"wp-block-paragraph\">CAD Cleanup is mostly different for any CAD so there is no &#8220;golden rule&#8221; that guarantees success, but there are some important rules and tricks. This article describes some general rules\/standards required for CFD simulations and best practices on how to find faults in cad models so that you have a starting point.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This content provides an overview of everything that is necessary for preparing a CAD for simulation.<\/p>\n\n\n\n<h2 id=\"approach\" class=\"wp-block-heading\" >Approach<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are two main rules which are crucial for any flow simulation:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Your CAD needs to be watertight: There must not be any holes except inlets and outlets.<\/li>\n\n\n\n<li>Your CAD must only contain solid parts. Shells or Sheets must not appear. The following picture demonstrates, what the geometry tree should look like after the upload:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"392\" height=\"204\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/03\/2020-03-20_17-53-35.png\" alt=\"how should the uploaded geometry look like in simscale\" class=\"wp-image-25636\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/03\/2020-03-20_17-53-35.png 392w, https:\/\/frontend-assets.simscale.com\/media\/2020\/03\/2020-03-20_17-53-35-300x156.png 300w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><figcaption class=\"wp-element-caption\">Figure 1: Geometry symbols to recognize between solid bodies and shell bodies<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">SimScale highlights the regions where the CAD is faulty. The picture below shows an example:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/03\/cad-faults-example.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"500\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/03\/cad-faults-example-1024x500.jpg\" alt=\"cad model of airplane with faulty edge and degenerated geometries cad faults simulation\" class=\"wp-image-25858\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/03\/cad-faults-example-1024x500.jpg 1024w, https:\/\/frontend-assets.simscale.com\/media\/2020\/03\/cad-faults-example-300x146.jpg 300w, https:\/\/frontend-assets.simscale.com\/media\/2020\/03\/cad-faults-example-768x375.jpg 768w, https:\/\/frontend-assets.simscale.com\/media\/2020\/03\/cad-faults-example-1536x750.jpg 1536w, https:\/\/frontend-assets.simscale.com\/media\/2020\/03\/cad-faults-example.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 2: CAD model with degenerated geometries and a faulty edge<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In general, you should <strong>avoid intersecting parts<\/strong> (this is crucial for CHT simulations), <strong>warped surfaces<\/strong>, <strong>too small entities<\/strong>.<\/p>\n\n\n\n<h2 id=\"expected-outcome\" class=\"wp-block-heading\" >Expected Outcome<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The end result should be a CAD model that consists of only solids. The fewer solids the better, so merge as many parts as possible.<\/p>\n\n\n\n<h2 id=\"best-practices\" class=\"wp-block-heading\" >Best Practices<\/h2>\n\n\n\n<h3 id=\"tip-1-merge-everything-\" class=\"wp-block-heading\" >Tip 1: Merge Everything <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you have more than one part and they are supposed to touch\/intersect, then try to merge them. CAD tools normally highlight regions where it fails to merge. These are most likely the regions that are causing the problem.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Generally, merge as much as you can. This simplifies the simulation.<\/p>\n\n\n\n<h3 id=\"tip-2-convert-sheets-to-solids\" class=\"wp-block-heading\" >Tip 2: Convert Sheets to Solids<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Try to fill the gaps. In most cases, the sheets already show how the solid would look like, but there are holes that need to be closed in order to get a solid part.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following list provides basic workflows for how to convert &#8220;surface to solid&#8221; in some of the most commonly used CAD tools. It might not be accurate for specific functionalities. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SpaceClaim: Stitch the surface to convert it to a solid part<\/li>\n\n\n\n<li>Onshape: Add &#8220;Thickness&#8221; to the surface and merge them<\/li>\n\n\n\n<li>SolidWorks: Have a look at <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.youtube.com\/watch?v=beVxt7EJ6YY\" target=\"_blank\">this<\/a> video.<\/li>\n\n\n\n<li>CATIA: Have a look at <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.youtube.com\/watch?v=3_t7OO8G8-0\" target=\"_blank\">this<\/a> video.<\/li>\n\n\n\n<li>Autodesk Inventor: Have a look at <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.youtube.com\/watch?v=zMV05pc-dj0\" target=\"_blank\">this<\/a> video.<\/li>\n<\/ul>\n\n\n\n<h3 id=\"tip-3-watch-out-for-model-tolerance-\" class=\"wp-block-heading\" >Tip 3: Watch out for Model Tolerance <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A model tolerance comes directly from the CAD kernel of imported geometry. Computers aren&#8217;t perfect, so vertices and edges each have a tolerance that can be imagined as a bubble. Any two components in the same bubble will be merged, and appear as one. This ensures that all models are closed, even if the numbers aren&#8217;t exactly equal.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Although the model tolerance will help ensure closed 3D geometry, there can be problems that arise as well. A mesh can never be refined past the model tolerance, and a factor of safety of 10 is automatically included. If you try to refine a mesh beyond the model tolerance, this error will appear in the meshing log: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/08\/model-tolerance-2-1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1550\" height=\"207\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/08\/model-tolerance-2-1.jpg\" alt=\"meshing log showing an error about the model tolerance being higher than the desired fineness \" class=\"wp-image-32687\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/08\/model-tolerance-2-1.jpg 1550w, https:\/\/frontend-assets.simscale.com\/media\/2020\/08\/model-tolerance-2-1-300x40.jpg 300w, https:\/\/frontend-assets.simscale.com\/media\/2020\/08\/model-tolerance-2-1-1024x137.jpg 1024w, https:\/\/frontend-assets.simscale.com\/media\/2020\/08\/model-tolerance-2-1-768x103.jpg 768w, https:\/\/frontend-assets.simscale.com\/media\/2020\/08\/model-tolerance-2-1-1536x205.jpg 1536w\" sizes=\"auto, (max-width: 1550px) 100vw, 1550px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 3: Meshing log error that appears once the desired fineness is lower than the model tolerance. <\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you are seeing this problem in the meshing log, you can try to improve the CAD data while importing it to the SimScale platform.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When <em>&#8220;Improve data on import&#8221;<\/em> is active during the CAD upload, we reduce the tolerances to the minimum possible, meaning the smallest bubble around each vertex without changing the model topology. This makes it possible to create a finer mesh and often provides a viable solution. However, the CAD upload can take a considerable amount of time when this option is used in very complex models. Therefore you may opt-out and reconsider in case you face issues in geometry handling or meshing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This feature is active as default in the CAD upload process, therefore the majority of these problems should have already been solved automatically. If this doesn&#8217;t help, some CAD tools also provide solutions. Check your CAD tools optimization functionality. Many CAD tools have &#8220;optimize edges&#8221; or similar features to optimize model tolerance.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/12\/upload.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"556\" height=\"535\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/12\/upload.jpg\" alt=\"improve data on import\" class=\"wp-image-35959\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2020\/12\/upload.jpg 556w, https:\/\/frontend-assets.simscale.com\/media\/2020\/12\/upload-300x289.jpg 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 4: Steps to activating improve data on import function during the CAD upload process<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">If the above solution does not work the only solution is to make changes to the geometry using our <a href=\"https:\/\/www.simscale.com\/docs\/cad-preparation\/cad-mode\/\">CAD mode<\/a> or within your CAD package. <\/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>If none of the above suggestions solved your problem, then please post the issue on our <a href=\"https:\/\/www.simscale.com\/forum\/\">forum<\/a> or <a href=\"mailto:support@simscale.com\">contact us<\/a>.<\/p>\n    <\/div>\n<\/div>\n<\/div><div id=\"eckb-article-content-footer\" ><div class=\"eckb-tag-container\"  ><span class=\"eckb-tag-description\">Tags:  <\/span><ul class=\"eckb-tag-list\"><li><a href=\"https:\/\/www.simscale.com\/knowledge-base\/tag\/faults\/\" rel=\"tag\">faults<\/a><\/li><\/ul><\/div><\/div>\n\t\t        <\/article><!-- \/#eckb-article-content -->     <div id=\"eckb-article-right-sidebar\" ><\/div>\n\t\t\t<\/div><!-- \/#eckb-article-body -->              <div id=\"eckb-article-footer\" ><\/div>\n\t\t<\/div><!-- \/#eckb-article-page-container-v2 -->\n\n\t\t<style id=\"eckb-article-styles\" type=\"text\/css\">@media only screen and (min-width:768px){#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-header-row-1,#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-header-row-2,#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-header-row-3,#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-header-row-4,#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-header-row-5{flex-direction:row;}}#eckb-article-content-header-row-3{margin-bottom:32px;}#eckb-article-content-header-row-3 .eckb-article-content-header-row-left-group,#eckb-article-content-header-row-3 .eckb-article-content-header-row-right-group{align-items:flex-end;}<\/style>   ","protected":false},"excerpt":{"rendered":"<p>Skip to main content Created OnMarch 26, 2020 byTheresa CAD Cleanup is mostly different for any CAD so there is no...","protected":false},"author":108,"featured_media":23092,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_crdt_document":"","inline_featured_image":false,"footnotes":""},"epkb_post_type_1_category":[1773],"epkb_post_type_1_tag":[2484],"class_list":["post-25417","epkb_post_type_1","type-epkb_post_type_1","status-publish","has-post-thumbnail","hentry","epkb_post_type_1_category-cad-preparation","epkb_post_type_1_tag-faults"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/epkb_post_type_1\/25417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/users\/108"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/comments?post=25417"}],"version-history":[{"count":0,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/epkb_post_type_1\/25417\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/media\/23092"}],"wp:attachment":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/media?parent=25417"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/epkb_post_type_1_category?post=25417"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/epkb_post_type_1_tag?post=25417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}