Simulations of the breakup of liquid filaments on a partially wetting solid substrate