SetupFor demonstration purposes, this answer first creates, then damages, then recovers a LUKS2 partition in a sample disk.img file.
Create a sample disk.img file: (do not run this on your real drive!)
Damage the sample disk.img file: (do not run this on your real drive!)
So this is a sample disk.img with a LUKS2 partition at an unknown offset, with a damaged header on it (magic bytes erased, partially overwritten, partition table wiped).