I have a domain where air (with Conductivity Ka) surrounds a water pipe. I want to be able to vary the Temperature of the Water. For speed, I want to use a userfunction (DLL) to vary the temperature. Can this be done as follows:
Hi gos,
Please refer Elmer Models Manual in Heat Solver http://www.nic.funet.fi/pub/sci/physics ... Manual.pdf
There in Body Force Section, I don't see the keyword Temperature. Rather there are keywords Temperature lower limit and Temperature upper limit.
So, the UDF definition in SIF depends on the availability of the keyword in code.
For example,the "Temperature" in boundary can be varied with time using FunctionDirichletBoundary condition you have mentioned above.
Yours Sincerely
Anil Kunwar
Last edited by annier on 04 Sep 2015, 16:52, edited 1 time in total.
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
annier wrote:Hi gos,
Please refer Elmer Models Manual in Heat Solver http://www.nic.funet.fi/pub/sci/physics ... Manual.pdf
There in Body Force Section, I don't see the keyword Temperature. Rather there are keywords Temperature lower limit and Temperature upper limit.
So, the UDF definition in SIF depends on the availability of the keyword in code.
Yours Sincerely
Anil Kunwar
Thanks,
However, in this posting: viewtopic.php?f=7&t=3396
Temperature is indeed used within a Body Force section....
Body Force 1
Temperature Load = Variable time
...
End
The temperature body force (source term in the RHS of the partial differential equation) may be nodal so the word "load" follows the variable "temperature".
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Body Force 1
Temperature Load = Variable time
...
End
The temperature body force (source term in the RHS of the partial differential equation) may be nodal so the word "load" follows the variable "temperature".
Thanks annier.
Some years since I developed my original model, so have forgotten a some Elmer how-to's. Looking into the Keywords file is one trick I had forgotten.
Since the (simplified) Temperature is the same for all Nodes within the Water Pipe is assumed to be the same, I will simply return how the Temperature varies with time.
Strangely, the keyword "Load" must NOT be there for this to work. With the keyword Load in place, my simulations do not converge any more. (Previously I have used a Fixed Temp for the Pipe Water, using an Initial Condition and a very high Heat Capacity to get a constant temp)