Numerical simulations of stress generation and evolution in Volmer–Weber thin films