Using heat/gran, temps from restart file?

Submitted by Evan.J on Thu, 03/22/2018 - 15:40

Hello,

I have seen similar questions posted from quite a while back (https://www.cfdem.com/forums/restart-heat-transfer-simulation) but still I can't see how to do this successfully.

In the first .in file I use heat/gran to run a heat conduction simulation, with this:

fix heattransfer temp_group heat/gran initial_temperature 200

Now, I want to run the simulation longer, so I have a second .in file which reads the restart file from the original .in file. In the restarted .in file, how do I get the particle temperatures to be read in so I can pick up where I left off?

If I again use the same line:
fix heattransfer temp_group heat/gran initial_temperature 200
it resets all the temperatures to 200, of course.

If I leave off the initial_temperature keyword, it will not run. And if I leave off this line entirely, the heat conduction is not calculated.

I'm sure this can be done, but how? Thanks!

Evan

arnom's picture

arnom | Tue, 04/03/2018 - 13:16

Can you add a 2 particle example case to your initial post so that I can have a look?

DCS team member & LIGGGHTS(R) core developer

JoG | Mon, 04/16/2018 - 11:12

I also use restart files and the heat transfer model. I also use the "initial_temperature" setting, but in my case the setting is neglected if I read a restart file previously. So in my case there is no problem in using restart files and the heat/gran model.