The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
114 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
1answer
259 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
413 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
61 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
295 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
523 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
508 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
152 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
100 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
623 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
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
582 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
97 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
649 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
482 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
192 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
822 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
201 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
43 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
55 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
340 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
142 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
149 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
555 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
16k 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
2answers
72 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
299 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 ...
1
vote
1answer
68 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
85 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
219 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
424 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
83 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 ...
1
vote
1answer
134 views

Scalable tool (engine) for simulating the universe

Does there exist a large scale scalable tool (engine) for simulating the universe that incorporates both quantum mechanics and cosmology, i.e. micro & macro scales? (It would be best if this tool ...
1
vote
2answers
403 views

Is it easier to simulate compressible flow than incompressible flow?

If I want to simulate an incompressible flow, I need to solve pressure p by a Poisson equation (which is hard to solve numerically). But if it is a compressible flow, the pressure equation can be an ...
1
vote
1answer
2k views

Radians to Rotate Earth to Match ECI Lat/Lon with ECEF Lat/Lon

I am attempting to model GPS Satellite positions on the globe for a set of ephemerides. I have a verified set of ECI ( http://en.wikipedia.org/wiki/Earth-centered_inertial ) XYZ Coordinates and a ...
1
vote
1answer
288 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 ...
1
vote
1answer
160 views

Deriving the change in the Helmholtz free energy in the context of the free energy perturbation method

I am reading Free Energy Calculations: Theory and Applications in Chemistry and Biology by Chipot and Pohorille. At the beginning of the text (page 19, for example), the authors define the Helmholtz ...
1
vote
1answer
117 views

Simulating an orbit, primary is not at focus

I've been toying around with some -very- simple orbital simulators, mostly using preexisting physics libraries (I took a layman's stab at doing it with vectors too). The thing that is confusing me is ...
1
vote
2answers
436 views

How to decide convergence of the ensemble average in a Monte Carlo process

I am simulating electromagnetic scattering off a rough surface. The usual process is to do a Monte Carlo simulation, which is briefly described as follows. Generate a randomly rough surface, and ...
1
vote
3answers
688 views

Numerical simulation of mechanics problem

Say I have a planet and shoot something with a given velocity, which is a significant portion of the escape velocity, in a given angle into the sky. It has some initial velocity and there is the force ...
1
vote
1answer
45 views

Force of Gravity of a stationary object acting on another object moving through space

Story: I have x and y positions of a spaceship as it moves through space to some goal location at [1000, 700]. A record of its movement is given by: ...
1
vote
1answer
48 views

Calculating orbits with varying laws of physics? [closed]

The general way planets orbit stars in our universe is determined by the inverse square law and the three laws of motion. Both the inverse square law and the three laws of motion are the reason that ...
1
vote
1answer
104 views

Dropping objects on a rotating disc: angular momentum?

I'm designing a very simplistic particle simulator. Particles are dropped on a spinning disc and then bounce back (although lose some momentum due to the friction of the disc). I'm working with an ...