How to calculate total entropy generation in LAMMPS

Hi arif

What is the formula that you are using to calculate the entropy generation.

Arun