Don't worry, frangipane is naturally grainy! When adding the eggs, the mixture will look very clumpy, and the final texture will be grainy due to the almond texture. It will be great once cooked!