If you heated the curd in a bain marie following my instructions then it really shouldn't be grainy. If it is then it means the curd is overcooked and this could be caused by the bottom of the bowl touching the surface of the water and the water being at a rolling boil rather than simmering.