Dynamic simulation of the electrorheological effect in a uniformly distributed electric field