{"id":4856,"date":"2011-12-07T11:00:36","date_gmt":"2011-12-07T00:00:36","guid":{"rendered":"https:\/\/www.computationalfluiddynamics.com.au\/?p=54"},"modified":"2011-12-07T11:00:36","modified_gmt":"2011-12-07T00:00:36","slug":"size-controls","status":"publish","type":"post","link":"https:\/\/www.leapaust.com.au\/blog\/cfd\/size-controls\/","title":{"rendered":"Tips &#038; Tricks: Size Controls in ANSYS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p>In our <a title=\"Global Mesh Controls\" href=\"https:\/\/www.computationalfluiddynamics.com.au\/?p=49\">previous post<\/a> we discussed the importance of geometry preparation, utilising the ANSYS Global Mesh Control settings\u00a0and the best use of the ANSYS Meshing Advanced Size Functions.\u00a0 We will now focus on the ability to target specific areas of the mesh for additional refinement and mesh control, which is recommended for intermediate to advanced users.<\/p>\n<p>&nbsp;<\/p>\n<p>[box] By using these explicit sizing controls, the resolution of the geometry can be accurately captured and we can ensure that we accurately resolve any high gradient areas in the flow, such as a wake or separation\/recirculation zones.[\/box]<\/p>\n<p>&nbsp;<\/p>\n<p>As you would expect, in addition to the automated settings, ANSYS Meshing provides users with as much additional control as they desire: with the option to specify combinations of point controls, edge controls, surface controls and\/or body controls.\u00a0 Each one of these has its own options and can be used to influence the mesh in different ways.<\/p>\n<p>&nbsp;<\/p>\n<p>Point controls can be used to control the mesh based on a sphere of influence, whereby any region of the mesh that is contained within the sphere will be given the chosen sizing.\u00a0 An example of this is shown below.<\/p>\n<p>&nbsp;<\/p>\n<p align=\"center\"><a href=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-Point-Sizing-using-Sphere-of-Influence.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-44\" title=\"02-CFD-Point-Sizing-using-Sphere-of-Influence\" src=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-Point-Sizing-using-Sphere-of-Influence.jpg\" alt=\"\" width=\"380\" height=\"188\" \/><\/a><\/p>\n<p align=\"center\"><em>Point Sizing (using Sphere of Influence)<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>Edge Sizing Controls can be given to any edge and allow for different types of bias control, whereby the mesh size varies along the edge.\u00a0 In the image below, we have applied an edge sizing to a single edge.<\/p>\n<p style=\"text-align: center;\">\u00a0<a href=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-Edge-Sizing.jpg\"><img decoding=\"async\" title=\"02-CFD-Edge-Sizing\" src=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-Edge-Sizing.jpg\" alt=\"\" width=\"384\" height=\"190\" \/><\/a><\/p>\n<p align=\"center\"><em>Basic Edge Sizing<\/em><\/p>\n<p>The edge sizing feature\u00a0can use either a specified element size, a number of divisions along the edge or can be controlled by a sphere of influence.\u00a0 This last option will\u00a0refine along the edge only where it is intersected by the sphere of influence, and we\u00a0will show this later on in this blog post.<\/p>\n<p>&nbsp;<\/p>\n<p>Within the edge sizing function, you have the ability to set a local growth rate for all cells that grow away from this edge (overriding the global growth rate).\u00a0\u00a0There are also useful options for Edge Bias control, which allows you to define how the mesh is distributed along the length of the edge.\u00a0 For example, you can force the mesh along the edge to vary from large to small, small to large; or more complicated bias such as\u00a0large to small in the middle then back to large, or small to large in the middle and then back to small again at the other end of the edge.<\/p>\n<p>&nbsp;<\/p>\n<p>So it is clear that there are quite a few options available to control edge meshing, and since it is such an easy tool to use, we&#8217;d suggest that you simply have a play around in ANSYS meshing to get a better\u00a0understanding of how this works.<\/p>\n<p>Face Sizing in ANSYS Meshing is also just as intuitive.\u00a0 We can easily apply a face sizing to any given face, or groups of faces, to control the mesh size on those particular faces.\u00a0 This is one of the more common ways that you can control the mesh and ensure that you are getting a\u00a0consistent, high-quality\u00a0mesh sizing in your desired regions.\u00a0\u00a0As before, we can also set the local growth rate, which will affect how fast the mesh will grow away from the face.<\/p>\n<p>&nbsp;<\/p>\n<p align=\"center\"><a href=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-face-sizing.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-43\" title=\"02-CFD-face-sizing\" src=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-face-sizing.jpg\" alt=\"\" width=\"375\" height=\"191\" srcset=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-face-sizing.jpg 375w, https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-face-sizing-300x153.jpg 300w\" sizes=\"(max-width: 375px) 100vw, 375px\" \/><\/a><\/p>\n<p align=\"center\"><em>Face Sizing<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>Finally, Body Sizing which allows you to add a sizing to an entire selected body or bodies.\u00a0 This will essentially overwrite the global controls that have been specified and is useful when you have multiple bodies and need to control the sizing in certain bodies individually.\u00a0 This may be the case if you need different quality meshes in solid and fluid components for a conjugate heat transfer problem, where you will need to accurately resolve the flow and thermal boundary layer in the fluid domain (which are essential to accurate calculations of the heat transfer), but can afford to tolerate a lower fidelity mesh in the solid components.<\/p>\n<p>&nbsp;<\/p>\n<p>The Body Sizing\u00a0function also has the option to set a growth rate.\u00a0 This will use the global values by default, but we can also define a local value which overrides the global settings and gives us individual control over the mesh for multiple bodies.<\/p>\n<p>&nbsp;<\/p>\n<p align=\"center\"><a href=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-body-sizing.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-40\" title=\"02-CFD-body-sizing\" src=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-body-sizing.jpg\" alt=\"\" width=\"379\" height=\"190\" srcset=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-body-sizing.jpg 379w, https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-body-sizing-300x150.jpg 300w\" sizes=\"(max-width: 379px) 100vw, 379px\" \/><\/a><\/p>\n<p align=\"center\"><em>Body Sizing<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>The Body Sizing control also has the ability to use geometric bodies themselves to control the mesh refinement (in ANSYS Meshing terminology, these\u00a0are termed a &#8220;body of influence&#8221;).\u00a0 A body of influence\u00a0can be of any arbitrary shape\/size and intersects the main fluid domain that we are trying to mesh.\u00a0 In the intersection region, the ANSYS mesher will use this body of influence to create the right amount of local mesh refinement.\u00a0 This smart feature also removes the need to decompose the main body into complicated\u00a0sub-regions.\u00a0 We have found this to offer great benefits in many cases, such as when setting up wake refinement regions in external aerodynamics problems.<\/p>\n<p>&nbsp;<\/p>\n<p align=\"center\">\u00a0<a href=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-Body-Sizing-using-Body-of-Influence.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-41\" title=\"02-CFD-Body-Sizing-using-Body-of-Influence\" src=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-Body-Sizing-using-Body-of-Influence.jpg\" alt=\"\" width=\"342\" height=\"191\" srcset=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-Body-Sizing-using-Body-of-Influence.jpg 342w, https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-Body-Sizing-using-Body-of-Influence-300x168.jpg 300w\" sizes=\"(max-width: 342px) 100vw, 342px\" \/><\/a><\/p>\n<p align=\"center\"><em>Body Sizing using Body of Influence<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>We should also point out that some experienced users of ANSYS CFX-Mesh prefer the methodology using a &#8220;sphere of influence&#8221; scoped\u00a0to edges, faces and bodies.\u00a0 This is still possible within ANSYS Meshing, but the trick is that you need to turn off the Advanced Size Function if you are trying to scope this to edges and faces.\u00a0\u00a0Whilst the sphere of influence is still a useful tool in some circumstances, I would be wary of turning off the advanced size function when you can use some of the other sizing controls that I\u2019ve shown you above to achieve the same effect but still retain all the benefits of using the Advanced Size Functions in ANSYS Meshing.<\/p>\n<p>&nbsp;<\/p>\n<p align=\"center\">\u00a0<a href=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-Sphere-of-Influence-on-Edge-Face-and-Body.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-45\" title=\"02-CFD-Sphere-of-Influence-on-Edge-Face-and-Body\" src=\"https:\/\/www.leapaust.com.au\/blog\/wp-content\/uploads\/2011\/11\/02-CFD-Sphere-of-Influence-on-Edge-Face-and-Body.jpg\" alt=\"\" width=\"545\" height=\"152\" \/><\/a><\/p>\n<p align=\"center\"><em>Sphere of Influence on Edge, Face and Body<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>In our next post, we will review the <a title=\"Tips and Tricks: Sweep Meshing in ANSYS\" href=\"https:\/\/www.computationalfluiddynamics.com.au\/?p=168\">Sweep Meshing method in ANSYS Meshing<\/a>.\u00a0 In the mean time, remember if you have any questions then please <a title=\"Contact Us\" href=\"https:\/\/www.computationalfluiddynamics.com.au\/?page_id=19\">contact\u00a0the LEAP\u00a0Support Team<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our previous post we discussed the importance of geometry preparation, utilising the ANSYS Global Mesh Control settings\u00a0and the best use of the ANSYS Meshing Advanced Size Functions.\u00a0 We will now focus on the ability to target specific areas of the mesh for additional refinement and mesh control, which is recommended for intermediate to advanced&hellip;&nbsp;<a href=\"https:\/\/www.leapaust.com.au\/blog\/cfd\/size-controls\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Tips &#038; Tricks: Size Controls in ANSYS<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":4079,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","footnotes":""},"categories":[323],"tags":[171,181,424,449],"class_list":["post-4856","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cfd","tag-ansys","tag-ansys-meshing","tag-face-sizing","tag-mesh-control-settings"],"_links":{"self":[{"href":"https:\/\/www.leapaust.com.au\/blog\/wp-json\/wp\/v2\/posts\/4856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leapaust.com.au\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leapaust.com.au\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leapaust.com.au\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leapaust.com.au\/blog\/wp-json\/wp\/v2\/comments?post=4856"}],"version-history":[{"count":0,"href":"https:\/\/www.leapaust.com.au\/blog\/wp-json\/wp\/v2\/posts\/4856\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.leapaust.com.au\/blog\/wp-json\/wp\/v2\/media\/4079"}],"wp:attachment":[{"href":"https:\/\/www.leapaust.com.au\/blog\/wp-json\/wp\/v2\/media?parent=4856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leapaust.com.au\/blog\/wp-json\/wp\/v2\/categories?post=4856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leapaust.com.au\/blog\/wp-json\/wp\/v2\/tags?post=4856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}