{"id":55530,"date":"2024-02-20T11:47:34","date_gmt":"2024-02-20T16:47:34","guid":{"rendered":"https:\/\/blogs.sw.siemens.com\/simcenter\/?p=55530"},"modified":"2026-03-26T06:49:17","modified_gmt":"2026-03-26T10:49:17","slug":"sph-meshless-method","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/simcenter\/sph-meshless-method\/","title":{"rendered":"To mesh or not to mesh: Smoothed-Particle Hydrodynamics (SPH) coming to Simcenter STAR-CCM+"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><em>To mesh or not to mesh, that is the question\u2026<\/em><\/p>\n\n\n\n<p>If Shakespeare\u2019s Hamlet was a 21st-century computational fluid dynamics (CFD) engineer, that would probably be the revised version of his existential question. Triggered by the murder of a close relative, the original Hamlet wonders and counts arguments and counterarguments about what is more desirable: \u201cTo be or not to be\u201d is the question about being alive or not being alive. And if you look at the development of CFD technology these days, the rise of meshless technology makes you wonder: <\/p>\n\n\n\n<p><em>Will Smoothed Particle Hydrodynamics (SPH) one day kill the mesh-based finite volume CFD approach? And is one better than the other?<\/em><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"591\" height=\"591\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2024\/02\/GettyImages-118374264.jpg\" alt=\"Shakespeare's Hamlet_Stamp\" class=\"wp-image-55535\" srcset=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2024\/02\/GettyImages-118374264.jpg 591w, https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2024\/02\/GettyImages-118374264-150x150.jpg 150w\" sizes=\"auto, (max-width: 591px) 100vw, 591px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>The original Hamlet concludes that the \u201cto be or not to be\u201d question remains unanswerable. There is no guarantee that each side, dead or alive, is better than the other and therefore, he cannot choose to be or not be.<\/p>\n\n\n\n<p>But all philosophy aside\u2026 and back to fluid dynamics:<br>\u201cTo mesh, or not to mesh\u201d\u2026 does the revamped CFD question also remain unanswerable? Is there no guarantee that the mesh-based method or meshless technology is better than the other? That is the question we will try to answer in this article.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>A little bit of history<\/strong><\/h2>\n\n\n\n<p>Numerical simulation has increasingly become prominent in solving various applications inherent to fluid dynamics. Two approaches evolved parallelly in recent years.<\/p>\n\n\n\n<p>Eulerian methods<strong> <\/strong>emerged in the late 1960s. Those techniques are based on geometric, fixed, or adaptive grids. Flow properties like velocity or pressure are estimated at each mesh cell via numerical formulations such as finite differences, finite elements, or finite volumes. The finite volume methods are very successful for most of the fluid applications today. However, the use of mesh-based methods results in difficulties for specific applications, particularly for highly dynamic free surface flows, complex moving objects, or large deformations. And while those can be overcome with modern finite volume technologies, this typically comes at an increased computational cost.<\/p>\n\n\n\n<p>To address and lift these restrictions, Gingold, Monaghan (1977), and Lucy (1977) introduced a Lagrangian approach: the so-called <strong>Smoothed-Particle Hydrodynamics (SPH) method.<\/strong> This technology is part of a new generation of numerical methods, developed to overcome meshing-related constraints.<\/p>\n\n\n\n<p>Still based on the Navier-Stokes equations, the SPH meshless method represents the fluid flow by moving elementary bodies referred to as particles. Moving particles thus discretize the continuous space domain. This defines a particle-based method.<\/p>\n\n\n\n<p>Those particles are individually tracked: they have their own position, velocity, and size. They carry \u2013 like mesh cells in standard finite-volume methods \u2013 the state variables of the fluid parcel (velocity, density, pressure, temperature\u2026). This evaluation considers the neighbor particles&#8217; contribution by using a kernel function, giving the smoothing characteristic of the formulation.<\/p>\n\n\n\n<p>If you look at the video below of an experimental setup of a simplified gearbox lubrication application, the SPH method discretizes the liquid oil by fluid particles.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-video\"><video autoplay controls loop muted src=\"https:\/\/videos.mentor-cdn.com\/mgc\/videos\/5400\/06346104-e933-4eef-857e-35e03a38f728-en-US-video.mp4\"><\/video><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Thanks to its Lagrangian nature, the SPH meshless method can easily adapt to complex moving objects, despite two solid bodies coming in contact. Even if the SPH technology does not discretize the gas phase, it represents the free surface between liquid and gas with no diffusivity even though there are lots of jets and splashes in the fluid flow.<br>Lately, many studies have been carried out on the numerical aspects of precision and stability (Groenenboom et al., 2019; Shadloo et al., 2016; Violeau and Rogers, 2016). Research and development allowed the current industrial use of the SPH solver for industrial applications in multiple fluid mechanic fields, such as the automotive, marine, and aerospace industries.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>A huge bit of history<\/strong><\/h2>\n\n\n\n<p>The good news is that with the release of Simcenter STAR-CCM+ 2402, we will merge these two historical streams of CFD methods inside one CFD software tool. With the SPH add-on license, you will now be able to choose &#8211; for a first set of applications &#8211; between mesh-based finite volume and mesh-free SPH CFD depending on your accuracy vs speed requirements.<\/p>\n\n\n\n<p>By removing the volume meshing step, the SPH workflow in <a href=\"https:\/\/plm.sw.siemens.com\/en-US\/simcenter\/fluids-thermal-simulation\/star-ccm\/\" target=\"_blank\" rel=\"noreferrer noopener\">Simcenter STAR-CCM+<\/a> benefits from a seamless user experience compared to other multiphase models. Like the mesh-based approaches, it takes advantage of the advanced pre-processing of 3D CAD in Simcenter STAR-CCM+. But to further boost productivity, as opposed to classical finite volume methods, SPH can perfectly deal with geometries that are not closed or non-conformal. Moreover, the SPH model robustly simulates complex motions even if there are contacts between solid bodies, like the teeth of moving gears.<\/p>\n\n\n\n<p>In the video below, you can see in practice how you can set up an SPH simulation of an industrial gearbox in just a few minutes!<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-video\"><video autoplay controls loop src=\"https:\/\/videos.mentor-cdn.com\/mgc\/videos\/5400\/514d38d0-c5a4-4a14-9b44-058a40d35814-en-US-video.mp4\"><\/video><figcaption class=\"wp-element-caption\"><em>With its initial release in Simcenter STAR-CCM+ version 2402, you can now use the SPH meshless method to simulate powertrain lubrication with oil bath applications<\/em><\/figcaption><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>For such a powertrain gearbox, the typical objective is to minimize the volume of oil inside the casing of the gearbox while ensuring the oil gets into critical locations. Ideally, we would like to minimize the churning losses of the machine and therefore, optimize its efficiency. &nbsp;As you can see in the animation, you can seamlessly leverage the unrivaled power of Simcenter STAR-CCM+ visual post-processing and look at where the fluid goes by visualizing the particles and monitoring wall wetting.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-video\"><video autoplay controls loop src=\"https:\/\/videos.mentor-cdn.com\/mgc\/videos\/5400\/585e68f0-9f23-41a9-ba75-0035648e0ed6-en-US-video.mp4\"><\/video><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>But you can also leverage all quantitative data analytics capabilities of Simcenter STAR-CCM+ and -in the example at hand &#8211; control the churning losses by looking at the evolution of forces and torque along your simulation.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2024\/02\/Untitled-Project-Time-0_01_5405.png\" alt=\"\"\/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Furthermore, thanks to the integration, the SPH meshless solver works out of the box with the Design Manager. With a single click, you can create a design exploration project for your multiphase applications. For powertrain lubrication applications, it can help you select the optimum conditions for the rotation speed or the oil quantity in the casing. It also enables you to test multiple design shapes and select the optimum one in terms of the number of gears, number of teeth for each gear, design of the casing\u2026<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><a href=\"https:\/\/cloud.sw.siemens.com\/starccmviewer\/_#\/showcase\/gearbox\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2024\/02\/SPH-Interactive-Results_Webviewer.png\" alt=\"\"\/><\/a><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/cloud.sw.siemens.com\/starccmviewer\/_#\/showcase\/gearbox\" target=\"_blank\" rel=\"noopener\">Explore more results from the gearbox lubrication SPH simulation interactively in your browser<\/a><\/figcaption><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Faster than ever<\/strong><\/h2>\n\n\n\n<p>Regarding performance, SPH in Simcenter STAR-CCM+ version 2402 enables you to run a gearbox simulation with 0.5 Mio particles in approximately an hour on 8 CPUs. Running the same job on 64 CPUs you can even study a gearbox in an impressive runtime of only 12 minutes, demonstrating the excellent scalability of the solver. Adding the fact that the preparation time almost vanishes with SPH this enables rapid CFD-driven insights.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2024\/02\/Plot_performance.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2024\/02\/Plot_scalability.png\" alt=\"\"\/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Optimize your gearbox design<\/strong> with SPH meshless method<\/h2>\n\n\n\n<p>Coming back to powertrain design&#8217;s main challenges, using the cutting-edge SPH technology in Simcenter STAR-CCM+ version 2402 allows you to easily check if the oil gets into critical locations and minimize churning losses. The SPH add-on license enables you to faster simulate and analyze sophisticated CFD simulations earlier in the development cycle.<\/p>\n\n\n\n<p>Thanks to the streamlined workflow, you\u2019ll be able to select the optimum design and conditions with the Design Manager. Moreover, you have the possibility to run additional in-depth simulations with the FEA solver or VOF liquid\/ air computations, staying integrated in one single-user environment.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How does it compare\u2026<\/strong><\/h2>\n\n\n\n<p>For gearbox lubrication applications, we compared both finite-volume and SPH methods in terms of setup engineering time. <\/p>\n\n\n\n<p>If we look at the engineering time needed to make the simulation setup, it is undeniable that the SPH workflow is faster than for finite-volume. Simply, because with the SPH meshless technology, you can skip the volume meshing step and you do not have to go through overset or other complex techniques to set up the rotation speed of each of the gears. In some cases, setting up the volume mesh and the motion can take up to a couple of weeks for a complex industrial gearbox. For an SPH computation, you just simply get rid of that complex step.<\/p>\n\n\n\n<p>With SPH, you quickly get a low-fidelity, yet plausible solution to your most complex applications. With finite-volume methods, for a first solution, you would usually need to go back to your setup and do a bit of tuning to the mesh and\/ or the numerical settings to get a first low-fidelity solution.<\/p>\n\n\n\n<p>The SPH meshless technology comes as complementary to other existing finite-volume multiphase models to overcome meshing-related constraints.<br>SPH is the ideal solver for design exploration to eliminate quickly and effortlessly low-performance design. Now, if you need to model the influence of the air or if you need to model phase change or other complex phenomena such as electromagnetics, you must use finite-volume methods. It all depends on the scope of your applications and the required level of fidelity to make that choice.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>So, to mesh or not to mesh, is there really a choice to make?<\/strong><\/h2>\n\n\n\n<p>So, to mesh or not to mesh, this is still the question\u2026 and the truth is that it indeed remains difficult to answer as was the original quote from Hamlet. Today, both mesh-based and meshless methods are essential in the CFD world. Both methods are complementary and remain fundamental for your most complex multiphase simulations. Mesh-based and meshless technologies still have a bright future ahead of them.<\/p>\n\n\n\n<p>The choice of one over the other depends heavily on the scope of your project and its objectives. Required accuracy versus desired turnaround time will always remain a project-specific question that engineers must answer in the most efficient way. But unlike before, you now have one integrated CFD tool to cater to them all, one single-user environment, and one single workflow for all your different multiphase applications. You can run in the same user interface Volume Of Fluid (VOF) or Discrete Element Method (DEM) or\u2026 SPH simulations! The question \u201cto mesh or not to mesh\u201d becomes more of a best practice choice rather than an a priori costly (multi) CFD tool investment decision.<\/p>\n\n\n\n<p>And so, with Simcenter STAR-CCM+ version 2402, the 21st-century CFD engineer Hamlet can rest assured:<\/p>\n\n\n\n<p><strong>To mesh or not to mesh, that is not a real question anymore.<\/strong><\/p>\n\n\n\n<a href=\"https:\/\/www.g2.com\/products\/simcenter-star-ccm\/reviews?utm_source=review-widget\" title=\"Read reviews of Simcenter STAR-CCM+ on G2\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"full-width\" style=\"max-width: 200px\" alt=\"Read Simcenter STAR-CCM+ reviews on G2\" src=\"https:\/\/www.g2.com\/products\/simcenter-star-ccm\/widgets\/stars?color=gray&amp;type=read\" \/><\/a><script>(function(a,b,c,d){window.fetch(\"https:\/\/www.g2.com\/products\/simcenter-star-ccm\/rating_schema.json\").then(e=>e.json()).then(f=>{c=a.createElement(b);c.type=\"application\/ld+json\";c.text=JSON.stringify(f);d=a.getElementsByTagName(b)[0];d.parentNode.insertBefore(c,d);});})(document,\"script\");<\/script>\n","protected":false},"excerpt":{"rendered":"<p>To mesh or not to mesh, that is the question\u2026 If Shakespeare\u2019s Hamlet was a 21st-century computational fluid dynamics (CFD)&#8230;<\/p>\n","protected":false},"author":81034,"featured_media":55804,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[179,1],"tags":[5,242,243,82,86,21],"industry":[],"product":[18186,513],"coauthors":[18425],"class_list":["post-55530","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product-updates","category-news","tag-cae-simulation","tag-computational-fluid-dynamics-cfd","tag-computer-aided-engineering-cae","tag-digital-twin","tag-simulation","tag-technology-innovation","product-simcenter-sph-flow","product-simcenter-star-ccm"],"featured_image_url":"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/6\/2024\/02\/Untitled-Project-Time-0_00_1907.png","_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts\/55530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/users\/81034"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/comments?post=55530"}],"version-history":[{"count":5,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts\/55530\/revisions"}],"predecessor-version":[{"id":70402,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/posts\/55530\/revisions\/70402"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/media\/55804"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/media?parent=55530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/categories?post=55530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/tags?post=55530"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/industry?post=55530"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/product?post=55530"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/simcenter\/wp-json\/wp\/v2\/coauthors?post=55530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}