1. in Silvaco after Id-Vgs simulation in Tonyplot use "Graph function" tab. Use formula dydx(drain current,gate voltage). It will calculate gm. Then plot graph function 1 vs vgs to get gm-vgs curve. See Tonyplot manual for details
or
plot id-vgs curve in tonyplot, extract data . Use any graph plotting software such as Origin. Use differentiation to calculate gm