{"id":6023,"date":"2019-06-14T11:12:00","date_gmt":"2019-06-14T10:12:00","guid":{"rendered":"https:\/\/www.solidapps.co.uk\/blog\/?p=6023"},"modified":"2019-06-14T11:12:00","modified_gmt":"2019-06-14T10:12:00","slug":"handling-interferences-for-meshing-in-solidworks-simulation","status":"publish","type":"post","link":"https:\/\/www.solidapps.co.uk\/blog\/2019\/06\/handling-interferences-for-meshing-in-solidworks-simulation\/","title":{"rendered":"Handling Interferences for Meshing in SOLIDWORKS Simulation"},"content":{"rendered":"<p>If you\u2019ve ever run into the case where you get the following message, seen below in Image 1: \u201cAt least two bodies are interfering. Do you want to check interference?\u201d<\/p>\n<p><img decoding=\"async\" class=\"colorbox-23879\" src=\"https:\/\/blogs.solidworks.com\/tech\/wp-content\/uploads\/sites\/4\/sim1-1.png\" \/><\/p>\n<p>Image 1: Detected bodies that are interfering.\u00a0 Agghhh!<\/p>\n<p>And I\u2019m pretty sure that you have, so as you know it can be really frustrating.\u00a0 So you click to view the interfering bodies, such as in Image 2 below, and now in this case you wish that you could simply hit the \u201cIgnore\u201d button and for it to all go away.\u00a0 Well, read on if you want to find out how to fix this situation in SOLIDWORKS Simulation without having to modify the geometry.<\/p>\n<p><img decoding=\"async\" class=\"colorbox-23879\" src=\"https:\/\/blogs.solidworks.com\/tech\/wp-content\/uploads\/sites\/4\/sim2-1.png\" \/><\/p>\n<p>Image 2: Viewing interferences.<\/p>\n<p>The problem isn\u2019t really with the geometry, but with the default Global Contact condition set to Bonded.\u00a0 Typically the model geometry presented for a simulation is not be purpose-built for FEA but designed for another purpose, such as manufacturing.\u00a0 (I contend that SOLIDWORKS is the best pre-processor for FEA out on the market.\u00a0 A blog post maybe for another time.) To understand why the Global Bonded contact is the culprit in this case, you have to know a little bit more about the meshing process behind the scenes inside the software.<\/p>\n<p><img decoding=\"async\" class=\"colorbox-23879\" src=\"https:\/\/blogs.solidworks.com\/tech\/wp-content\/uploads\/sites\/4\/sim3-1.png\" \/><\/p>\n<p>Image 3: Bonded global contact is the culprit.<\/p>\n<p>In brief, the meshing process starts first by evaluating and meshing each surface of a body separately.\u00a0 It\u2019s interesting to note here that for a Shell mesh type, the meshing process stops here but not for a Solid mesh.\u00a0 In the next step of a Solid mesh, it knits all the surfaces together at the nodes that are overlapping from adjacent surfaces to create a water-tight solid and then a different volume-filling mesher fills it in.\u00a0 When the Global Contact is defined as Bonded, then the meshing process will search for nodes from adjacent bodies now and try to collapse nodes that are close enough within the tolerance that you defined (or by default) in the mesh settings.\u00a0 When the faces are just touching, this scenario is desired, but when bodies are interfering, you could collapse two nodes that shouldn\u2019t be and it can create some gnarly looking elements (with bad shape functions) that you don\u2019t want to put into a finite-element solver. So SOLIDWORKS Simulation uses the Interference Detection tool on the CAD side of the house as a way to help prevent you from creating bad meshes.\u00a0 So this is a good thing!\u00a0 But I haven\u2019t yet shown you how work around this geometry, ahem, meshing issue.\u00a0 The fix is actually quite easy.<\/p>\n<p>What is needed is to change the Global Component Contact setting to either Allow Penetration or No Penetration, as in the image 4 below.\u00a0 I think that you could also just delete the Component Contact from the tree altogether, essentially making it to \u201callow penetration\u201d or also known as free.<\/p>\n<p><img decoding=\"async\" class=\"colorbox-23879\" src=\"https:\/\/blogs.solidworks.com\/tech\/wp-content\/uploads\/sites\/4\/sim4.png\" \/><\/p>\n<p>Image 4: Redefine the Global Component Contact type.<\/p>\n<p>In either case, you will now need to define Local Contact sets in order to define how the bodies are interacting with one another.\u00a0 I recommend, when possible, to use the option to Automatically find contact sets, as shown in Image 5 below, even within gap tolerances if the faces are not touching.\u00a0 You can select the bodies to find pairs of faces that fit the criteria in the options; note that can also make quick work of this by window selecting all bodies and\/or components.\u00a0 Then after finding the sets, you can click on each pair of faces that the automatic detection finds to visualize the faces in the graphics window.\u00a0 Shift+select all or Ctrl+select individual sets with the Type of contact that you want to define and then click the green Add button to add them to your simulation tree.\u00a0 Once added, the set is removed from the list so that you can define others differently, if needed.<\/p>\n<p><img decoding=\"async\" class=\"colorbox-23879\" src=\"https:\/\/blogs.solidworks.com\/tech\/wp-content\/uploads\/sites\/4\/sim5.png\" \/><\/p>\n<p>Image 5: Defining Local Contact sets automagically.<\/p>\n<p>So in the end, (a) you don\u2019t get bothered with a message telling you that bodies are interfering; (b) the model meshes successfully; and (c) you are able to get good valid results with the interaction between the parts that you would expect.\u00a0 Now in the example model that I am making available to download from here, I used the No Penetration contact types between the parts.\u00a0 I encourage to try this model out yourself but instead define the parts to be Bonded together.\u00a0 Start by copying the existing study to a new study and delete the local contact sets.\u00a0 When you do, make sure to check the Global Component contact is set correctly.<\/p>\n<p><img decoding=\"async\" class=\"colorbox-23879\" src=\"https:\/\/blogs.solidworks.com\/tech\/wp-content\/uploads\/sites\/4\/sim6-1.png\" \/><\/p>\n<p>Image 6: Finished resultant displacements on an example model which originally had interferences between the parts.\u00a0 The image is a composite image (not directly from the software) to show more detail in the deformed joint at the bottom view.<\/p>\n<p>&nbsp;<\/p>\n<p>Originally posted in the <a href=\"https:\/\/blogs.solidworks.com\/tech\/2019\/06\/handling-interferences-for-meshing-in-solidworks-simulation.html\" target=\"_blank\" rel=\"noopener noreferrer\">SOLIDWORKS Tech Blog<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019ve ever run into the case where you get the following message, seen below in Image 1: \u201cAt least two bodies are interfering. Do you want to check interference?\u201d&hellip; <\/p>\n","protected":false},"author":1,"featured_media":6024,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[25,113],"class_list":["post-6023","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solidworks","category-solidworks-simulation","tag-solidworks-2","tag-solidworks-simulation"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/posts\/6023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=6023"}],"version-history":[{"count":2,"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/posts\/6023\/revisions"}],"predecessor-version":[{"id":6026,"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/posts\/6023\/revisions\/6026"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/media\/6024"}],"wp:attachment":[{"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=6023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=6023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.solidapps.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=6023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}