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.
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
|
#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.
To post a message you must log in.