The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
2answers
108 views

Atmosphere model

Im working on project where I should simulate glider soaring. The goal is to create gliders that will look for regions with hot upwinds using evolution algorithms. That shouldn't be problem. What I ...
1
vote
2answers
128 views

My orbiting body is orbiting about the wrong focus of it's elliptical orbit… why?

I am coding in c++ and am computing the position of an orbiting body as a function of time. Everything is almost working. I have a nice elliptical orbit. Except, my orbiting body speeds up as it ...
0
votes
2answers
239 views

Particle-in-cell (PIC) code Virtual Laser Plasma Lab (VLPL)

I am writing a simulation code to model betatron X rays produced by electrons accelerated using laser wakefield acceleration (LWFA). I have heard about 3D PIC (Particle-in-Cell) code VLPL (Virtual ...
0
votes
1answer
25 views

Evolution of dark matter and gas temperature

So I have recently watched a simulation of dark matter density and gas temperature evolution in a universe. However I couldn't find description of under what assumptions it was was made and what it is ...
0
votes
1answer
194 views

Boltzmann Distribution of Electrons in Confining Potential

I have a particle simulation wherein many non-interacting electrons are trapped in a electric potential well. I would expect, and therefore I initialize according to this, that the electrons would ...
2
votes
1answer
24 views

Ewald summation without repeating one particle periodically?

I need to perform an Ewald summation for a Brownian Dynamics simulation. In the normal Ewald summation procedure, all particles in the simulation box are periodically repeated in the neighbouring ...
2
votes
1answer
182 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
0answers
23 views

How to let Pythia to output the complete event record in LHEF or StDHep format?

I am currently using Pythia 6.4 to simulate some processes (I do not have the intention to upgrade to 8). Now, I need Pythia to output its event record in the format of LHEF or StDHeP. I accidently ...
0
votes
1answer
63 views

Clarification of the physics involved of an orbiting body in a circular orbit

I am writing a physics simulation program to simulate a body orbiting a planet but I am a little confused about the physics involved and would like some clarification. To simulate gravity I am using ...
4
votes
1answer
264 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 ...
2
votes
1answer
56 views

Is the $\mu VE$ ensemble possible to formulate?

I have recently learned about ensembles in statistical mechanics, and I've seen multiple applications and interpretations of the EVN (microcanonical), TVN (canonical), $\mu$VT (grand canonical) and ...
3
votes
1answer
136 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. ...
13
votes
5answers
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 ...
-3
votes
2answers
61 views

The Simulation Hypothesis As A Theory Of Everything [closed]

I have long found the Simulation Hypothesis to be better-able to answer questions that I have regarding the universe than the string theory and the quantum field theory. What I believe is that the ...
1
vote
0answers
41 views

3D Simulation Software

I need a software capable of simulating the physics of a car going off a ramp. This is a stunt that I will be attempting and looks like the following: A car, going off a curved ramp, doing a barrel ...
2
votes
1answer
42 views

Critical temperature and lattice size with the Wolff algorithm for 2d Ising model

When I run my implementation of the Wolff algorithm on the square Ising model at the theoretical critical temperature I get subcritical behaviour. The lattice primarily just oscillates between mostly ...
0
votes
2answers
55 views

Simulation of a simple robot [closed]

I'm a programmer and I'm working on a simple robot simulator. Of course, the most important part of this simulator, is the physical simulation of the robot. Unfortunately, I have a little knowledge ...
4
votes
2answers
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 ...
0
votes
0answers
14 views

Optics Simulation Software for Airy Beam Generation [duplicate]

I have been trying to simulate the generation of Airy Beams using a simple two-cylindrical lens setup as shown by Papazoglou et al. http://journals.aps.org/pra/abstract/10.1103/PhysRevA.81.061807 I ...
2
votes
1answer
638 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 ...
1
vote
1answer
104 views

Determing Velocity of Moons

I have a question that I believe is relatively easy to answer, I am working on an $N$-body simulation of a fictional star system and am having trouble finding the velocity of moons so that they will ...
4
votes
4answers
180 views

How can I add dark matter to my $N$-body simulation?

I've written a simple non-scientific N-body simulation for fun: http://magwo.github.io/fullofstars/ I expected to create something looking like spinning galaxies (there are two invisible very heavy ...
2
votes
1answer
240 views

Local minima in Ising model in a Monte Carlo simulation

Is there any way to check whether in a Monte Carlo simulation using Ising model is stuck in any (false) local minima of energy or not, particularly in 3D system ?
0
votes
1answer
32 views

What velocity do I need to get the moons orbit perfectly aligned with the earths center [closed]

I have a simulation for universal gravity with two objects. How can I calculate the velocity or instantaneous force I would need to apply to object 2 (the moon) to get it to orbit so that the origin ...
1
vote
0answers
76 views

Do I need a particle to simulate a particle? [closed]

Edit TL/DR Is an assumption of the theory that the universe is a simulation that the simulating universe is fundamentally more complex than our own? The Long Version As a programmer, I find the ...
0
votes
0answers
17 views

Can we use Variational Monte Carlo for degenerate cases?

Consider Simple Example of Bose-Hubbard model $$H=-J\sum\limits_{<i,j>}b_i^{\dagger}b_j+h.c.+\frac{U}{2}\sum\limits_{i}n_i(n_i-1) . \tag{1}$$ We can solve this Hamiltonian by Variational ...
1
vote
0answers
32 views

What's the cause of this gap in this simulation of the Nice model?

A previous question brought me to this video (which has a spectacular change at about 0:34). It shows the orbits of Jupiter, Saturn, Uranus, Neptune, and what appear to be trans-Neptunian objects. ...
2
votes
1answer
40 views

How does phonon scattering change the distribution function?

For a one-dimensional structure, we know that the modified distribution function has the following energy dependency in equilibrium: \begin{equation} Z(\varepsilon)\,f(\varepsilon) = ...
0
votes
1answer
46 views

Why is my Lyapunov exponent similar for single and double pendulum?

This is my first question here on stackexchange. I hope that I can be understood. If not, tell me and I will reformulate and fill in with details. I have simulated a single pendulum and a double ...
1
vote
1answer
42 views

Difference between Enzo & Gadget astronomy simulation codes

Enzo and Gadget are simulation codes used in astronomy. What are the largest differences between them both in terms of physics they simulate and in their implementations?
3
votes
2answers
77 views

Why is my two body model not working? [closed]

I have created a simple 1 Dimensional two body particle model in C++. In the model, particle 1 starts at position (0,0) and particle 2 starts at position (1,0). The particles are accelerated towards ...
2
votes
1answer
59 views

Damping a spring force

I'm modelling particles in a system using a spring and damper force. $$F= kx -cv$$ $x=x_i -x_f$, where $x_i$=centre of spring and $x_f$= displaced position. Above $x$ is the displacement and $v$ is ...
1
vote
2answers
150 views

Leapfrog method in Particle-in-cell

Recently I wanted to write a 3D electromagnetic Particle-in-cell code with c++.I know that I should use leapfrog method.For example,when I calculates the position and velocity of particles,i should ...
0
votes
0answers
35 views

How to simulate “inside-out” geometries of a structure?

How can I simulate the structural deformation of a physical material to find all possible "stable" inside out forms? For example, some dome shaped rubber caps can be pushed inside out, like the ...
0
votes
1answer
42 views

How do I evaluate the angular momentum of the wave function?

I'm working with Bose-Einstein condensates and running a 2D single component Gross-Pitaevskii equation solver for the simulations in MATLAB. The way it works is that it numerically solves the GP ...
0
votes
1answer
154 views

How to calculate impulse force on collision?

I've made a program which is supposed to simulate free fall of a ball on a ground. For collision with the ground I relied on calculating the impulse force with the answer in this Phys.SE question ...
1
vote
2answers
116 views

Incompressible Navier-Stokes pressure solve in simulations

I am a complete newcomer when it comes to fluid simulations. I'm currently working through some tutorials to understand the idea of of the discretized Navier-Stokes equations for numerical ...
0
votes
0answers
60 views

How to properly implement Huygen's integral?

I'm really confused by what's happening ... I'm trying to propagate a beam some distance and compare initial and final intensities. Lets say the initial electric field is just cos(200x). I then used ...
-1
votes
2answers
57 views

What are the consequences of a non-computable universe?

I have seen that is is debated if the universe is digital, computable or non-computable. what specific consequence could this have in the format of the laws of physics? Or would that mean that we will ...
0
votes
0answers
41 views

Projectile motion with wind

I am trying to simulate a projectile motion with wind and gravity. (I'm a programmer so excuse my knowledge on the subject) I want to know launch rotation of a person in 3d to throw a ball forward ...
5
votes
5answers
332 views

Resolving General relativity and Newtonian mechanics to a computer [closed]

I know this is considered an old subject long ridiculed by many as the folly of layman. But I work in the field of computer simulation, specifically in producing fully functional 3D interactive ...
0
votes
0answers
28 views

Acoustic sound box simulator

I'm looking for a simulator (2 or 3 dimensional + time) of an acoustic box. I'm trying to see where the high/low pressure areas would be depending on where I tap the box on the outside. PS. Not sure ...
0
votes
0answers
33 views

What discrete form of the wave equation do you need to use to make a wave simulation?

I'm working my way through these blog posts about the wave equation. All has made sense up until now. The wave equation is $$ \frac{\partial^2h}{\partial t^2} = c^2 \frac{\partial^2h}{\partial x^2} ...
2
votes
1answer
136 views

Can two distinct events occur at precisely the same moment in time?

I am writing a simulation and am having difficulty resolving the order in which two distinct forces occur. The simulation will give different results if the forces are applied to the state in ...
1
vote
1answer
50 views

Meaning of imaginary eigenvalues in advection equation

I'm reading the book Fluid Simulation for Computer Graphics (Amazon link), and stumped by the following sentence in Chapter 3: what's happening is that the eigenvalues of the Jacobian generated ...
3
votes
0answers
28 views

Ocean surface mean current flow meaning

I tried to simulate the trajectory of an drifting object in the oceans by using the data of the OSCAR project http://www.oscar.noaa.gov/. The dataset actually used consist of grid sampled mean 2d ...
0
votes
0answers
29 views

Explicit Ewald equations for dipole-dipole interaction in a simulation

I'm starting to work with spin ice simulations and I found that it is usual to use the Ewald method for the long-range interactions computation (dipole-dipole in this case). Although I've been reading ...
0
votes
1answer
107 views

Is the dimension “number of particles” a fundamental, or derived dimension (based on mass), or does it depend on the context, or is it dimensionless?

I consider "fundamental quantities" to be those that have dimensions that are are like length, mass, time, temperature, and so on. "Derived quantities" have dimensions that can be written in terms of ...
0
votes
0answers
38 views

Computer simulation/visualization of a ray of light passing near a massive object

I'd like to write a computer program that simulates and visualizes the trajectory of a ray of light as it passes near a massive object (e.g., neutron star). In other words, I'd like to model light ...
-1
votes
2answers
150 views

Simulating a car in an intersection

I'm somewhat confused. I want to simulate in real-time an intersection where cars have to turn left, right or go straight. What I have are 2 way points: One at the beginning of the intersection on ...