Modeling the barrier-layer formation in the southeastern Arabian Sea