Predictive modelling of structure formation in semiconductor films produced by meniscus-guided coating