thomasp85 / particles

A particle simulation engine based on a port of d3-force
Other
119 stars 9 forks source link

Simulate particles in liquids with different viscosity? #7

Open loukesio opened 4 years ago

loukesio commented 4 years ago

Dear Thomas,

congratulations for this wonderful package. I wanted to ask if I could use your package to simulate the movements of particles in liquids with different viscosity or diffusion or convection?

thank you :)

thomasp85 commented 4 years ago

This must be a tentative yes🤷‍♂️. I know very little about modelling fluid dynamics but if it can be expressed as a series of discrete steps then particles should be able to do it. You’d probably get better performance from a dedicated algorithm though

loukesio commented 4 years ago

Thank you Thomas for the prompt reply!!