3
$\begingroup$

I would like use N-body simulation for measure a torque on an object in a liquid (helium). It's a 2D study. On the site : http://www.browndeertechnology.com/docs/BDT_OpenCL_Tutorial_NBody-rev3.html I can understand the method. But it's only for free object. How can I do for compute particles when they reached fixed wall ? and for compute object that have only one degree of freedom ? Could you help me to start the equations for the simulation ?

Consider red lines with no mass, black disk with no mass. All walls are not computed. Object I would like to compute torque is composed of one part with vacuum and another part with helium (exactly density of helium if there was no walls). Gravity of Earth is perpendicular to the screen, and it is considered perfectly the same (parallel). So like there is only one layer of particles to compute it's possible to forget gravity from Earth I think.

I would like to compute helium :

  • Density (the object change the density in helium due to the lack of attraction), it's very important
  • Movement of particles
  • Torque

I don't compute (superfluid):

  • friction (helium)
  • temperature (helium)
  • walls

enter image description here


enter image description here

The worst is the density, how take it in equation ?

Maybe this sort of program exist ? Could you help me ?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.