Simulation of the critical current density and its dependence on geometrical factors in RABiTS based coated conductors