The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
637 views

Computer simulation of Schrödinger equation [duplicate]

I am looking for a computer program which simulates the Schrödinger equation (say for a single particle) in two dimensions and for potentials and initial states specified by the user. Typical ...
0
votes
2answers
64 views

Motion of two gravitational bodies?

I'm doing a basic realtime simulation of two bodies, but the orbits are unstable for some reason. This code is run at every timestep: ...
5
votes
0answers
191 views

How can I make a simple climate simulator? [closed]

Given an Earth-like planet with arbitrary terrain, how can I create a simple climate simulator that can output parameters such as humidity and temperature, so that I can assign biomes to areas of ...
1
vote
0answers
38 views

Choosing proper centripedal force in Newtonian gravitational forces [closed]

I am trying to do an orbit simulation, I took Newton's law of Newtonian gravitational forces. It seems to work correct, but I can't really determine the velocity of an object needed to stay in free ...
2
votes
1answer
173 views

Heuristic equation for Friction force between materials

I'm programming a game where different types of objects will be sliding over different types of terrains (Top-down in two dimensions). At my current level of physics education we are given the ...
0
votes
0answers
127 views

how do I calculate the B field (strength and direction) on a point charge due to a permanent magnet

I am trying to create a simple 2D Simulation of magnetic fields similar to this; showing the field lines or the effect of permanent magnets. I keep coming across equations like this: ...
1
vote
1answer
128 views

Rigid body collision, 3 circles in contact

I'm working on a 2d physics simulation. It's a continuous time simulation, that is, it uses swept shapes over the time-frame and geometrical/vector 'analysis' to determine most immediate time of ...
0
votes
3answers
151 views

Rotating reference frames

I'm trying to understand the equations that govern velocity in a rotating reference frame... \begin{equation} v_i = (\frac{dr}{dt})_r + \Omega \times r . \end{equation} I'd like to build a simple ...
0
votes
1answer
79 views

Failure of a simple stat mech simulation

so I did a simple simulation that I thought would yield a Boltzmann distribution, but it failed to, and I was wondering if anyone has insight into why it failed. Ok, so I had a simple discrete system ...
0
votes
0answers
147 views

Calculate trajectory of projectile with gravity from disk planets in 2D?

I'm making a 2D game where you control a spaceship and fly between disk-formed planets of differing size (mass/pull). The planets are small and you can fly near several at once. I need to calculate ...
0
votes
0answers
162 views

Optical Simulation Tool [duplicate]

I am a student and trying to design an aperture from which a light will pass will project on a sensor. I tried to find some software simulation tool for this purpose where i can draw the aperture ...
6
votes
2answers
755 views

Numerical Ising Model - Wolff algorithm and correlations

I'm doing some numerical Monte Carlo analysis on the 2 dimensional Ising model at the critical point. I was using the Metropolis 'single flip' evolution at first with success, though it suffers from ...
1
vote
0answers
123 views

Correct way to include constant external force in virial and pressure calculation

Halo, given a simulation cell with N particles where particles interact only with bond and pair potentials and periodic boundary conditions (minimum image convention) are used. On a subgroup of ...
4
votes
3answers
214 views

How many celestial bodies could be in stable orbit at roughly the same distance from a star?

How many planet-like celestial bodies of roughly the same mass (say within 50%) could orbit a star at roughly (say within 10%) the same distance from the star and be in stable orbits. By stable I ...
0
votes
1answer
243 views

How to model a rising helium balloon?

I'm trying to model the ascent of a helium filled weather balloon from 0km to 25km altitude. The plan is to eventually use a python script to calculate the time taken to reach 25km. However, I don't ...
3
votes
1answer
149 views

Can a simulated Universe simulate Special Relativity

I know there are theories (or postulates) that hold that our Universe could be a simulation. I was wondering, if Special Relativity states that two events which are not causally linked can be judged ...
2
votes
2answers
283 views

How to simulate a full-suspension bike? [closed]

As a fun project, I would like to roughly simulate the suspension operation of a full-suspension mountain bike. This is not another one of those "How does a bicycle stay upright?" questions. Follow ...
-1
votes
1answer
95 views

Finding the constant of gravity in a game [closed]

