Run time inclusion of a structure

8 views
Skip to first unread message

Sagar G Nayak

unread,
Jan 19, 2026, 8:55:24 AM (13 days ago) Jan 19
to IBAMR Users
Hi all,
I am using IBAMR for simulating particle-laden flows. Particles enter from an inlet and exit through an outlet. I initiate all the particles near the inlet and "activate" them one-by-one when required. If a particle reaches the outlet I "deactivate" that particle.

This method is serving my purpose. However, when I increase number of particles, even though they are not activated initially, the code takes significantly more time for each time step. I presume,  this is because of the larger size of the memory that IBAMR needs to handle.

Is there any way, we can include structures (here, particles) as and when required?. Or is there any other way I can tell IBAMR not to go through the entire "structure" vector?

Thanks

Boyce Griffith

unread,
Jan 20, 2026, 10:38:42 PM (11 days ago) Jan 20
to IBAMR Users
Sagar —

Inactivation of structures is primarily handled by zeroing out forces and velocities that are associated with those structures; I think that in all cases, the zeroed-out force is still spread onto the grid, and the velocity is still interpolated back to the structure before it is zeroed out. So there winds up being unnecessary computational work that is performed for the inactive structures. If a large fraction of the structures in a model are inactive, then that will make the computation much more expensive than it needs to be.

If this is a major bottleneck for you, and you are interested in working to improve support in the library for this use case, we’d be happy to try to come up with a plan.

— Boyce

--
You received this message because you are subscribed to the Google Groups "IBAMR Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ibamr-users/0591ba53-cf20-48c4-811e-da7e3a725349n%40googlegroups.com.

Sagar G Nayak

unread,
Jan 22, 2026, 1:23:05 AM (10 days ago) Jan 22
to ibamr...@googlegroups.com
Thank you for the reply, Dr. Griffith

Yes, it has become a concern for me. I would like to work on it. Let me know how we can do this.
 
Thanks



--
Regards
Sagar G. Nayak
Research Scholar,
University of Queensland-IIT Delhi Academy of Research (UQIDAR),
Indian Institute of Technology Delhi,
Hauz Khas, New Delhi-110016, India. 
Reply all
Reply to author
Forward
0 new messages