Form optimisation of flowed through and flowed around components