Setting particle initial temperatures in thermalEngine

Asked by Zoheir Khademian on 2020-07-17

I am working on thermal hydraulic mechanical modeling. Can we assign different initial temperature values to different bodies (spheres) in a packing? Does "thermal.particleT0" or "body.state.temp" do the trick for initializing temperature gradient across a model? Or only boundaries can be thermally initialized?

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Robert Caulk
Solved:
2020-07-17
Last query:
2020-07-17
Last reply:
2020-07-17
Best Robert Caulk (rcaulk) said : #1

Yes you can use body.state.temp to set the temperature of individual bodies as you like. But keep in mind that particleT0 will set all particles to that temperature during the first iteration that thermalEngine is active. So if you want to set individual particle temps to a gradient with python, you'd need to run one iteration and then set the individual body temps using body.state.temp.

Zoheir Khademian (zkhademian) said : #2

Thanks Robert Caulk, that solved my question.