What does the word gnashed mean?

The word gnashed describes a violent or forceful clenching of the jaws, usually associated with frustration rather than with eating.