{"id":45863,"date":"2021-07-12T16:23:48","date_gmt":"2021-07-12T16:23:48","guid":{"rendered":"https:\/\/www.simscale.com\/?page_id=45863"},"modified":"2025-07-17T15:43:25","modified_gmt":"2025-07-17T15:43:25","slug":"incompressible-lbm","status":"publish","type":"page","link":"https:\/\/www.simscale.com\/docs\/analysis-types\/incompressible-lbm\/","title":{"rendered":"Incompressible LBM (Lattice Boltzmann Method) Analysis"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The&nbsp;<strong>Incompressible LBM<\/strong> analysis&nbsp;type is used to run large transient external aerodynamics simulations when the Mach number is &lt; 0.3 and where the geometry usually involves large domains.<\/p>\n\n\n\n\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-analysis-intro-image.jpg\"><img decoding=\"async\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-analysis-intro-image.jpg\" alt=\"incomrpessible lbm analysis transient solution\" class=\"wp-image-46306\"\/><\/a><figcaption class=\"wp-element-caption\">Figure 1: Transient aerodynamics simulation over &#8216;Gangnam District&#8217; with velocity magnitude contours using Incompressible (LBM) analysis<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">It is a GPU-based solver using the lattice Boltzmann method (LBM), developed by Numeric Systems GmbH, Pacefish\u00ae\\(^1\\). It has the ability to run on multiple GPUs in parallel giving highly accurate results for transient simulations at running times reduced from weeks and days to hours and minutes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Within SimScale, one can effortlessly set up an incompressible LBM simulation with the steps described below.<\/p>\n\n\n\n<h2 id='creating-an-incompressible-lbm-analysis' id='creating-an-incompressible-lbm-analysis' id='creating-an-incompressible-lbm-analysis' id='creating-an-incompressible-lbm-analysis' class=\"wp-block-heading\" id=\"creating-an-incompressible-lbm-analysis\">Creating an Incompressible LBM Analysis<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To create an <em>Incompressible (LBM)<\/em> analysis, first, select the desired geometry and click on <strong>&#8216;Create Simulation&#8217;<\/strong>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/05\/create-simulation-lbm.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"669\" height=\"350\" nonce='df059010ae4ce9aa54d82b60ffccf13f' src=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/05\/create-simulation-lbm.jpg\" alt=\"creating incompressible analysis type simulation \" class=\"wp-image-45864\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/05\/create-simulation-lbm.jpg 669w, https:\/\/frontend-assets.simscale.com\/media\/2021\/05\/create-simulation-lbm-300x157.jpg 300w\" sizes=\"auto, (max-width: 669px) 100vw, 669px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 2: Steps to create a simulation in SimScale. Click on <strong>&#8216;Create Simulation&#8217;<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Next, a window with a list of several analysis types supported in SimScale will be displayed:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/image-17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1097\" height=\"884\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/image-17.png\" alt=\"lbm analysis intro image\" class=\"wp-image-106542\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/image-17.png 1097w, https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/image-17-300x242.png 300w, https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/image-17-1024x825.png 1024w, https:\/\/frontend-assets.simscale.com\/media\/2025\/07\/image-17-768x619.png 768w\" sizes=\"auto, (max-width: 1097px) 100vw, 1097px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 3: Select <strong>&#8216;Incompressible (LBM)&#8217;<\/strong><em> <\/em>analysis type from the tree above and click on <strong>&#8216;Create Simulation&#8217;<\/strong> at the bottom.<\/figcaption><\/figure>\n\n\n\n<div class=\"hw-block hw-note hw-note--warning hw-note\">\n    <div class=\"hw-note__title\">\n        <p class=\"hw-note__titleText\"><i class=\"fa fa-exclamation-circle\" aria-hidden=\"true\"><\/i>Specialized analysis type<\/p>\n    <\/div>\n    <div class=\"hw-note__body\">\n        <p><em>Incompressible (LBM)<\/em> is a specialized analysis type restricted to users with a paid plan. For more details please visit our <a href=\"https:\/\/www.simscale.com\/product\/pricing\/\">product &#038; pricing page<\/a> or contact sales. <br>\r\n<\/p>\n    <\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Choose <strong>&#8216;Incompressible (LBM)&#8217;<\/strong> analysis type and click on <strong>&#8216;Create Simulation&#8217;<\/strong>. This will lead to the Workbench with the following simulation tree and the respective settings:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-simulation-tree.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"245\" height=\"533\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-simulation-tree.jpg\" alt=\"simulation tree simscale workbench\" class=\"wp-image-46034\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-simulation-tree.jpg 245w, https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-simulation-tree-138x300.jpg 138w\" sizes=\"auto, (max-width: 245px) 100vw, 245px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 4: Simulation tree for incompressible LBM analysis in SimScale Workbench<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-45.png\"><img loading=\"lazy\" decoding=\"async\" width=\"277\" height=\"596\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-45.png\" alt=\"lbm simulation tree\" class=\"wp-image-99168\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-45.png 277w, https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-45-139x300.png 139w\" sizes=\"auto, (max-width: 277px) 100vw, 277px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 4: Simulation tree for incompressible LBM analysis in SimScale Workbench<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 id='global-settings' id='global-settings' id='global-settings' id='global-settings' class=\"wp-block-heading\" id=\"global-settings\">Global Settings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To access the global settings, click on <strong>&#8216;Incompressible (LBM)&#8217;<\/strong> in the simulation tree. Here you can define the turbulence model that needs to be applied for the simulation. A choice between RANS, LES, and DES turbulence models is available. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Detailed information about each of these turbulence models can be found <a href=\"https:\/\/www.simscale.com\/docs\/incompressible-lbm-lattice-boltzmann-advanced\/#turbulence-models-in-incompressible-lbm\">here<\/a>.<\/p>\n\n\n\n<h2 id='geometry' id='geometry' id='geometry' id='geometry' class=\"wp-block-heading\" id=\"geometry\">Geometry<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <em>Geometry <\/em>section allows you to view and select the CAD model required for the simulation. It is important that the CAD model is well prepared to avoid any meshing or simulation-related errors. Find more details on CAD preparation and upload <a href=\"https:\/\/www.simscale.com\/docs\/cad-preparation\/\">here<\/a>.<\/p>\n\n\n\n<div class=\"hw-block hw-note hw-note--success hw-note\">\n    <div class=\"hw-note__title\">\n        <p class=\"hw-note__titleText\"><i class=\"fa fa-exclamation-circle\" aria-hidden=\"true\"><\/i>Did you know?<\/p>\n    <\/div>\n    <div class=\"hw-note__body\">\n        <p><p>While uploading your CAD model for LBM or wind comfort simulations it is recommended to toggle on\u00a0<strong>&#8216;Optimize for LBM \/ PWC&#8217;<\/strong>.<\/p> <figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-44.png\"><img loading=\"lazy\" decoding=\"async\" width=\"562\" height=\"656\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-44.png\" alt=\"optimize geometry for lbm\/pwc simulations\" class=\"wp-image-99164\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-44.png 562w, https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-44-257x300.png 257w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 5:\u00a0<em>Optimize for LBM\/PWC<\/em>\u00a0upload option for CAD model is recommended wile performing LBM simulations in SimScale.<\/figcaption><\/figure> <p>This option allows you to import a *.stl file that is optimized for the incompressible LBM and wind comfort analysis types. It leaves out complex import steps like sewing and cleanup that are not required by the LBM solver and therefore also allows to import big and complex models fast.<\/p><\/p>\n    <\/div>\n<\/div>\n\n\n\n<h2 id='external-flow-domain' id='external-flow-domain' id='external-flow-domain' id='external-flow-domain' class=\"wp-block-heading\" id=\"external-flow-domain\">External Flow Domain<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here you can define the cuboidal flow domain that acts as a virtual wind tunnel to perform the fluid flow simulation. You need to define the following parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Minimum:<\/strong> The minimum values for x-, y-, and z-coordinates<\/li>\n\n\n\n<li><strong>Maximum:<\/strong> The maximum values for x-, y-, and z-coordinates<\/li>\n\n\n\n<li><strong>Rotation point:<\/strong> The point about which the flow domain can be rotated. This point can also be picked from the viewer.<\/li>\n\n\n\n<li><strong>Rotation angles: <\/strong>The angles about x-, y-, and z-axes. Positive values will rotate the domain counterclockwise about the axes (right-hand rule).<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-46.png\"><img loading=\"lazy\" decoding=\"async\" width=\"350\" height=\"718\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-46.png\" alt=\"settings for creating external flow domain in lbm\" class=\"wp-image-99169\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-46.png 350w, https:\/\/frontend-assets.simscale.com\/media\/2025\/01\/image-46-146x300.png 146w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 6: With <em>External Flow Domain<\/em> you define the virtual wind tunnel dimensions and its orientation.<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 id='material-air' id='material-air' id='material-air' id='material-air' class=\"wp-block-heading\" id=\"material-air\">Material: Air<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Incompressible LBM simulations currently only support air as the fluid medium. However, air and other gases, at different temperature and pressure conditions, can still be replicated by adjusting the material properties.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-material-air.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"350\" height=\"284\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-material-air.jpg\" alt=\"material assignment in incompressible lbm\" class=\"wp-image-46047\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-material-air.jpg 350w, https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-material-air-300x243.jpg 300w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 7: Air is the only available material for assignment, however, the properties can be changed.<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 id='boundary-conditions' id='boundary-conditions' id='boundary-conditions' id='boundary-conditions' class=\"wp-block-heading\" id=\"boundary-conditions\">Boundary Conditions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Boundary conditions help to add closure to the problem at hand by defining how a system interacts with the environment. Unlike other analysis types, incompressible LBM has a fixed set of boundary conditions assigned to respective faces labeled A through F.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The available boundary conditions and their corresponding faces are listed below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Velocity inlet (A)<\/li>\n\n\n\n<li>Pressure outlet (B)<\/li>\n\n\n\n<li>Side (C)<\/li>\n\n\n\n<li>Side (D)<\/li>\n\n\n\n<li>Ground (E)<\/li>\n\n\n\n<li>Top (F)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The fundamental boundary conditions used are <a href=\"https:\/\/www.simscale.com\/docs\/simulation-setup\/boundary-conditions\/velocity-inlet-and-velocity-outlet\/\">velocity<\/a>, <a href=\"https:\/\/www.simscale.com\/docs\/simulation-setup\/boundary-conditions\/pressure-inlet-and-pressure-outlet\/\">pressure<\/a>, <a href=\"https:\/\/www.simscale.com\/docs\/simulation-setup\/boundary-conditions\/wall\/\">wall<\/a>, <a href=\"https:\/\/www.simscale.com\/docs\/simulation-setup\/boundary-conditions\/periodic-boundary-condition\/\">periodic<\/a>, and <a href=\"https:\/\/www.simscale.com\/knowledge-base\/atmospheric-boundary-layer-inlet-incompressible-lbm\/\">atmospheric boundary layer<\/a>.<\/p>\n\n\n\n<div class=\"hw-block hw-note hw-note--warning hw-note\">\n    <div class=\"hw-note__title\">\n        <p class=\"hw-note__titleText\"><i class=\"fa fa-exclamation-circle\" aria-hidden=\"true\"><\/i>Important<\/p>\n    <\/div>\n    <div class=\"hw-note__body\">\n        <p>All the remaining faces of the CAD model are treated as no-slip walls, that is the velocity is automatically assigned a zero value. The user is not required to assign them separately.\r\n <\/p>\n    <\/div>\n<\/div>\n\n\n\n<h2 id='simulation-control' id='simulation-control' id='simulation-control' id='simulation-control' class=\"wp-block-heading\" id=\"simulation-control\">Simulation Control<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The&nbsp;<em>Simulation control<\/em> settings define the general controls over the simulation runtime. The <em>End time<\/em>, <em>Maximum runtime<\/em>, and <em>Velocity scaling<\/em> for the simulation can be defined. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>End time<\/strong>: This represents the time for which the transient effects need to be analyzed (e.g. the physical time).<\/li>\n\n\n\n<li><strong>Maximum runtime:<\/strong> This is the time value in seconds that decides the maximum time for which the&nbsp;simulation will run on the cloud computing instance. The simulation run is automatically canceled if this value is exceeded. This value is to be used as a safeguard to not run excessively large simulations that could unexpectedly use a large amount of computing quota.<\/li>\n\n\n\n<li><strong>Velocity scaling:<\/strong> It is used to maintain the stability of the simulation. The default value is 0.1. <a href=\"https:\/\/www.simscale.com\/docs\/analysis-types\/pedestrian-wind-comfort-analysis\/simulation-control\/#velocity-scaling\">Read more<\/a>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">It is advised to read our <a href=\"https:\/\/www.simscale.com\/knowledge-base\/how-to-control-simulation-time-and-timestep-in-lbm-analysis\/\">knowledge base article<\/a> on controlling simulation time and time steps in LBM for details.<\/p>\n\n\n\n<h2 id='advanced-modelling' id='advanced-modelling' id='advanced-modelling' id='advanced-modelling' class=\"wp-block-heading\" id=\"advanced-modelling\">Advanced Modelling<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Under <em>Advanced concepts<\/em>, you will find additional setup options, such as <em>Surface roughness, Porous objects, and Rotating walls<\/em>. Rotating walls can be applied to cylindrical surfaces which rotate, such as wheels.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Visit this dedicated <a href=\"https:\/\/www.simscale.com\/docs\/analysis-types\/incompressible-lbm\/advanced-modelling-lbm\/\">page<\/a> for more information. <\/p>\n\n\n\n<h2 id='result-control' id='result-control' id='result-control' id='result-control' class=\"wp-block-heading\" id=\"result-control\">Result Control<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The<em> Result Control<\/em>&nbsp;section allows users to define additional simulation result outputs. It controls how the results will be written meaning the write frequency, location, statistics of the output data, etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Find more details about result controls <a href=\"https:\/\/www.simscale.com\/docs\/incompressible-lbm-lattice-boltzmann-advanced\/#results\">here<\/a>.<\/p>\n\n\n\n<h2 id='mesh' id='mesh' id='mesh' id='mesh' class=\"wp-block-heading\" id=\"mesh\">Mesh<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.simscale.com\/docs\/simwiki\/preprocessing\/what-is-a-mesh\/\">Meshing<\/a> is the process of discretization of the simulation domain. That means we split up a large domain into multiple smaller domains and solve equations for them. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For an incompressible LBM analysis, the meshing is based on the lattice Boltzmann method (LBM) and is quite different from the finite-volume based fluid dynamics analysis types in SimScale. Here a cartesian background mesh is generated, which is composed only of cube elements that are not necessarily aligned with the geometry of the buildings or the terrain.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The mesh characteristics are largely the same as described under the PWC analysis <a href=\"https:\/\/www.simscale.com\/docs\/analysis-types\/pedestrian-wind-comfort-analysis\/mesh-settings-for-pwc\/\">mesh documentation<\/a>. However, the computation of the <em>region of interest<\/em> and <em>reference length<\/em> follows a different logic. Users are strongly advised to read this document before proceeding further.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on whether the mesh settings chosen are automatic or manual the subsequent settings available are as follows:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/mesh-settings-lbm.png\"><img loading=\"lazy\" decoding=\"async\" width=\"901\" height=\"521\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/mesh-settings-lbm.png\" alt=\"automatic and manual mesh settings lbm\" class=\"wp-image-93378\" style=\"width:614px;height:auto\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/mesh-settings-lbm.png 901w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/mesh-settings-lbm-300x173.png 300w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/mesh-settings-lbm-768x444.png 768w\" sizes=\"auto, (max-width: 901px) 100vw, 901px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 8: Global mesh settings are available in automatic (left) and manual (right) modes.<\/figcaption><\/figure>\n<\/div>\n\n\n<h4 id='for-automatic-mesh-settings' id='for-automatic-mesh-settings' class=\"wp-block-heading\" id=\"for-automatic-mesh-settings\">For <em>Automatic<\/em> mesh settings:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Fineness:<\/strong> Here, the mesh density can be varied from very coarse to very fine. Alternatively, a minimum target size can be specified under the <em>Target size<\/em> option. This ensures that the minimum cell size in the region of interest is at most as large as the target&nbsp;cell size (it can be lower). The exact value is reported in the run info.&nbsp;More details about the automatic cell size computation can be found <a href=\"https:\/\/www.simscale.com\/knowledge-base\/time-step-transient-lbm\/#for-automatic-meshing\">here<\/a>.<\/li>\n\n\n\n<li><strong>Reference length computation:<\/strong> This is the longest characteristic length scale of your objects of interest in the simulation. For example, this can include the height of a building or the span of a sports stadium. There&#8217;s an option to let the algorithm decide it automatically or enter it manually as a <em>Value<\/em>.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/reference-length-computation.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"569\" height=\"381\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/reference-length-computation.jpg\" alt=\"reference length for meshing in incompressible bm\" class=\"wp-image-46297\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/reference-length-computation.jpg 569w, https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/reference-length-computation-300x201.jpg 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 9: Reference length computation schematic. This is the longest characteristic length scale of your objects of interest in the simulation.<\/figcaption><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Region of interest:<\/strong><em> <\/em>The logic for the region of interest is different from the one for the PWC analysis. For incompressible LBM analysis it can be either be a:\n<ul class=\"wp-block-list\">\n<li><em>Region<\/em> defined using a geometry primitive or; <\/li>\n\n\n\n<li><em>Part(s)<\/em> where the user assigns face\/s or volume\/s directly from the geometry.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h4 id='for-manual-mesh-settings' id='for-manual-mesh-settings' class=\"wp-block-heading\" id=\"for-manual-mesh-settings\">For <em>Manual<\/em> mesh settings:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Fineness:<\/strong> The mesh density can be varied from very coarse to very fine.  The exact value is reported in the run info.&nbsp;The manual cell size computation is different from that of the automatic settings. More details can be found <a href=\"https:\/\/www.simscale.com\/knowledge-base\/time-step-transient-lbm\/#for-manual-meshing\">here<\/a>.<\/li>\n\n\n\n<li><strong>Reference length:<\/strong> Same as above.<\/li>\n\n\n\n<li><strong>Reynolds scaling factor: <\/strong>In SimScale, the&nbsp;<em>Reynolds scaling factor<\/em>&nbsp;(RSF) can be used to apply scaling automatically to a full-scale geometry. This is usually required when tests include scaled versions of buildings or planes in subsonic flows. For more information click <a href=\"https:\/\/www.simscale.com\/docs\/incompressible-lbm-lattice-boltzmann-advanced\/#reynolds-scaling-factor\">here<\/a>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The <em>Enable Progressive Refinement<\/em> option, which is available for both manual and automatic mesh workflows, will be covered in the next section.<\/p>\n\n\n\n<h3 id='progressive-refinement' id='progressive-refinement' id='progressive-refinement' class=\"wp-block-heading\" id=\"progressive-refinement\">Progressive Refinement<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The progressive refinement option for LBM simulations allows users to greatly speed up their simulations (usually by 35-45%) while reducing the consumption of computational quota and without significant impact in the results.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">During the early stages of a LBM simulation, the flow field needs to develop through the domain, since the initial condition is uniform velocity equal to zero. As such, the intention is to develop the flow field quickly using a coarser mesh, and eventually transition to a fully refined mesh towards the end of the simulation run.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/progressive-refinement-lbm.png\"><img loading=\"lazy\" decoding=\"async\" width=\"761\" height=\"565\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/progressive-refinement-lbm.png\" alt=\"enabling progressive refinement lbm simulations mesh\" class=\"wp-image-93379\" style=\"width:578px;height:auto\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/progressive-refinement-lbm.png 761w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/progressive-refinement-lbm-300x223.png 300w\" sizes=\"auto, (max-width: 761px) 100vw, 761px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 10: When enabling progressive refinement, the user needs to define the base and full refinement fractions<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">When using progressive refinement, the early stages of the LBM simulation will be run using a base mesh that is two levels of refinement coarser than what the user initially prescribed in the mesh setup. This base refinement mesh will be used from the beginning of the simulation up to the <em>Base refinement fraction<\/em> defined by the user. As such, the default setting of 0.4 indicates that the base mesh will be used during the first 40% of the simulation run.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <em>Full refinement fraction<\/em> indicates the percentage of the simulation run that will be performed with the fully refined mesh. The default setting of 0.3 indicates that the last 30% of the simulation will be performed with the fully refined mesh.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the interval between base and fully refined meshes, a progressive mesh size transition will take place. After the fully refined mesh starts getting used, it is recommended that the user waits at least 5% of simulation progression before starting to use the results for the transient and statistical result outputs. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With that in mind, the <em>Full refinement factor<\/em> should be at least 0.05 greater than the <em>Fraction from end<\/em> defined for result controls.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/fraction-from-end-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"758\" height=\"621\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/fraction-from-end-2.png\" alt=\"fraction from end definition in the scope of progressive refinement\" class=\"wp-image-93381\" style=\"width:639px;height:auto\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/fraction-from-end-2.png 758w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/fraction-from-end-2-300x246.png 300w\" sizes=\"auto, (max-width: 758px) 100vw, 758px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 11: It is recommended to only start sampling data after 5% of simulation progression from the point when the fully refined mesh starts being used.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The images below show a comparison between a fully refined mesh and meshes that are 1 and 2 levels coarser, using a simple building geometry for reference.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/Fully-refined-mesh.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/Fully-refined-mesh-1024x552.png\" alt=\"fully refined mesh progressive refinement\" class=\"wp-image-93825\" style=\"width:661px;height:auto\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/Fully-refined-mesh-1024x552.png 1024w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/Fully-refined-mesh-300x162.png 300w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/Fully-refined-mesh-768x414.png 768w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/Fully-refined-mesh-1536x828.png 1536w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/Fully-refined-mesh-2048x1105.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 12: Fully refined mesh around a building for an LBM simulation<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">In the scope of progressive refinement, a mesh that is 1 level coarser is generated by coarsening the finest mesh elements of the fully refined mesh:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/1-level-coarser.png\"><img loading=\"lazy\" decoding=\"async\" width=\"4346\" height=\"2344\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/1-level-coarser.png\" alt=\"progressive refinement 1 level coarser\" class=\"wp-image-93826\" style=\"width:654px;height:auto\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/1-level-coarser.png 4346w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/1-level-coarser-300x162.png 300w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/1-level-coarser-1024x552.png 1024w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/1-level-coarser-768x414.png 768w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/1-level-coarser-1536x828.png 1536w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/1-level-coarser-2048x1105.png 2048w\" sizes=\"auto, (max-width: 4346px) 100vw, 4346px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 13: Progressive refinement mesh that is 1 level coarser than the fully refined mesh<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The same happens for the base mesh, yielding the result below:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/2-levels-coarser.png\"><img loading=\"lazy\" decoding=\"async\" width=\"4347\" height=\"2344\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/2-levels-coarser.png\" alt=\"Figure 14: Base refinement mesh for a LBM simulation involving progressive refinement\" class=\"wp-image-93827\" style=\"width:652px;height:auto\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/2-levels-coarser.png 4347w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/2-levels-coarser-300x162.png 300w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/2-levels-coarser-1024x552.png 1024w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/2-levels-coarser-768x414.png 768w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/2-levels-coarser-1536x828.png 1536w, https:\/\/frontend-assets.simscale.com\/media\/2024\/07\/2-levels-coarser-2048x1104.png 2048w\" sizes=\"auto, (max-width: 4347px) 100vw, 4347px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 14: Base refinement mesh used at the beginning of a LBM run involving progressive refinements<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id='local-mesh-refinements' id='local-mesh-refinements' id='local-mesh-refinements' class=\"wp-block-heading\" id=\"local-mesh-refinements\">Local Mesh Refinements<\/h3>\n\n\n\n<h4 id='region-refinement' id='region-refinement' id='region-refinement' class=\"wp-block-heading\" id=\"region-refinement\">Region Refinement<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">In case a region between two buildings or a specific open area of interest needs refinement, a <em>region refinement<\/em> would be best suited. To assign a specific region for mesh refinement, a&nbsp;<em><a href=\"https:\/\/www.simscale.com\/docs\/simulation-setup\/model\/geometry-primitives\/\">geometry primitive<\/a><\/em>&nbsp;of type&nbsp;<em>sphere<\/em>&nbsp;or&nbsp;<em>cartesian box<\/em>&nbsp;can be locally created using the&nbsp;<strong>\u2018+\u2019&nbsp;<\/strong>button and assigned by activating the slider in front of it.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-region-refinement-2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"704\" height=\"251\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-region-refinement-2.jpg\" alt=\"mesh region refinement settings for incompressible lbm\" class=\"wp-image-46444\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-region-refinement-2.jpg 704w, https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-region-refinement-2-300x107.jpg 300w\" sizes=\"auto, (max-width: 704px) 100vw, 704px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 15: Automatic and manual ways of defining region mesh refinement<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The sizing for the region of interest is managed either automatically by choosing a fineness between <em>very coarse<\/em> and <em>very fine<\/em> or by manually setting a target resolution. The parameter <em>Target resolution<\/em> defines the length scale to which the entire assigned region will be refined.<\/p>\n\n\n\n<h4 id='surface-refinement' id='surface-refinement' id='surface-refinement' class=\"wp-block-heading\" id=\"surface-refinement\">Surface Refinement<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">A surface refinement is best suited for cases where a specific building\/volume or a set of its surfaces or solids should be refined.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The fineness can be defined analogously to the global mesh sizing from&nbsp;very coarse&nbsp;to&nbsp;very fine. Also, in the same way, as it is done for the global mesh sizing inside the region of interest, the surface refinement will result in a layer of 4-6 cells ranging from the smallest cell size near the surface and gradually increasing with a larger distance from the surface. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-surface-refinement-3.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"470\" src=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-surface-refinement-3.jpg\" alt=\"surface mesh refinement incompressible lbm\" class=\"wp-image-46448\" srcset=\"https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-surface-refinement-3.jpg 701w, https:\/\/frontend-assets.simscale.com\/media\/2021\/06\/lbm-surface-refinement-3-300x201.jpg 300w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 16: Automatic and manual ways of defining surface mesh refinement<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">When in manual mode, the user gets to define a minimum number of these buffer layers. Per layer, an additional number of cells in each of the positive x-, y-, z-direction can also be specified.<\/p>\n\n\n\n<h2 id='related-articles' id='related-articles' id='related-articles' id='related-articles' class=\"wp-block-heading\" id=\"related-articles-\">Related articles <\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.simscale.com\/blog\/2018\/12\/lattice-boltzmann-method-solver\/\">Blog: GPU-based Solver Using Lattice Boltzmann Method<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.simscale.com\/docs\/tutorials\/wind-analysis-using-lbm-solver\/\">Tutorial 1: Pedestrian Comfort Using LBM Solver<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.simscale.com\/docs\/tutorials\/lbm-truck-aerodynamics\/\">Tutorial 2: Aerodynamics of a Truck <\/a><\/li>\n<\/ul>\n\n\n\n\n<div class='hw-block hw-references hw-references'>\n    <p class='hw-references__title'>References<\/p>\n    <ul class='hw-references__list'>\n\n        <li><cite><a href=\"https:\/\/www.numeric.systems\/\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/www.numeric.systems\/<\/a> <\/cite><\/li>\n    <\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The&nbsp;Incompressible LBM analysis&nbsp;type is used to run large transient external aerodynamics simulations when the...","protected":false},"author":118,"featured_media":46306,"parent":17174,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-documentation.php","meta":{"_acf_changed":false,"_crdt_document":"","inline_featured_image":false,"footnotes":""},"class_list":["post-45863","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/pages\/45863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/users\/118"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/comments?post=45863"}],"version-history":[{"count":0,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/pages\/45863\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/pages\/17174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/media\/46306"}],"wp:attachment":[{"href":"https:\/\/www.simscale.com\/wp-json\/wp\/v2\/media?parent=45863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}