Dear developers,
In the simulation, particles fly out of the boundary, and I want to delete these particles beyond the domain. How do I do this?
My code for the Domain setup is as follows:
domain = DomainManager(xmin=-0.2/2, xmax=0.2/2, ymin=-0.2/2, ymax=0.2h/2, zmin=-0.02, zmax=0.2*5, periodic_in_x=True, periodic_in_y=True, periodic_in_z=False, n_layers=1)
I've set the range in the Z direction (
zmin=-0.02, zmax=0.2*5, periodic_in_z=False), but the particle will still cross the domain. I'm not sure if the area in domainManager is just for periodic boundaries or mirror boundaries.
I see pysph.base.nnps_base.CPUDomainManager, pysph.base.nnps_base.DomainManager, pysph.base.nnps_base.DomainManagerBase in Doc, what's the difference between these?