how to delete particles during simulation?

Asked by Aaron Liu

Hi,

I'm trying to generate a structural soil sample containing large voids (not just large void ratio), therefore, I want to delete free particles (i.e. no contacts with surrounding particles) or those have small contact forces. Is there any technique to do this?

Regards,

Aaron

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Bin Cheng
Solved:
Last query:
Last reply:
Revision history for this message
Best Bin Cheng (bincheng) said :
#1

Hi Aaron,

As far as I know, there is not a direct function (something like 'sim.deleteParticle()') to delete particles during simulation.

But for a another way, you can delete the particles using a indirect method, e.g., using the function called sim.moveParticleTo() in ESyS.Particle coupled with Runnable class. That is to say, you can set the position of particles which have no contacts with surrounding particles out of the spatial domain, and then the ESyS engine would delete these particles in simulation.

This method seems to be a little tricky, but I think it would accomplish what you want to do.

Hope it helps.

Best wishes,

Bin.

Revision history for this message
Aaron Liu (liuxin9) said :
#2

Hi Bin,

Thanks for your advise. I've try this method today based on your suggestion, it worked!

Thanks very much!

Regards,

Aaron

Revision history for this message
Aaron Liu (liuxin9) said :
#3

Thanks Bin Cheng, that solved my question.