Put the ham in a large heavy-based saucepan. Add the studded onion, carrot and bay leaf, then pour in enough water to cover the ham completely. Bring to the boil, then reduce the heat and simmer for 5½ to 6 hours. You should allow 20 to 25 minutes per 500g for the ham. Remove from the heat and allow the ham to cool in the cooking liquor.