Auto-mesh analysis