FastS : Adaptive IBM workflow


How to adapt Cartesian grids automatically for an IBM case.
Adaptation is based on a sensor that must be computed by the user.
Here, the example is the inviscid supersonic flow around a 2D diamond and the sensor is the difference of the Mach number.

Requirements

The IBM workflow tutorial should be achieved before: see tutorial . Adaptation is done after a solution is obtained on an initial IBM Cartesian mesh. Input data are:

Settings

How to run

A solution must be first obtained on an initial mesh. You can download the sample file [body]. Then you can download, edit (to modify some parameters) and run the following scripts: Four files are generated:

Results

Results can be seen in the gallery: [Adaptive IBM].
More: Tutorials - Gallery - Reference documentation