In the present study, a numerical analysis on electrohydrodynamics (EHD) of the flow and the collection mechanism inside a electrostatic precipitator were investigated. The phenomena of the electrostatic precipitator include complex interactions between the electric field, the fluid flow and the particle motion. To validate the numerical method, the numerical computation for the electric field of a simple wire-pipe type electrostatic system having an analytic solution were performed. Using this numerical method, the electric field of the spiked electrostatic precipitator was simulated. And the fluid flow and the particle motion inside the spiked electrostatic precipitator were numerically analyzed.