----------------------------------------------------------------------------------
@MSGID: <km3mnjF9a2uU2@mid.individual.net>
57bf7b6a
@REPLY:
<c7b24863-7afa-42f8-b86e-818f992e12a1n@googlegroups.com> d5606787
@REPLYADDR Giorgio Pastore <pastgio@units.it>
@REPLYTO 2:5075/128 Giorgio Pastore
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<km3mnjF9a2uU2@mid.individual.net>
@RFC-References:
<0fe81356-8d25-4d2d-9aca-6c9bde457bc7n@googlegroups.com> <klurgqFhbgnU1@mid.individual.net>
<c7b24863-7afa-42f8-b86e-818f992e12a1n@googlegroups.com>
@TZUTC: 0200
@PID: Mozilla/5.0 (Macintosh; Intel Mac OS X
10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.0
@TID: FIDOGATE-5.12-ge4e8b94
Il 08/09/23 18:08, L ha scritto:
> On Thursday, September 7, 2023 at 4:52:48 PM UTC-4, Giorgio Pastore wrote:
>> Il 07/09/23 22:10, L ha scritto:
>>> Does anyone know a good graphics program that would be able to
plot N-body interactions? I know of gnu plot but I don`t see any
examples of what I`m looking for.
>> What does it mean "to plot N-body interactions"?
> To have N body interactions in this case means to have a 1/x
potential. You can also prove this if your potential is x^2 where your eq of
motion looks like a = -Kx. a is acceleration, K is a constant and x is
position. In this case, I mean plot about 10,000 stars on screen. N just a
large number of interactions.
The examples you are citing correspond to what, as a physicist, I would
call "interaction between N bodies through pair-wise potntials". A true
N-bodi interaction is a function U(i_1,r_2,r_3,...,r_N) not reducible to
a sum of few-body contributions.
Nevertheless, even if you are dealing with an interacion energy of the form
U = (1/2) sum_{i/=j} u(|r_i-r_j|)
as far as I can understand you are not interested in plotting the
interaction but the positions of the N bodies. Isn`t it?
In such a case, I would suggest using programs designed to plot atomic
positions. For example you may consider using jmol
(
https://jmol.sourceforge.net/ ) you can eliminate the bonds and you
remain with a 3D visualization of spheres. One advantage of jmol is that
the .xyz file format is very simple. Moreover it is customizable and one
can even generate animations in a simple way.
Giorgio
--- Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.15.0
* Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441