Integration of a flexible pipes simulation tool in a CAD system