I am trying to set the temperature of all the nodes in the model, so that other properties (e.g. viscosity) can depend on it. I would like to impose a temperature field calculated elsewhere, through an input file.
I successfully applied such a boundary condition on a boundary, following the example from:
viewtopic.php?f=9&t=1451
However, how can I do that for all the nodes in the model? Following the Manual, I tried
Code: Select all
Body 1
Name = "lavabody"
Target Bodies(1) = 2
Equation = 1
Material = 1
Initial Condition = 1
Body Force = 1
End
Body Force 1
Temperature = Variable Coordinate
Real
include t.dat
End
End
I also tried making a file with node numbers and temperature (2 columns) and use "Temperature = Variable Node" and "Temperature = Variable NodeNumber", but that didn't help.
Ideas?
I suppose I can create a "restart file" and use that, but I was hoping for a simpler solution.
Thanks!!