The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
232 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 ...
2
votes
1answer
60 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?
2
votes
2answers
112 views

How should I simulate the electric potential field from a wavefunction?

I was interested in making what I thought would be a simple simulation of an electron encountering a positron by numerically solving the Schrodinger equation over several time steps, but I've run ...
2
votes
3answers
122 views

How much space to simulate a small Hilbert space?

I'm thinking about trying to do a numerical simulation of some very simple QM problems. How much space do I need? To simulate the Hilbert space? I'd like to eventually simulate the absorption or ...
2
votes
1answer
430 views

How is acceleration computed in the leap-frog algorithm in computer simulations of particles?

I am reading the book Computer Simulation of Liquids by Allen and Tildesley (here is another link). On page 80, the authors describe the leap-frog algorithm, which is used extensively in molecular ...
2
votes
1answer
77 views

Simulation of fluid flow using Euler equation

I have been looking on Euler's equations for a while and can't grasp one thing. Suppose we have initial system state with volumes of fluid "hanging" in air (time is frozen and equal to zero), each of ...
2
votes
2answers
148 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 ...
2
votes
1answer
97 views

Simulating a 1-dimensional wave on (a segment of) an infinite line

I'm trying to numerically simulate a 1-dimensional with a chain of linked harmonic oscillators as described here (the result can be seen here). The simulation behaves like a wave on a finite line ...
2
votes
1answer
108 views

neutron transport approximations for nuclear rocket modelling

I'm pretty ignorant regarding neutron and nuclear transport modelling, but i'm interested in trying to pursue it for a particular pet project. It regards modelling of nuclear reactions like those ...
2
votes
2answers
566 views

What is the best tool for simulating Vacuum and Fluids together?

I require a software to simulate Fluid simulation with the capability of supporting vacuum simulation. My requirements are that all numbers must reflect their real counterparts almost exactly. For ...
2
votes
1answer
807 views

Simulating Gravity in 3D Game?

Alright, I am writing a space simulator for a 3D game and I would like to implement gravity of objects into it. Is there a nice way to find a velocity vector which can be added to my engine output ...
2
votes
1answer
551 views

Software for simulating supersonic aerodynamics [closed]

Could you please suggest the software, where I can load my 3D model and see how it behave on various conditions (speed - preferably including supersonic, temperature, pressure)? Both free & ...
2
votes
1answer
65 views

Trying to make a realistic simulation of 'breaks' (Pool)

I'm working on a 2D pool simulation project right now, and I'm trying to create good looking physics that are also performant. After collisions are detected, I update the velocities of the balls. So ...
2
votes
1answer
157 views

How do I simulate this simple quantum circuit in MATLAB

I want to simulate a circuit similar to the one below in MATLAB. If you have a state matrix describing the state of 3 qubits, I understand that you could apply a CNOT matrix tensored with and identity ...
2
votes
1answer
303 views

Dynamic simulation of surface tension [closed]

Is there any substantial body of work in physics on dynamically simulating effects of surface tension on liquids? The texts i found so far on fluid dynamics all seem to ignore surface tension, ...
2
votes
1answer
570 views

Rolling (without slipping) ball on a moving surface

I've been looking at examples of a ball rolling without slipping down an inclined surface. What happens if the incline angle changes as the ball is rolling? More precisely I've been trying to find ...
2
votes
1answer
120 views

Mutual Interaction of $N$-Particles in a Cartesian Plane

I am making a simulation of $N$-Particles in a cartesian plane and need help with understanding the basics. At anytime, in my particle system, I will have $N$ number of particles. I am treating the ...
2
votes
2answers
292 views

Ideal 2D Unicycle Kinematics

A particle is connected to a massive wheel by a rigid rod. The wheel can roll without slipping on a horizontal surface. The particle is free to rotate around the centre of the wheel. I believe the ...
2
votes
0answers
83 views

Do doomsday arguments influence doomsday hypotheses?

The doomsday argument supposes that in the absence of any other knowledge, if we know the age of something now, we may assume that we are seeing it in the middle of its lifetime and then calculate our ...
2
votes
0answers
27 views

Simple gas in cylinder modeling

I want to do a simple (physically plausible but not physically accurate) simulation of a gas in a cylinder as it works on or is worked on by a piston. Wikipedia gives a good example of an adiabatic ...
2
votes
1answer
53 views

Unexpected eccentricity in moon orbit simulation

I've used Mathematica's NDSolve function to calculate the orbit of the Moon around the Earth. I used the following initial positions (perigee): ...
2
votes
0answers
60 views

M-Theory and computer simulation

I have a question. Is it possible to perform computer simulations based on the M-Theory? I was looking for such simulators or source codes but I have not found anything. However, M-theory must have ...
2
votes
0answers
55 views

Particle Collision with Static System

I have a system of particles with equal distance with each other and another at random positions which is moving with time. What I want to know is : The method by which I can reduce the number of ...
2
votes
0answers
100 views

How can I simulate a model electronic hole?

Suppose I can solve time-dependent Schrödinger equation for several 1D particles (currently 3). I'd like to see, what an electronic hole is and how it behaves — in a series of numerical experiments. ...
2
votes
1answer
100 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 ...
2
votes
2answers
193 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 ...
2
votes
0answers
39 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 ...
2
votes
1answer
416 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 ...
2
votes
0answers
159 views

Air resistance of a general shape object

I'm trying to code a simple physics simulator in C++ but I'm stuck on the air resistance issue. Surfing the Internet I only find a drag coefficient for very basical area shapes when the air is ...
2
votes
0answers
246 views

