The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
65 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 ...
2
votes
0answers
195 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
0answers
41 views

How to find the maximum torque to apply to a robot joint to have realistic movement? [closed]

I am a computer science student. I am trying to simulate a locomotion of a legged robot. The weight and dimensions of the robot: A rectangular torso has 1 Kg, (0.15m*0.3m*0.03m) (width * length * ...
2
votes
1answer
105 views

How to get the linear and angular acceleration generated by a force vector field?

I am working on a physics simulation and I have to calculate the angular acceleration in degrees per seconds squared around the point on the object located relatively to the center of a vector field (...
2
votes
0answers
178 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
0answers
249 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
2answers
249 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 ...
2
votes
1answer
409 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): $\vec{r}_{Earth}=\begin{pmatrix}-\frac{m_{Moon}}{m_{...
2
votes
0answers
125 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
1answer
267 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
0answers
117 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
2answers
430 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
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 ...
2
votes
0answers
303 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
540 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
562 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
111 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
213 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
1answer
153 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
101 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
630 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, t)}{\...
2
votes
0answers
66 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
0answers
1k 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 ...
1
vote
1answer
599 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
1answer
114 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?
1
vote
2answers
677 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
513 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
2k 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
72 views

Which timestep should I use for a $N$-body simulation of the Solar system?

I am trying to implement a $N$-body simulation of the Solar system and I am stuck on the issue of the simulation timestep size. At first I would like to use a simple Euler stepping scheme. Knowing ...
1
vote
2answers
230 views

Calculating temperature from molecular dynamics simulation

My understanding is that temperature is an inherently macroscopic quantity, but I've seen a number of people talk about calculating the temperature of ideal-gas simulations like this one. To take one ...
1
vote
2answers
831 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
209 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
6k views

Wyckoff positions and lattice coordinations

Many papers use Wyckoff positions and Space Groups to report atom coordinates, making use of the structure's symmetries to save space in the notation (e.g. diamond = Fd-3m, only). How can I ...
1
vote
2answers
51 views

Calculate gravity between two points

I am trying to build a simulation of gravity in LibGDX using Bullet physics. To simplify it, I just want to apply a force on some body towered a (0,0,0) point. I got my body mass and it's location ...
1
vote
1answer
58 views

Can a planet's orbit around a star be simulated? [closed]

Say I know all parameters like density, size, rotational velocity of a planet, could I predict its orbit around a star where I also know parameters of it? I want to design a simple model of the solar ...
1
vote
1answer
366 views

Finding the initial velocity vector of an orbiting body

I'm writing a program that simulates Newton's law of universal gravitation by simply calculating the force and applying it on the objects. The simulation works very well, but now I want to simulate ...
1
vote
2answers
37 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
150 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
2answers
154 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 ...
1
vote
2answers
594 views

Calculating the rate at which a car turns

This is going to be difficult to describe, as I have no real concept of this sort of physics, so please bear with me. If this is too much or beyond the scope of this website, I apologize. I am making ...
1
vote
2answers
2k 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 ...
1
vote
2answers
17k 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$. ...
1
vote
1answer
51 views

Orbiting in space

Background I'm making a game where a spaceship needs to orbit another object in space at a set distance. Space is, unlike other game, like space is in reality. Friction less. (at least to my ...
1
vote
2answers
75 views

Oblique collisions in classical gas

I am trying to simulate the collisions in classical gas. So the particles are point like and have identical mass. It is easy to find who collides with whom but the what happens to the particles after ...
1
vote
2answers
327 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 simulations....
1
vote
1answer
71 views

Where would be the source of thrust for a rocket thruster in space?

I am making a game that involves spaceships and I was building an engine block. That engine block spawns a "thruster fire" under it that represents the...thruster fire. My question revolves around ...
1
vote
1answer
88 views

Can the insertion of impurities (doping) influence optical properties of ZnS?

I am currently trying to simulate a scintillator system with silver doped zinc sulfide (ZnS:Ag). To simulate the propagation of photons inside the crystal accurately, optical properties like index of ...
1
vote
2answers
237 views

Units in gravitational $N$ body simulations

I am trying to write a code in Python to simulate $N$ bodies interacting through gravity. In particular I am trying to see whether a system of particles with random initial positions and zero velocity ...
1
vote
1answer
512 views

What is the general definition of signal acceptance?

Suppose I have a beyond Standard Model theory and want to test it. I want to test if some experiments, say conduced in LHC, show signals of the theory. In this case, what is "signal acceptance"?
1
vote
1answer
84 views

Is there any physical simulator precise to atomic levels and quantum effects? [duplicate]

There are tons and tons of physics simulators for classical/large scale physics. I'm interested in a simulator in which you feed an input as atoms and positions and it simulates the evolution of the ...