How can I assign sin wave current to a material for magnetostatic analysis. Can I use variables.