Field-Induced Phase Transitions in Nematic Liquid Crystals: A Numerical Study