Hello Haris,
In piping systems design one of the equations derived from the conservation energy balance in order to figure out fluid pressure drops inside pipes (lengths and diameters) or flow line systems where that specific fluid is passing through (density, viscosity, etc.) is the one we know as BERNOULLI equation.
In designing the production system we must ensure there is enough fluid energy to move itself from the wellbore to the gathering system. Selecting a specific pipe diameter will yield a specific fluid velocity to avoid particles carried over by fluid to promote erosion (solids hitting the pipe walls) or particle settling inside the pipe (promoting corrosion). The fluid velocity desired treasure points should fall between 5 to 15 fps.
As per the erosion observation during the well test I will guess is happening in the choke, if that is the case you must consider using adjustable chokes specially during the wells clean up. But it is highly important to figure out the source of solids or particle fines. Solutions could be the use of blast joints or gravel packs.
And finally, the choke is the one tool that must to be used to control hydrocarbon´s production rate at the wellhead in order to avoid downstream pressure fluctuations affect the sand face inflow performance.
Hope it helps and if you would rather you can find more information in the API RP14E.
Regards and wish you well,
------------------------------
Jose Antonio Rodriguez Pimentel
------------------------------