-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regarding passive tracer particles #207
Comments
Hi @maowei111, yes FluidX3D can do this, but needs some work from your side on the setup function.
Kind regards, |
Thank you for your response! |
Hello Moritz, "....During simulation, run a few time steps with lbm.run(5u);, then place a few of the particles in the inflow stream with randomized coordinates. Don't forget to copy from GPU to CPU memory with lbm.particles->read_from_device(); before modifying positions, and copy back to GPU memory with lbm.particles->write_to_device(); afterwards. If you have a lot of particles and modify only few at a time, use toe offset/length parameters in read_from_device()/write_to_device() to copy only the modified particles..." Could you make a simple example how to do it? That would be very helpful. Thank you. Peter |
Hello, I am a beginner. Could you please tell me if Fluid X3D can realize my idea: to create a rectangular box, define a velocity on the side of the box to simulate wind blowing, then draw a small hole at the bottom of the box and give it a flow rate or velocity to simulate a leak, and use passive tracer particles to demonstrate the effect of the leak? If it is possible, could you provide me with an idea or a piece of code as a reference?
Another question: Do passive tracer particles need to have their quantity, position, and other information predefined and placed in the box? Can't they flow into the computational domain as a particle stream (similar to DPM particles)?
Looking forward to your response!
The text was updated successfully, but these errors were encountered: