Process modelling of thermal spraying for thermoset coatings