Boost converter simulation keeps getting fried
The basic topology looks OK, so the problems are most likely due to implementation details.  Since you gave little detail, we can only make some guesses:

The FET isn't being driven too slowly.  The total transition time should be a small fraction of the pulsing period.  For example, if the oscillator is running at 100 kHz, then the pulse period is 10 &micro;s, and the switching transition time should be small compared to that.  If the gate voltage takes more than 1 &micro;s (in this example) to get from high to low or low to high, that's not good.

FETs have significant gate capacitance, so it takes a significant pulse of current to switch the gate from one state to the other.  The digital output can probably only source or sink a few 10s of mA.

Your are using too high a frequency.  This works together with #1.  The faster the oscillator, the faster the gate needs to transition to keep the FET fully on or fully off most of the time.

At this low voltage you really should be using a Schottky diode, not the ordinary silicon diode you show.  There are two reasons for this.  Schottky diodes have a lower forward drop and have very fast reverse recovery time.  The lower forward drop helps with efficiency.  The fast reverse recovery time is very important since the FET is shorting the output during the recovery time.  That really beats on the FET and the diode.

2 mH seems very large.  Again, we don't know your switching speed or output current requirement, but such large inductors will have significant series resistance.

The duty cycle is not optimized.  For a ideal switch and diode, the forward voltage on the inductor will be 12 V, and the reverse voltage 16 V.  The length of the on and off phases should be inversely proportional to those, respectively.  Again, let's use 100 kHz switching frequency as example.  That gives you 10 &micro;s for the whole period.  You want 16 parts of that to be on and 12 parts off, which means 5.7 &micro;s on and 4.3 &micro;s off.  Since there will be some inefficiencies and losses, in practise the on time will be a little more relative to the off time than the purely theoretical 16/12 ratio.