A numerical study of the behaviour of carbon dioxide in control valves for optimising carbon sequestration