modified clamp 2 by shiburajdda | SimScale