For two planets in a 2:1 mean motion resonance , where will their periastron and apastron points be?

I want to animate the changing orbits of planets when they enter a mean motion resonance. Using a 2:1 resonance, I want to show a low-mass inner planet and a low-mass outer planet being tugged by a ...
2
votes
0answers
185 views

simple MHD simulation code for (self) education and play with [closed]

I would like some super simple computational code for solving magnetohydrodynamics problems. High accuracy nor performance is not my concern. I wan't it just to visually explore qualitative behavior ...
2
votes
0answers
102 views

What is the correct way of integrating in astronomy simulations? [closed]

I'm creating a simple astronomy simulator that should use Newtonian physics to simulate movement of plants in a system (or any objects, for that matter). All the bodies are circles in an Euclidean ...
2
votes
0answers
197 views

2D Car Physics including Throttle

For a simulation for testing on automatic cruise control, I came across the equation: $$ v_{n+1} = (1 - k_1 / m) v_n + (1 - k_b) \begin{pmatrix} T_n \\ θ_n \\ \end{pmatrix} $$ where: $T$ = ...
2
votes
0answers
466 views

Comparison of different ab-initio codes

One may find on the web a lot of different computational packages to perform "ab-initio" calculations of electron structure of the solids. Usually, the documentation is not quite transparent about the ...
2
votes
1answer
99 views

Creating/Downloading a large Galaxy Dataset

I was wondering where I can get a more or less complete set of a galaxy to test an n-body simulation (preferably two colliding galaxies with approx 300k to 1M elements). Is it possible to extract ...
2
votes
0answers
91 views

Gibbs Ensemble initial densities

I'm trying to calculate coexistence curves and get a rough estimate for the critical point of simple fluids using the well-known Gibbs Ensemble Monte Carlo (GEMC) (c.f. Panagiotopoulos, Molecular ...
2
votes
3answers
480 views

Finite difference formulation of the heat equation with thermal conductivity in 1D

This may seem trivial, but I'm having some trouble deriving the finite difference form of the heat equation with a thermal conductivity function $a(x)$ depending on $x$: $$\frac{\partial u(x, ...
2
votes
1answer
535 views

$N$-body simulation in General Relativity

How would one perform an $N$-body simulation in General Relativity (GR) for something like galaxy formation or galactic dynamics? Suppose one wants to simulate the rotation curve $v(r)$ for galaxies ...
2
votes
0answers
59 views

Degenerated Anderson Model Simulation

I'm trying to simulate the degenerative Anderson model. So depending on an energy difference first orbital and afterwards spin magnetism occurs. First i try to solve an easier ansatz with a limitation ...
2
votes
2answers
146 views

How do you measure numerically the central charge of a system?

Let's say that you are doing some Monte-Carlo simulations of a statistical system on a lattice and you observe scale invariance, meaning that you are at a conformal point. Can you get a numerical ...
1
vote
1answer
383 views

Are We Living in a Simulated Universe? [closed]

If the universe is just a Matrix- like simulation, how could we ever know? Physicist Silas Beane of the University of Bonn, Germany, thinks he has the answer!. His paper “Constraints on the Universe ...
1
vote
2answers
224 views

Lattice QCD and attempt to prove that the universe is a simulation [closed]

Assume that we have access to a computer with unlimited computing power. As with the Lattice QCD can try to prove that we live in a simulated universe? Apparently, one may use the issue of cosmic ...
1
vote
1answer
91 views

I'm getting weird autocorrelations when simulating an Ising model below the critical temperature

So I'm simulating an Ising model using Monte Carlo and the Metropolis algorithm. After letting it reach equilibrium, I try to calculate the autocorrelation of the magnetization. As long as the system ...
1
vote
2answers
1k views

How do I integrate the Poisson equation to determine the electric potential along a particular direction (e.g., $z$)?

This question is a sequel of sorts to my earlier (resolved) question about a recent paper. In the paper, the authors performed molecular dynamics (MD) simulations of parallel-plate supercapacitors, ...
1
vote
2answers
334 views

Acceptance probability 2D Ising Model

Disclaimer: I just found a possible solution - eventhough i don't really understand, whats wrong with my prior approach. Edit: I just tried to calculate it from scratch and found the following: $E ...
1
vote
1answer
116 views

Why NPT ensemble is used for solid state phase transitions?

In Monte Carlo simulations of solid state phase transitions, why often Isobaric Isothermal ensemble (NPT) is used ? Why not NVT ? Here, N is number of atoms, P is pressure, T is temperature and V is ...
1
vote
2answers
27 views

Possiblity of predicting behavior of system when properties described as functions over space?

Suppose I am given a system that consists of a distribution of charged particles(which are all over space and are point-charges). They are described by a set of functions instead of variables. These ...
1
vote
2answers
56 views

Photon striking a molecule and getting reflected

I am writing a simple simulator which simulate absorption of UV light in solution. The idea is to see if I can see Beer-Lambert laws in my model. It is not intended to be a precise simulator but ...
1
vote
3answers
325 views

Magnetic B Field of Point Charge Not at Constant Velocity

I'm working on an N-body simulator for charged particles. I know that moving charged particles generate a magnetic field, and another moving charged particle could be effected by this magnetic field. ...
1
vote
2answers
716 views

Simulator for electrostatics [closed]

I am searching for a tool that visualizes the electric field/potential for simple electrostatic configurations like conducting/polarized sphere in an uniform electric field conducting/polarized ...