The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
1k views

How to implement Heun's method to solve a 2nd order ODE? [closed]

I am trying to simulate a soft body object by having a collection of points connected by springs. I also want to have the object bounce on a plane. I have been able to implement Euler's method to make ...
1
vote
1answer
698 views

Time traveling and Time dilation within a multiplayer videogame [closed]

First thing first, I'm looking to implement this within a multiplayer videogame as a "special" skill or powerup, but, I'm willing to build it upon a physics based explanation/theory. The question may ...
2
votes
0answers
93 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
1answer
118 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 ...
4
votes
1answer
1k views

Stellar evolution simulation engine or software

Is there any general purpose stellar evolution simulation engine or software? Something to throw in properties of the star and to watch how (and why) they change along the timeline - with or without ...
1
vote
2answers
396 views

simulations at constant pressure-volume and constant volume-temperature

I have read some papers where the authors perform simulations at constant pressure and constant volumen or sometimes constant volume constant temperature. My question is when is it better to use one ...
14
votes
2answers
61 views

Sampling typical clusters between distant points in subcritical percolation

I have on several occasions wondered how one might proceed in order to sample large subcritical Bernoulli bond-percolation clusters, say on the square lattice. More precisely, let's consider the ...
2
votes
2answers
270 views

Why is it important that Hamilton's equations have the four symplectic properties and what do they mean?

The symplectic properties are: time invariance conservation of energy the element of phase space volume is invariant to coordinate transformations the volume the phase space element is invariant ...
10
votes
3answers
8k views

Where can I find simulation software for electricity and magnets?

Is there easily-available* software to simulate coils, solenoids, and other magnetic and electromagnetic devices? I'd like to play around with some design ideas, such as Halbach arrays, but physics ...
0
votes
2answers
758 views

Plotting a wave function that represents a particle

The problem is this: A particle is represented by the wave function $\psi = e^{-(x-x_{0})^2/2\alpha}\sin kx$. Plot the wave function $\psi$ and the probability distribution $|\psi(x)|^2$. This ...
2
votes
3answers
527 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, ...
5
votes
1answer
210 views

What is the energy functional for $\nu=5/2$ Moore-Read state?

I am trying to do some Monte Carlo simulations for Pfaffian state from Fractional Quantum Hall effect. I am wondering what is the energy functional for $\nu=5/2$ Moore-Read state?
9
votes
2answers
905 views

How are Monte Carlo simulations used in experimental high energy physics?

How are Monte Carlo simulations used in experimental high energy physics? Particularly in studying detectors limitations (efficiencies?) and data analysis. I will appreciate giving a simple example ...
3
votes
1answer
179 views

Smoothed particle hydrodynamics in cosmological N-body simulations

What is the role of smoothed particle hydrodynamics (SPH) in cosmological N-body simulations like the Millenium Run (performed with Gadget-2)?
6
votes
4answers
3k views

Trampoline physics - what is the right time to crouch and to jump to maximize your height?

Please bear in mind that I'm neither a physics guy nor particularly a math guy. So I will probably need a bit more hand-holding than just a complex equation. For a game, I'm trying to calculate a ...
2
votes
1answer
605 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 ...
11
votes
3answers
960 views

When is the “minus sign problem” in quantum simulations an obstacle?

The "minus sign problem" in quantum simulation refers to the fact that the probability amplitudes are not positive-definite, and it is my understanding that this leads to numerical instability when ...
5
votes
3answers
60 views

How can one predict the length of the Synodic month? Why is it irregular?

I'd like to write a program that uses the exact (down to the second) amount of time from one new moon (or full moon) to the next. Yet, I am told that this period is irregular. Yet, it seems to be ...
2
votes
0answers
61 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 ...
5
votes
3answers
427 views

How to include random force in the simulation (Classical Molecular Dynamics)

I need to implement a random force in my code according to the fluctuation dissipation theorem. I have a Gaussian distribution function ready width average 0 and distribution 1 and I know I need to ...
8
votes
10answers
164 views

Are there websites or programmes that permit a simulation of the night sky in the past and the future on an ordinary computer?

Are there websites or programs that permit a simulation of the night sky in the past and the future on an ordinary computer? (For the past, I would be content with objects visible to the naked eye.) ...
14
votes
3answers
709 views

