Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to test our simulation for convergence, we will refine the mesh. However, instead of refining the mesh everywhere (which would be wasteful, as most of the area of the domain far away from the shock has constant values), we will use our results to refine our mesh. Specifically, we are going to use the gradient of the pressure to determine where to refine the mesh. First, let's take a look at our mesh. In the Outline window, select Graphics and Animations, under _Graphics, select Mesh, then press Setup. Select all of the surfaces (except y=0.35) and press Display.

Image Modified

In the menu bar, go to Adapt > Gradient.