ProjectPhysX / FluidX3D

The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs and CPUs via OpenCL. Free for non-commercial use.
https://youtube.com/@ProjectPhysX
Other
3.97k stars 318 forks source link

Regarding passive tracer particles #207

Open maowei111 opened 4 months ago

maowei111 commented 4 months ago

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!

ProjectPhysX commented 3 months ago

Hi @maowei111,

yes FluidX3D can do this, but needs some work from your side on the setup function.

Kind regards, Moritz

maowei111 commented 3 months ago

Thank you for your response! Could you please tell me how to define a circular hole in the computational domain and assign it a flow rate/pressure to simulate leakage? This problem has been troubling me for a day. Additionally, I have another question: how can I place the imported geometric model at the bottom of the simulation box so that the bottom of the model aligns perfectly with the bottom of the simulation box? Looking forward to your response again! Thank you!