Skip to main content
. 2022 Feb 24;15(5):1700. doi: 10.3390/ma15051700
Algorithm 1 The numerical procedure for the present hydrocode.
  • 1:

    Generate mesh and setup initial conditions.

  • 2:

    Moving level-set fields, ϕi, using the level-set method.

  • 3:

    Populate the ghost cells around the interface by solving Equation (9).

  • 4:

    Impose boundary conditions according to the type of boundary by using the ghost fluid method.

  • 5:

    Solve the governing equation (Equation (1)) to obtain the elastic predictor step for solids.

  • 6:

    Apply the radial return mapping algorithm to perform the plastic corrector step.

  • 7:

    Solve the auxiliary equations for the temperature of the solids.

  • 8:

    Apply the programmed burn model to the explosive charge.

  • 9:

    Solve the governing equation (Equation (4)) for explosive gas.

  • 10:

    Update the time step.

  • 11:

    Go back to step 2 and repeat until the last time step is reached.