A 3D finite element numerical simulation was developed to investigate Casimir forces in arbitrary geometries. The code was verified comparing it with results obtained from analytical equations. Appling the simulation to previously not assessed configurations, new Casimir properties were found such as repulsive Casimir forces in groove like structures.