Temperature calculation in region

Submitted by dave89 on Wed, 05/23/2018 - 17:41

Hey community,

i need to calculate the temperature of particles grouped in a defined region. Unfortunately I only get zero on the calculated compute command.

Could someone check it and tell what I am doing wrong. What do I have to setup to get it to a file or get the result ?

Thank you very much in advance.

David

I could send you script file on request

1. I try to set the region:
#set region temperature

region regionTemp1 block 0.6 1.5 -0.6 0.6 0 1.4 units box
group sectionTemp1 region regionTemp1

2. I try to compute the temperature:

compute 3 sectionTemp1 temp

#compute 5 all ke
#command

thermo_style custom step atoms ke c_1 c_3 vol f_heattransfer