Numerical simulation of a flow conditioner