I would use understand as "grok" is a word relegated to fans of Heinlein and sundry, and I suspect it would be less understood by those outside the USA.
If you want to reference the same "deeper understanding" idea, use "in the zone" or "flow" or similar.