What open-source n-body codes are available and what are their features?

I'm interested in doing simulations with large numbers of particles and need a good n-body code. Are there any out there in the public domain that are open-source and what are their strengths and ...
9
votes
2answers
3k views

LED Thermal Modeling (How to solve heat equation with constant heat source)

I have a mechanical design with LEDs that generate heat. I want to estimate the temperature at the LED junction vs. time, but especially at steady state. Knowing the LED voltage drop and current, I ...
11
votes
4answers
3k views

Does there exist a free good molecule / atom simulation software?

I'm looking for a software or software package (for example C/C++) that can simulate a lot (say thousands at least) of molecules in action (ie. in movement or attached to say static walls). I have ...
11
votes
6answers
3k views

How many bits are needed to simulate the universe?

This is not the same as: How many bytes can the observable universe store? The Bekenstein bound tells us how many bits of data can be stored in a space. Using this value, we can determine the ...
4
votes
1answer
697 views

How can I model buckyballs sticking together? (Tiny spherical magnets)

Buckyballs are a desktoy that consist of 216 tiny spherical magnets. You can makes all kinds of interesting shapes and structures out of them (do a Google search). I want to model them in a physics ...
1
vote
0answers
985 views

Damping and stiffness constants of water

I'm working on a simulation of water drops falling into a pool. I'm specifically interested in the waves generated by the impact of the drops. In order to calculate the vertical motion of the waves, I ...
11
votes
2answers
1k views

How to model/simulate pressures and flows in a network of pipes

I'm having a hard time finding information on how to model/simulate this. I attached a couple files, both of which show an example tank & pump network. It's just nonsense that I made up for this ...
3
votes
1answer
504 views

Plotting a SHO in matlab [closed]

I have no prior experience of using matlab. My teacher want me to solve this question. I have been trying for a couple of hours now with no luck, please help! The mass of 100 g hanging in a spring ...
7
votes
1answer
362 views

How to simulate a crashing wave? [closed]

I'd like to create a very rough animation of a wave crashing on a beach. I'm guessing it would have to be a particle simulator, where you code in the forces between the particles and then integrate ...
2
votes
1answer
582 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 & ...
5
votes
2answers
696 views

Trying to model pinball physics for game AI

I'm working on an AI for a pinball-related video game. The ultimate goal for the system is that the AI will be able to fire a flipper at the appropriate time to aim a pinball at a particular point on ...
5
votes
1answer
187 views

Resonance modes of a cubic box of water which we shake

I don't know hydrodynamics, but I wonder how one would compute resonance modes of a cubic box of water which we shake. I believe the waves would directly depend on the height of water and the width ...
3
votes
1answer
476 views

Primer on Liquid/Ink Splatter Physics

I'm looking for primer material on the modelling the physics of liquids. In particular I want to make a small simulation (I'm a programmer by profession) of throwing ink at a board, much like this. ...
12
votes
14answers
26k views

Best (most realistic) physics game? [closed]

Inspired by a similar post, I wanted to know what video games, past or present, most accurately employ the laws of physics. I believe this is an appropriate question for this site, since the users ...
1
vote
2answers
8k views

Calculation of the G-force

I have a formula which is $\text{G-force} = \frac{v\omega}{9.8}$, where $v$ is speed and $\omega$ is the angular velocity. I've seen on the internet that G-force is actually $\text{acceleration}/9.8$. ...
5
votes
3answers
248 views

Simulate a physical impact of objects made of finite, small elements

I want to simulate an impact between two bodies according to gravity, and eventually considering other forces to stick matter together. I'd like to use python to do this, but I am open to ...
-2
votes
7answers
3k views

Does Quantum Physics really suggests this universe as a computer simulation? [closed]

I was reading about interesting article here which suggests that our universe is a big computer simulation and the proof of it is a Quantum Physics. I know quantum physics tries to provide some ...
8
votes
1answer
202 views

How do subgrid-scale parametrisations in climate models work?

Global Circulation Models typically have grids of 100-300km on a side. There are obviously lots of atmospheric processes that happen at smaller scales than this. Convection, cloud formation, the ...
6
votes
4answers
388 views

Monte Carlo use

Where is the Monte Carlo method used in physics?