Do you want impose a heat flux function of position? if yes, this is made through a User Defined Function - UDF written in C. IIt is not a big issue. here you ca find some examples
Actually I need to represent the heat flux along the weld as a function of coordinate and time using ANSYS transient solution.The problem is how to make heat flux move along the welding line.