Computer simulation of structural development processes with discrete element method