Accounting for lost particles

Submitted by ravirasoon1991 on Tue, 04/07/2015 - 18:47

Hello,

Stream of particles are being injected continuously from inlet and they leave the domain through outlet.
I would like to account for all the particles in the domain and even particles which left the domain. (count the particles and save their respective properties such as velocity,density etc.)
Is there a way wherein I can account for the lost particles also and write everything in a file?
I want to plot the average velocity of all the particles in the domain and even lost particles too.

Thank you.

ravirasoon1991 | Wed, 04/08/2015 - 07:39

May be even accounting for particles in a particular "region" and particles which left that defined "region".

thank you.

ravirasoon1991 | Fri, 04/10/2015 - 21:59

Now I am able to count the number of particles (just defined few regions at the outlet and used " variable ID equal count(1, 2) "
But I have no idea about how to account for the properties of each particle in that region.
I have 2 type of particles.

Pls help.

j-kerbl's picture

j-kerbl | Mon, 04/13/2015 - 10:20

Hi
Take a look at fix massflow/mesh!

I hope that does what you want.

Cheers
Josef

ravirasoon1991 | Tue, 04/14/2015 - 01:00

Thanks for your reply.

In the doc it is mentioned that fix massflow/mesh will track the particles which penetrate through the mesh surface but i don't have any particles which penetrate.
In my simulation particles escape from the domain through outlet (geometry has 2 outlets)

I am trying in another way but I am stuck-

" group tt1 region reg1
group tt2 region reg2

set group tt1 type 1
set group tt1 type 2
set group tt2 type 1
set group tt2 type 2 "

I am not sure about what is going to happen if I define something in this way.

1) "set group tt1 and tt2" - I defined type 1 and type 2 particles separately for same region, is this correct?
I was getting error if I use "set group tt1 type 1 2"
2) If I want to use "compute property/atom", then how can I track the particle properties in that particular region?

Plz help.
Thank you.