This function is to set up the work function of source contact. Just fill in the work function of the metal and this function should be used with the $affinity.
Example
$addsourceworkfunc 4.5
$affinity,