How to generate FEA data for LUT based PMSM?

Thank you for all your help. The issue seems to have been solved!!!