# Tagged Questions

The tag has no usage guidance.

64 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 ...
56 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 ...
89 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 ...
109 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 ...
710 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 ...
193 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 ...
177 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 ...
111 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 ...
639 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 ...
304 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 M....
77 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 ...
551 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 ...
220 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 (...
322 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 ...
142 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 ...
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 ...
375 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 ...
94 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 ...
399 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 ...
291 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 ...
244 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 ...
481 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 ...
550 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 ...
97 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 ...
291 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 (...
472 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), ...
351 views

### Boundary conditions on current carrying wire

I'm trying to simulate by finite elements method Maxwell equations for a current carrying wire. My 3d geometry consists of a cylinder and a box containing it. I will use a mixed formulation and ...
84 views

### Algorithm to simulate impulse response of a solid?

There are well-documented methods of calculating the impulse response of a room (ex. image method, ray-tracing method); however, I have not been able to find anything similar for the impulse response ...
1k views

### Is there a heat transfer equation that takes conduction, convection, radiation and dT/dt into account?

I see equations that take 2 or 3 of the listed parameters into account but I haven't been able to find one that is that complete. I'm seeking to solve this equation using matlab for a simulation ...
89 views

### Any FLOSS Monte-Carlo package for reactor physics? [closed]

Any FLOSS Monte-Carlo package for reactor physics? Are there any Free and Open Source software packages for nuclear reactor processes simulation? Maybe, something similar to MCNP?
793 views

### Moment of inertia of rotating particles in center of mass frame?

I am trying to simulate a collision between two molecules. I know the energy for every position/orientation, from which I can calculate the forces. The treatment is classical and the molecules are ...
99 views

### How can I simulate a rigid bounced from a wall?

How can I simulate a rigid sword bounced from a wall and hit the ground(like in physical world)? I want to simulate a simple animation. The sword is controlled by a center/mass point.(Actually ...
221 views

### Justifications for different Monte Carlo trial moves

Why do we perform different trial moves in Monte Carlo simulations in Statistical Mechanics? For example, in NVT ensemble simulations, Why only atom displacement moves? In NPT ensemble, why do we need ...
155 views

### Racing balls question

My question is related to simulation of racing ball demonstration. http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=142 One ball goes on a straight path, while another one goes on a curved path. ...
151 views

### Grand canonical ensemble with interaction, simulation doubts

First of all, this is a follow-up of my first question. The idea is the same, every state would consist of some particles in a line (with an energy associated) and the particles can not be nearer than ...
229 views

### Workaround to fermion sign problem?

My (rather incomplete) understanding of the NP-hard fermion/numerical sign problem is that it occurs when attempting to converge on a wavefunction for many-body fermion systems (for example, a small ...
830 views

104 views

### BEC in a rotating disc

Goodmorning everybody, I have to run a numerical simulation of a Bose-Einstein condensate on a rotating disc. Now, my problem is that I became suspicious about the equation I'm using, since the final ...
115 views

### Simulation of an one dimensional driven diffusive system [closed]

I'm currently writing a simulation in python with scipy and matplotlib to reproduce an one dimensional driven diffusive system described in this paper from M.R. Evans et al. The system consists of ...
341 views

### How to calculate the new positions of other vertices in spring-mass system graph, when one vertex is actively moved by the user?

I am developing an android based game. I have 10 soldiers uniformly spaced in the scene using some kind of formation. Example - banks of 3 3 and 4 or banks of 4 4 2 or banks of 4 2 and 4 etc... Now ...