Get vorticity from velocity

Please follow the guidelines for questions: Read before posting: How do I get my question answered?
and create a Minimal code example that reproduces the issue.