Calculation of current or manoeuvring forces using a viscous flow solver