Source term as an Expression

Ok. I haven´t fixed it :(.
It is open again. I would be really grateful for your help.
Maybe i have no other choice then defining f through a user defined expression. Wish it wouldn’t be like that ;).
But i have problems understanding the concept. Is there anywhere a good explanation please?