What does the name Yan mean?

Hello, the meaning of grinding yán is:

To grind finely or to explore deeply

When pronounced as yàn, it means the same as inkstone.

When used as a name, it means:

I hope you can become a person who is curious about things and can seriously explore and study the things you like.

Hope this helps.