![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
I'd like to apply 10 Grey = 10 J /kg by using the heat source.
Heat source is in W/kg, so that is (J/s)/kg.
I've chosen my mass to be 1 kg.
So I have creative freedom, and I can apply Heat Source = 1 for 10 seconds, or Heat Source = 10 for 1 second, in order to apply 10 J/kg to my 1 kg model.
Let's say my mass is 2 kg, so I need to apply Heat Source = 2 for 10 seconds, or Heat Source = 20 for 1 second
I'd like to parameterize my user defined function.
So let's say I want to apply 10 Grey to my model, using a user defined function (in fortran) where Heat Source = "x"
Is there some way to reference the total mass, or mass of a body in Elmer, so I can do Heat Source = 10 * mass, which would get the goal completed.
Please excuse me if it's somewhere in the manuals, it was easier and nicer to ask.
Thanks
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)