The coronal hole creation: Theory and simulation