Unstructured mesh generation and adaption