MFiX-DEM simulation which uses stl files failing with energy equations

Hello MFiX Community,

I am having an issue with an MFiX-DEM simulation which uses some moving stl files whilst trying to also use the energy equations. The simulation runs fine when not using the energy equations, and I suspect something is going wrong with the interaction of the stl files and the energy equation boundary conditions, even though they are specified. I’ve attached everything in a .zip below, as well as a .out file which relays the error. Any help would be greatly appreciated!

ActiveMatterWithHeatTransfer.zip (16.6 MB)

My recommendation is to use the latest code, where moving walls don’t require writing custom code. You also have modified many files related to the energy equation, does it run when you use the baseline code?

Hi Jeff,

The code does not run when using the baseline code (i.e. no modified energy equation files) which makes me suspect that there is some unusual interaction between the BC’s for my moving walls and the energy equations, since this code also works fine with the energy equations turned off.

Did you rebuild the solver? I removed des_thermo_newvalues.f and rebuilt and I do not get the error I got with your modified version of this file.

Ah, you are correct - thank you. I think there was a segmentation fault in my user defined des_thermo_newvalues.f file. I have two different phase ID particles and I just wanted to ensure there is only heat transfer between phase_ID=2 particles.