Curved Mesh Generation and Mesh Refinement using Lagrangian Solid Mechanics