Mass calculation
Hy @ all,
I would like to calculate & print out the mass and the number of particles included in the calculation area.
I ´ve tried to use the following commands:
variable m equal mass(all)
fix extra all print 100 "$t $m" file out.txt screen no title "%step totalmass"
but I don´t know whats really calculated with this command.
It would be nice, if someone could help me,
Michael
Forums:
- Read more about Mass calculation
- 6 comments
- Log in or register to post comments