Is there a way to add a time parameter to see how the system evolves over time?

In summary, the conversation discusses a simulation created to demonstrate the use of a displacement field for simulating gravity on a large and small scale. The simulation involves clicking and dragging to create points of mass, which influence the field using a pressure vector. The conversation also includes suggestions for implementing an energy and total linear momentum function, as well as questions about the spatial resolution, scaling of the program, particle size, and handling of singularities. The creator explains that the simulation models particles as mass/energy densities and suggests adding an elasticity parameter for collisions between particles.
  • #1
lachelimbo
6
0
Looking for feedback on a simulation I created to show how using a displacement field can be used for simulating gravity on a large and small scale.

http://www.kademco.com/psim/psim.html

Click multiple times to create points of mass. Each point you add "pinches" the field. There are no point-point relationships here. The points are influenced by the field using a pressure vector derived from the field.

Click and drag to create points with initial velocity.

Try leaving the settings as is for a bit. Some interesting formations appear.

Let me know what you think.

(I originally posted this in the GR forum because of the displacement bit. Another member recommended I post it here.)
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
fantastic
 
  • #3
This is wonderful! I'm very jealous of your ability to create something like this.
 
  • #4
This is very impressive!

If you initialized your gravitational potential as an array of (x,y) points, what spatial resolution did you choose?

It would be interesting to implement an energy and total linear momentum function which calculates the total energy of the system to see how it deviates from the expected value (conservation of energy).

The scaling of the programs seems to be N. Is this due to the fact that you only evaluate gravitational potential from each particle at the every point on the x-y array?

Is the large default size of the particles there to compensate for the discreteness of the x-y array?

How did you account for singularities if a particle happens to be very very close to a gravitational potential node?

Did you model particles as point masses or mass densities for purposes for calculating gravitational potential?

When two hard spheres collide, they should recoil completely (elastic collision). This doesn't seem to happen.
 
  • #5
i really like how it simulates revolving bodies. Kudos for that :)
edit: when i choose radius 0 the object is still there even thought i cannot see it. I would like to be able to create field without masses, just to experiment with the attraction
 
Last edited:
  • #6
Hao, thanks for the feedback!

"If you initialized your gravitational potential as an array of (x,y) points, what spatial resolution did you choose?"

The current resolution is the same as the native screen resolution of the active area. This can be scaled up or down independent of the screen res.

"It would be interesting to implement an energy and total linear momentum function which calculates the total energy of the system to see how it deviates from the expected value (conservation of energy)."

Interesting to hear that suggestion. One reason for building the simulation was to eventually simulate an energy field from which points of mass "condense", therefore reducing then total energy of the field.

"The scaling of the programs seems to be N. Is this due to the fact that you only evaluate gravitational potential from each particle at the every point on the x-y array?"

That is correct.

"Is the large default size of the particles there to compensate for the discreteness of the x-y array?"

No, it is arbitrary and there to represent how a stable mass might react in a field.

"How did you account for singularities if a particle happens to be very very close to a gravitational potential node?"

The potential is always calculated by the delta of adjacent nodes. If the delta was 0, the previous vector of the point would not change.

"Did you model particles as point masses or mass densities for purposes for calculating gravitational potential?"

Mass/energy densities. The intent is to show all interation as a result of varying densities of the energy field.

"When two hard spheres collide, they should recoil completely (elastic collision). This doesn't seem to happen."

An elasticity parameter can be added for that. A question though, if they were the smallest points of mass would elasticity apply?
 

What is a gravity field simulation?

A gravity field simulation is a computer model that simulates the gravitational forces acting on objects in a given space. It uses mathematical equations and algorithms to predict the behavior of objects in a gravitational field.

Why is gravity field simulation important?

Gravity field simulation is important because it allows scientists to study and understand the behavior of celestial bodies and their interactions with each other. It also has practical applications in fields such as space exploration and satellite orbits.

How is gravity field simulation performed?

Gravity field simulation is performed using computer software, which takes into account the mass and location of objects in space to calculate the gravitational forces acting on them. These forces are then used to predict the motion and interactions of the objects.

What are some real-world examples of gravity field simulation?

Some real-world examples of gravity field simulation include predicting the orbits of satellites and spacecraft, studying the formation and behavior of galaxies, and simulating the gravitational pull of planets on their moons.

What are the limitations of gravity field simulation?

Gravity field simulation has some limitations, such as the need for accurate data on the mass and location of objects in space. It also cannot account for all factors that may affect the behavior of objects, such as atmospheric drag and gravitational perturbations from other celestial bodies.

Similar threads

  • Astronomy and Astrophysics
Replies
1
Views
1K
  • Science Fiction and Fantasy Media
Replies
4
Views
2K
  • Sci-Fi Writing and World Building
Replies
21
Views
1K
Replies
6
Views
1K
  • Beyond the Standard Models
4
Replies
105
Views
10K
  • Quantum Physics
2
Replies
69
Views
4K
  • Astronomy and Astrophysics
Replies
13
Views
1K
  • Other Physics Topics
Replies
6
Views
2K
Replies
9
Views
3K
  • Special and General Relativity
Replies
2
Views
1K
Back
Top