{"id":198541,"date":"2026-05-08T18:47:13","date_gmt":"2026-05-08T18:47:13","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/knowledge\/?post_type=topic&#038;p=198541"},"modified":"2026-05-08T18:54:03","modified_gmt":"2026-05-08T18:54:03","slug":"freeflow-faqs-how-does-sph-adaptive-size-work-in-ansys-freeflow","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/freeflow-faqs-how-does-sph-adaptive-size-work-in-ansys-freeflow\/","title":{"rendered":"[FreeFlow FAQs] How does SPH Adaptive Size work in Ansys FreeFlow?"},"content":{"rendered":"<h1  id=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-198416 size-full aligncenter\" src=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/04\/GPU-Buying-guide-v1-1-e1777422962330.png\" alt=\"\" width=\"1920\" height=\"358\" srcset=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/04\/GPU-Buying-guide-v1-1-e1777422962330.png 1920w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/04\/GPU-Buying-guide-v1-1-e1777422962330-300x56.png 300w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/04\/GPU-Buying-guide-v1-1-e1777422962330-1024x191.png 1024w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/04\/GPU-Buying-guide-v1-1-e1777422962330-768x143.png 768w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/04\/GPU-Buying-guide-v1-1-e1777422962330-1536x286.png 1536w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/04\/GPU-Buying-guide-v1-1-e1777422962330-24x4.png 24w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/04\/GPU-Buying-guide-v1-1-e1777422962330-36x7.png 36w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2026\/04\/GPU-Buying-guide-v1-1-e1777422962330-48x9.png 48w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/h1>\n<div>\n<h1  id=\"HOW-DOES-SPH-ADAPTIVE-SIZE-WORK-IN-ANSYS-FREEFLOW\"><strong>How does SPH Adaptive Size work in Ansys FreeFlow?<\/strong><\/h1>\n<\/div>\n<p>&nbsp;<\/p>\n<div>SPH Adaptive Size in Ansys FreeFlow works by refining and coarsening SPH elements in a controlled, hierarchical manner, improving accuracy only where needed while keeping overall computational cost low.<\/div>\n<div>The method is based on discrete refinement levels. For each refinement level, the SPH element size is reduced by a factor of 2. This means that if the initial SPH element size is:<\/div>\n<p>&nbsp;<\/p>\n<div class=\"attachment\" style=\"background-color: #fedb8d;padding: 1%;font-weight: 300;height: auto!important;display: flex;border-radius: 15px;margin-bottom: 20px\">\n<ul>\n<li>Refinement level 1 produces elements of size s \/ 2<\/li>\n<li>Refinement level 2 produces elements of size s \/ 4<\/li>\n<li>Refinement level n produces elements of size s \/ 2\u207f<\/li>\n<\/ul>\n<\/div>\n<p>&nbsp;<\/p>\n<div>When an element is refined, it is replaced by multiple smaller elements so that the total volume (in 3D) remains unchanged. For example, refining one element by one refinement level results in 8 new elements, each occupying one-eighth of the original volume. At refinement level 2, 64 elements are created, and so on. This guarantees consistent element spacing, conserved mass, and numerical stability.<\/div>\n<p>&nbsp;<\/p>\n<div>Refinement is applied only in selected regions, using one of three approaches:<\/div>\n<p>&nbsp;<\/p>\n<ul>\n<li>Geometry boundary refinement, where elements are refined within a distance of selected wall boundaries. This distance is computed as the product of a Refinement Distance Factor times the initial SPH size. Both parameters, Refinement Distance Factor and SPH size, can be set by the user.<\/li>\n<li>Cubic Region of Interest (ROI), where all SPH elements inside a user\u2011defined cube are refined.<\/li>\n<li>Cylindrical Region of Interest (ROI), where elements inside a user\u2011defined cylinder are refined, with an optional hole ratio to exclude an inner region.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div>To prevent excessive growth in the number of SPH elements, Ansys FreeFlow software also applies automatic coarsening.<\/div>\n<p>&nbsp;<\/p>\n<div>Coarsening is performed every 5 solver iterations and merges SPH elements in pairs rather than collapsing many elements at once. Elements are coarsened only if they are far enough from geometry boundaries, compatible in refinement history, sufficiently close to each other based on their smoothing length, and if SPH elements are outside ROIs defined for refinement by the user. This gradual coarsening strategy helps avoid instability and mass loss.<\/div>\n<p>&nbsp;<\/p>\n<div>In summary, SPH Adaptive Size dynamically refines and coarsens SPH elements at every 20 and 5 solver iterations, respectively. It conserves SPH elements\u2019 volume and spacing, and applies refinement only where needed, delivering higher accuracy in critical regions while maintaining efficient simulation performance.<\/div>\n<p>&nbsp;<\/p>\n<div>\n<h6 class=\"paragraph\" style=\"text-align: right\" align=\"right\" class=\"paragraph\" style=\"text-align: right\" align=\"right\"  id=\"ANSYS-FREEFLOW-SMOOTHED-PARTICLE-HYDRODYNAMICS-SPH-SIMULATION-SOFTWARE\"><span class=\"eop\"><span style=\"font-size: 16.0pt\"><em>Ansys FreeFlow\u2122 smoothed-particle hydrodynamics (SPH) simulation software<\/em> <\/span><\/span><\/h6>\n<p style=\"text-align: right\" xml:lang=\"EN-US\" align=\"right\"><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-197810\" src=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2025\/12\/author-foto.png\" alt=\"\" width=\"140\" height=\"143\" srcset=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2025\/12\/author-foto.png 274w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2025\/12\/author-foto-24x24.png 24w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2025\/12\/author-foto-36x36.png 36w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2025\/12\/author-foto-48x48.png 48w\" sizes=\"auto, (max-width: 140px) 100vw, 140px\" \/><\/strong><\/p>\n<h3 style=\"text-align: right\" style=\"text-align: right\"  id=\"JANAINA-OLIVEIRA\"><strong>Janaina Oliveira<\/strong><\/h3>\n<p style=\"text-align: right\"><em><strong>Technical\/Product Publications<\/strong><\/em><\/p>\n<\/div>\n","protected":false},"template":"","class_list":["post-198541","topic","type-topic","status-publish","hentry","topic-tag-ansys-freeflow","topic-tag-faqs","topic-tag-freeflow-faqs","topic-tag-freeflow-sph","topic-tag-sph-adaptive-size","filter-by-application-ansys-freeflow","application-products-ansys-freeflow"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_edit_lock":["1778266831:17114"],"_edit_last":["17114"],"_aioseo_title":[null],"_aioseo_description":[null],"_aioseo_keywords":["a:0:{}"],"_aioseo_og_title":[null],"_aioseo_og_description":[null],"_aioseo_og_article_section":[""],"_aioseo_og_article_tags":["a:0:{}"],"_aioseo_twitter_title":[null],"_aioseo_twitter_description":[null],"application_name":[""],"_application_name":["field_64a80903c8e15"],"filter_by_optics_product":["Lumerical"],"_filter_by_optics_product":["field_64fb192ba3121"],"family":[""],"_family":["field_64a809229a857"],"siebel_km_number":[""],"_siebel_km_number":["field_63ecbffce60db"],"salesforce_km_number":[""],"_salesforce_km_number":["field_63ecc018e60dc"],"km_published_date":[""],"_km_published_date":["field_64c77704499dd"],"product_version":[""],"_product_version":["field_64c776cb4fd2e"],"_bbp_forum_id":["27796"],"_bbp_topic_id":["198541"],"_bbp_author_ip":["2804:1edc:43e:f700:14ca:3075:2231:448e"],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["198542"],"_bbp_last_active_time":["2026-05-08 18:47:13"],"_bbp_reply_count":["0"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["0"],"_btv_view_count":["85"],"_bbp_likes_count":["2"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/198541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":4,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/198541\/revisions"}],"predecessor-version":[{"id":198543,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/198541\/revisions\/198543"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=198541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}