Minecraft is a game of mining where one digs and finds ore (to put it simply). the world is composed of "blocks" 3 dimensional cubes that have different "pictures" on them, that make them appear like ...
1
vote
0answers
105 views

How does the Lennard Jones Potential changes for interaction between particles of different sizes?

I am interested in incorporating a Lennard-Jones potential in a simulation. When the interaction only involves the same type of particle, with same characteristics, we can use reduced units, scaling ...
0
votes
0answers
115 views

Simulating orbits using Newton's Law of Universal Gravitation

I've been having a go at programming an orbital simulator from scratch (without using any existing libraries) using the formula below to find the acceleration first for particle A and then for ...
4
votes
3answers
375 views

Using 2D position, velocity, and mass to determine the parametric position equations for an orbiting body

I have a gravity-related question. I am programming an orbit simulator. I have everything up and running, but I would like to render the smaller body's orbital path (the larger body is fixed). To do ...
1
vote
1answer
965 views

Radians to Rotate Earth to Match ECI Lat/Lon with ECEF Lat/Lon

I am attempting to model GPS Satellite positions on the globe for a set of ephemerides. I have a verified set of ECI ( http://en.wikipedia.org/wiki/Earth-centered_inertial ) XYZ Coordinates and a ...
0
votes
4answers
607 views

Does car lose kinetic energy when turning?

I am writing simple car simulation. Assume non friction, then in straight line the car doesn't lose speed. But what if the car is turning, there should be some kinetic energy loses to change the ...
1
vote
0answers
110 views

Gerstner Wave Formula to Vertex information $(x,y,z)$

I have created a program, that draws a plane mesh, and allows to me edit or animate all the separate vertices along it. The idea behind it, is for me to be able to create a gridMesh based wave ...
2
votes
0answers
50 views

Calculating gravity with inclometer?

How would one calculate the gravity vector for [X,Y,Z] by using an inclinometer which gives Pitch, Yaw and Roll. A little explanation of the goal: I have a accelerometer I was planning to use to map ...
0
votes
2answers
49 views

Why turning velocity of star towards point “A” makes it's satelites, change their apoapsis to side opposite of velocity vector?

Why turning velocity of star towards point "A" makes it's satelites, change their apoapsis to side opposite of velocity vector? Sentence above turned a bit crazy or not understandable (possible ...
2
votes
1answer
79 views

Quantum Space Simulation

There are a number of simulators, which simulate the macroscopic world around us (Space Engine: http://en.spaceengine.org/ comes to mind, but there is also Universe Sandbox). My question, does ...
1
vote
0answers
87 views

A question about the numerical simulation on classical three-body gravitional system

Related to this post Just out of curiosity, I have a question about the current status of classical (Newtonian) three-body gravitional numerical simulation. I found wikipedia is relatively limited on ...
4
votes
1answer
413 views

Velocity distribution in Plummer's models and others mass distributions

The Plummer's sphere is an model for the mass density in a globular cluster of stars. For an $N$-body simulation I have initialized the position of $N$ masses with a Monte-Carlo technique but cannot ...
0
votes
0answers
147 views

Repulsive forces at large distances

I'm currently writing a 3D $n$-body simulator (similar to what you see here to simulate the evolution of a system of n particles under the force of gravity. It works fine for "smaller" scale ...
2
votes
2answers
159 views

If you “disobey” the constraints of the Kramers-Kronig relations, what happens? Do you get non-physical results?

If you "disobey" the constraints of the Kramers-Kronig relations, what happens? Do you get non-physical results? I am simulating reflection and transmission off/through a slab of material. I specify ...
0
votes
2answers
94 views

Simulating diffusion from bulk to individual particles

I have a 2 compartment simulation. The first compartment simulates reactions using ODEs. The second compartment uses Brownian motion. I want to be able to have molecules from the ODE compartment ...
1
vote
1answer
424 views

Applying multiple forces to one object and calculate net movement and rotation?

I'm working on a small game as a hobby project, and I've run into a problem that would seem simple, to me, but that I can't find any information on or solution to. How would one go about figuring ...
1
vote
0answers
215 views

Relativistic beaming - which power of the Doppler factor

The context is that I'm building a simulation of a starfield, as seen from a relativistic spaceship. (EDIT: the simulation can now be found here.) One reference that I'm using is this paper by John ...
1
vote
0answers
59 views

Find out ground sates for large 2D classical spin model

Reaching the ground state of a large 2D classical spin model (e.g. classical Heisenberg model) might be a relatively difficult task while using conventional "flip/reject" Monte Carlo method. The ...
2
votes
2answers
386 views

How to calculate velocities after collision?

I'm currently writing a program for a particle simulator. One of the requirements is that the particles collide in a realistic way. However, I don't know how to calculate the final velocities. For ...
0
votes
2answers
188 views

Determinstic implementation Sphere of Influence change using Patched conic approximation

wasn't 100% sure which StackExchange to ask this on, as it could be related to Gamedev (as it's for a game), maths (as it's a approximation model rather than a physical description) or StackOverflow ...
4
votes
2answers
235 views

Can computers accurately model all of the details (to the subatomic level) of macro objects in collisions?

Frequently when trying to solve cosmology questions physicists turn to computer simulations of the universe (albeit massively simplified) in order to verify or disprove their hypotheses. This got me ...
0
votes
1answer
91 views

Bullet: Piercing vs. Deflection

I am trying to create a simulation where a projectile (imagine a bullet) is fired at a surface of some kind. When it collides with the surface, I need to figure out what happens between the bullet and ...
0
votes
0answers
44 views

A Global Measure on a Gravitational System

I am a computer science engineer and I am trying to simulate the gravity on my computer; several objects with different masses randomly distributed in a Three-dimensional space. I would like to ...
3
votes
2answers
291 views

Numerical simulation of sound propagation in air

How does one go about accurately modeling sound propagation in a room (with reflections, absorption, and diffusion characteristics) from the motion of a loud speaker? More specifically what are the ...
0
votes
1answer
77 views

What thermal conductivity coefficient should I be using when modeling a heatsink?

Using the finite difference model for heat transfer, I am trying to model the heat flow into a heatsink. However, I am unsure of what k value or coefficient of thermal conductivity to use. Should I be ...
3
votes
1answer
303 views

Simulate the magnetic field of magnet

I'd like to numerically simulate the magnetic field due to a cylindrical rare earth magnet of known dimensions at a bunch of points $\vec{r}=(x,y,z)$ from its origin. My goal is to be as accurate as ...
4
votes
1answer
223 views

How is relativistic N-body simulation possible without knowing the entire histories of each particle?

In n-body simulation you need to know the positions of the particles in order to calculate the force between them. The new velocity of each particle can then be calculated given a simulation timestep ...
0
votes
0answers
174 views

How can I model computationally or experimentally the flow in my aquarium tank?

I have a 60-gallon aquarium tank and I have always wondered about the flow of water in the tank. Let's represent the flow of water in terms of a direction field representing velocity, so if we see the ...
0
votes
1answer
315 views

Vector Maths to Simulate Car Physics [closed]

I'm working on a 3D program that involves controlling a Cube on-screen (which represents a car). I use C++, OpenGL and GLM (for vector and matrices etc, if you're familiar with programming; Once the ...
0
votes
0answers
381 views

2D Ising model simulations: Wolff algorithm acceptance probability with an external magnetic field

I have implemented the Wolff algorithm to simulate a 2D ferromagnet. It works by building a cluster of like spins and flipping them all at once to move quickly through phase space. In the case of no ...
1
vote
1answer
87 views

Initialize a traveling wave in a 1D gas?

I am trying to initialize a traveling wave for a 1d simulation as one can see from the attached figure. Such that it will be traveling to the right. However, I cannot initialize the right velocity ...
1
vote
1answer
209 views

Determine if an object is in orbit

I am planning on doing a space simulation program with full physics and as part of a hack to avoid too many issues with number precision I was going to switch orbiting objects to a calculated orbit ...
10
votes
3answers
341 views

Are there models/simulations of antigravitational antimatter-galaxies?

In the comments to another question's answer, I started wondering: Assuming antimatter possessed negative gravitational mass§ (which is not proven impossible to date, though deemed unlikely), ...