🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to record the removed particles ids and removal time?

User: "Yang_QI1"
Altair Community Member
Updated by Yang_QI1

Hi,

I would like to record the ids and time of particles which leaves the simulation domain. I have hundreds of thousands of particles in my simulation. Currently I tried writing apis to remove a particle when it collides with geometry surface outlet, in the same manner as the api tutorial particle removal. However, I can get those information but found it difficult to save the datas for the removed particle id and time. What kind of method should I use? And is there an alternative way to do so?

Thanks a lot.

Regards,

Jason

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Stephen Cole"
    Altair Employee
    Updated by Stephen Cole

    Hi Jason,

    It maybe best to write the data to a text file, but you have to be careful that writing data to a file with multiple threads can cause a crash. EDEM has a threadID function so you can write data per thread on the CPU, if using GPU you have to transfer the data to CPU first.

    Regards

    Stephen