Similarity solution of dam-break flow on horizontal frictionless channel