Simulation of bone ingrowth