How do I proceed to generate pentagon shape for level set just like a circular shape? This pentagon is a rigid structure structure immersed in fluid and job is to do IBM simulations. I am using level set for interface dynamics for fluid-fluid as well fluid-solid. As in circle we find the minimum distance of a point from circle.