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