1. Overview
Background
When a shock wave passes a body, the body feels a sudden, large pressure difference. If the body is light enough or the shock strong enough, it does not stay where it is: it starts to move, and the moving body changes the flow in turn. Structures under blast loads, separating stores and particle clouds in a shock are all problems of this kind.
There are many reasons this is hard to solve numerically, but the main ones are:
- The boundary moves. As the body crosses the grid, cells cut by its surface appear and disappear every step, and some cut cells are tiny. Left as they are, tiny cells drive the stable time step towards zero.
- The flow drives the body. The body’s motion is not prescribed: the flow’s force gives the body’s motion, and that motion is the flow’s boundary again (two-way coupling).
- The body touches the floor. At the start the gap between the body and the floor is zero. How much high-pressure gas gets into that gap decides the force that lifts the body.
The problem
The setup was proposed by Falcovitz et al. (1997) and used as a test of moving-boundary methods by Arienti et al. (2003), Hu et al. (2006) and Monasse et al. There is no exact solution; the reference is the grid-convergence plots of the center of mass at the final time that these methods published.
Goal
Here we check whether MoCCA CFD lifts the cylinder in this problem, and whether its final position falls within the published range.
2. Model
2.1 Solver
MoCCA CFD (Moving Cut-Cell AMR) is our own AMR-based CFD code, which grew out of our custom software development work. It is built for physics in which bodies move with six degrees of freedom through the fluid, rather than for fixed or rotating domains. Because the Cartesian grid is cut at the body surface, a moving body needs no new mesh, and adaptive mesh refinement (AMR) puts cells only where they are needed, around shocks and bodies. Bodies can follow a prescribed path or move freely under the flow’s forces, and the same source code runs 2D and 3D cases on CPUs and GPUs.
2.2 Geometry and conditions
| Item | Value (non-dimensional) |
|---|---|
| Channel | length 1 × height 0.2, slip walls top and bottom |
| Gas | at rest, density 1, pressure 1, ratio of specific heats 1.4 |
| Cylinder | diameter 0.1, density 7.6, initial center (0.15, 0.05), resting on the floor |
| Shock | Mach 3, initially at x = 0.08. Post-shock density 3.857, pressure 10.33, velocity 2.629 |
| Gravity | none |
| Final time | t = 0.255 |
2.3 Method
- Grid: adaptive mesh refinement (AMR) on a Cartesian grid. One level of refinement (Δx = 1/640) over a base of 320 × 72 cells (Δx = 1/320), placed where the density gradient is large (the shocks) and near the cylinder surface. The refined region is chosen again every 2 steps.
- Body surface: the grid is not fitted to the body; the Cartesian grid is cut at the surface (embedded boundary, cut cells). When the body moves, the grid is cut again every step.
- Small cells: the smallest cut cells are grouped with their neighbours and their values redistributed (state redistribution), so the time step is set by regular cells, not by the small ones.
- Flow: compressible Euler equations, Godunov-type convective flux.
- Body motion: the cylinder is a free body (in-plane translation and rotation). Every step the flow computes the force and torque from the pressure on the cylinder’s surface and hands them to a rigid-body dynamics engine; the cylinder’s new position cuts the boundary for the next step.
- Floor: the floor is not the domain’s wall but a fixed body inside the domain (the domain starts at y = −0.025). A cylinder touching the domain wall left a row of very thin cut cells along that wall, which was unstable. The geometry is the same.
3. Results
3.1 What happens

When the shock hits the cylinder, the pressure on its front rises sharply, and the shock reflects off the floor and the ceiling and travels back and forth across the channel. Just after the reflections the pressure reaches about 43 times its initial value. High-pressure gas that gets under the cylinder lifts it, and as it rises the cylinder is carried to the right with the flow. The refined region (orange) follows the shocks and the cylinder.
3.2 The cylinder’s path

At t = 0.255 the cylinder’s center is at (0.6533, 0.1465), its velocity is (2.84, 0.68), and it has turned by only −0.17°. The cylinder has moved about 0.5 horizontally and about 0.1 vertically from where it started, so it has risen by one diameter (0.1).
3.3 Comparison with the literature
| horizontal x | vertical y | |
|---|---|---|
| Published range (grid-convergence plots of Hu et al. 2006 and Monasse et al.) | 0.64-0.66 | 0.135-0.146 |
| MoCCA CFD, Δx = 1/640 | 0.6533 | 0.1465 |
| MoCCA CFD, Δx = 1/1280 | 0.6344 | 0.1456 |
At Δx = 1/640 the horizontal position is within the range and the vertical position is within 0.0005 (0.3%) of its upper end. The published range was digitized from plots, not from a table, so the range itself may carry a sizable error.
However, grid convergence has not been shown yet. With the grid refined twice as much (1/1280), the horizontal position falls below the range (0.6344). As the grid gets finer the values should approach one value from one side, and they do not yet. We suspect two places.
- The gap under the cylinder. The initial gap is zero, so how much gas gets into it depends on the resolution. The published methods treat this contact differently, and the final position may be sensitive to how it is treated.
- The gap above the cylinder. Towards the end the gap between the top of the cylinder and the ceiling narrows to 0.0035 (about 2 cells) and the Mach number is high in it. We only saw this once we made the animation.
3.4 CPU and GPU
We ran the same code on a GPU (Quadro RTX 4000) and on CPUs. The centers at the final time differ by less than 2 × 10⁻⁷, the same result for engineering purposes. MoCCA CFD builds for CPUs and GPUs from one source, so every validation checks that the two builds do not drift apart.
4. Conclusions
- A shock wave does lift a body. A cylinder 7.6 times as dense as the gas, pushed by a Mach 3 shock, rises by its diameter and travels half the channel’s length in a time of 0.255. MoCCA CFD moved the cylinder by the flow’s forces alone and solved the whole process.
- The final position is close to the published range. Horizontally it is within the range; vertically it is within 0.3% of the upper end.
References
- J. Falcovitz, G. Alfandary, G. Hanoch, “A two-dimensional conservation laws scheme for compressible flows with moving boundaries”, Journal of Computational Physics 138 (1997) 83-102.
- R. Arienti, P. Hung, E. Morano, J. E. Shepherd, “A level set approach to Eulerian-Lagrangian coupling”, Journal of Computational Physics 185 (2003) 213-251.
- X. Y. Hu, B. C. Khoo, N. A. Adams, F. L. Huang, “A conservative interface method for compressible flows”, Journal of Computational Physics 219(2) (2006) 553-578.
- L. Monasse, V. Daru, C. Mariotti, S. Piperno, C. Tenaud, “A conservative coupling algorithm between a compressible flow and a rigid body using an Embedded Boundary method”, arXiv:1012.5479.
