Tag: adaptive meshing

  • Adapting to the Flow

    Adapting to the Flow

    Simulating fluid dynamics computationally is no simple task. One of the major challenges is that flows typically consist of many different lengthscales, from the very large to the extremely tiny. In theory, correctly capturing the physics of the flow requires computing all of those scales, and that means having a very close, dense grid of points at which the physics must be calculated during every time step of a simulation. Even for a relatively simple flow, this quickly balloons into a prohibitively expensive problem. It simply takes a computer far too long to calculate solutions for so many points.

    One technique that’s been developed to save time is Adaptive Mesh Refinement. You can see an example of it above. The background is a grid of points that are far from one another in places where the flow isn’t changing and are tightly spaced in areas where the rising flames are most changeable. Adaptive Mesh Refinement algorithms automatically change these grid points on the fly, adding more where they’re needed and subtracting them where they aren’t. The end result is a much faster computational result that doesn’t sacrifice accuracy. Check out the videos below for some examples of this technique in action. (Video and image credit: N. Wimer et al.)

  • Adaptive Meshing

    Adaptive Meshing

    The use of numerical simulations in fluid dynamics has exploded over the past half century with new computational techniques being developed constantly. Most methods involve solving the equations of motion (or an approximation thereof) on a grid of points known as a mesh. To accurately capture the physics, meshes must often be quite closely packed in areas where detail is needed, but they can be more widely spaced in areas where the flow is not changing quickly. An increasingly common technique is adaptive meshing in which the mesh of grid points shifts between time steps; this places more grid points where the flow requires them and removes them from less important areas in order to reduce computational time.

    An example of adaptive meshing is shown above. On the left particles are falling into salt water. The colors show the concentration of particles. The right side shows the solid particles and the fluid mesh around them. Notice how the grid shifts as the particles fall. (Image credit: C. Jacobs et al., source)