$adddrainworkfunc
This function is to set up the work function of drain contact. Just fill in the work function of the metal and this function should be used with the $ifuseaffinity.
Example
$adddrainworkfunc 4.7
The $adddrainworkfunc setting in GUI interface is here
Press Contact Setting, remember to check both boxes, and fill in the field as needed!