Ingredients for accurate simulations of convection in stellar envelopes