Particle-in-cell simulations on spontaneous thermal magnetic field fluctuations