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. This will display the current mesh.

You may now close the Mesh Display window. In the menu bar, go to Adapt > Gradient. Under Options uncheck Coarsen. Ensure that Gradients of > Pressure... Static Pressure are selected. Then press Compute.

Image Added