Yes. If you have a mathematical model (such as one described in this article, even if it's not the most recent : http://link.springer.com/article/10.1007/BF02667333 ) which depends essentially on coordinates, time and the power input of your welding tool, you "just" have to write the equations in FORTRAN syntax and you'll have the core of your DFLUX subroutine