Process control for thermal-spray deposition of thermoset coatings using computer simulation