The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
32 views

Barycenter correction for inner planets in solar system?

I want to run simulations of the solar system, and I've read in some papers that to speed up the simulations it is useful to use the barycenter correction of the inner planets (from Mercury to Mars), ...
6
votes
2answers
154 views

How do we explain the existence of liquids, from a mathematical or computational perspective? [on hold]

This post asks why matter exists in three phases. Most of its answers explain the existence of liquids with some variant of the following: liquids happen when thermodynamic conditions, temperature ...
1
vote
2answers
42 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 ...
2
votes
0answers
27 views

What is the meaning of the Fourier Transform of the electric field of a well guided mode in a dielectric waveguide?

I have been studying waveguiding in dielectrics for a while now; however, I cannot understand the meaning of the Fourier transformed electric field. I will first give some background information. ...
0
votes
0answers
37 views

What would be the long-term effects of stopping the Sun?

TL;DR: In an orbital simulation, what are the effects of pinning the major body to the origin, and how could these effects, if any, be mitigated? Consider an orbital motion simulator; your basic ...
-5
votes
0answers
33 views

If we are living in a simulated world, doesn´t there has to be a first real world? [closed]

There are people who think we are living in a world that´s a simulation in a computer. But if that is the case, doesn´t there have to be a world where a first simulation started? Wich is to say, a ...
1
vote
2answers
59 views

Model/formula for bouncing ball

I'm programming an animation of a bouncing ball, and I want it to be as realistic as possible. I fully understand the physics while the ball is rising and falling: It accelerates downward at 9.8 ...
5
votes
1answer
39 views

Identify binary stars in nbody simulation

I'm doing a nbody simulation, and I'm interested in the formation of binary systems in the temporal evolution. I can identify them by eye, but I don't know an algoritmic criteria that can say me if ...
-3
votes
1answer
71 views

Need motion equations for falling ball for simulating [closed]

I am currently M.S student in artificial intelligence(A.I) and working on my thesis on reinforcement learning, which robot should learn by itself how to control a quadcopter. Long story short, I have ...
0
votes
1answer
41 views

Notation of a vector containing equation in a paper

I'm trying to implement Coulomb long range interactions into a molecular simulation program using a particle-particle/particle-mesh Ewald solver. The following equation from the paper "How to mesh up ...
0
votes
0answers
23 views

Two axis non linear Inverted Pendulum

I am Electronic Engineering student. Sorry for my english, I am very rusted. I am modeling the inverted pendulum for a Class Project and I wondering if any could answer one question. In this web ...
0
votes
0answers
26 views

Keplerian orbits and radial velocities: problem with true anomalies

I am writing a pure Python code to calculate radial velocities of stars with massive objects orbiting them. I am following the formalism from Murray & Correia (2011) (hereafter MC11). In a given ...
4
votes
1answer
22 views

How would I find the velocity of an object after it doesn't fully enter the gravitational pull of a planet and is kind sling shot out of its gravity?

Obviously that question doesn't have a lot of jargon having to do with math and physics. I am not a physicist, I'm not a mathematician, I'm trying to make a game and simulate some physics found in ...
0
votes
0answers
18 views

2-D Ising model temperature of equilibrium [duplicate]

I have simulated 2-D Ising model in C#, but my scatter plot for magnetization versus temperature is an decreasing line (you know that the correct plot decreases quickly in a temperature near 2.3). ...
0
votes
0answers
24 views

Why is more difficult for a DFT to converge with non-periodic conditions?

I am simulating a cubic amorphous silica system. When all boundaries are periodic the SCF iteration converges rapidly. However, when the boundary is not periodic in the $x$ direction, the SCF ...
1
vote
0answers
49 views

How do I model the motion of a particle changing acceleration vector (2D)?

I want to model a particle with an arbitrary initial velocity, and estimate the time it takes to reach a final point given a constant magnitude of acceleration. It should take the quickest path to the ...
2
votes
0answers
19 views

Derivation of generation of time between two subsequent particle enters into computational domain

I have problem with understanding derivation of one equation in following problem. You have 1D computational domain (it is not 1D but because it is symmetrical and we are watching only radial ...
0
votes
0answers
11 views

Parameters for modelling 4 level 2 electron gain medium for laser

I have an EM simulator that can model laser gain medium by a 4 level 2 electron system. However the model requires pumping wavelength, lasing wavelength, pumping linewidth, lasing linewidth, decay ...
0
votes
0answers
25 views

use FEMM to simulate electric field for a magnet inside a coil

I'm trying to simulate a magnet inside of a coil of wire, with and without current running through the wire. I'm using the free FEMM software to try to simulate this, but I don't think i'm setting ...
4
votes
1answer
72 views

Can I re-wind gravity?

Suppose I perform an arbitrary simulation where I integrate the motions of a collection of particles which interact only gravitationally. Suppose I use a time reversible integrator (to be specific, ...
4
votes
1answer
67 views

How to conserve momentum when numerically-integrating the path of a charged particle through a magnetic field

I have the python script attached below, which is intended to track the trajectory of a charged particle in a static, uniform magnetic field. It is very simple to calculate the instantaneous force ...
0
votes
0answers
12 views

Why does SCF convergence on DFT worsens for a parallelepiped domain?

I am currently simulating parallelepiped domains of amorphous polyethylene with DFT. I would like to know the reason why the convergence of SCF worsens when the domain is not cubic. Does the k-point ...
0
votes
1answer
35 views

How to simulate an accelerometer in code

I want to write a simulation of an accelerometer (with a fixed X and Y axis in this case but with respect to a world coordinate frame) on a stick, rotating in a circle around a fixed point. From that ...
3
votes
2answers
60 views

Does inelastic collision say the ball bounces back to you when thrown at an angle on ground?

I created a bounce simulation using exactly the formula from Wikipedia. The behavior I observe is not what I would expect in two cases: When two balls hit off-centre, they act the same as if the ...
5
votes
1answer
66 views

Methods for handling close approaches in $N$-body simulations

In direct gravitational $N$-body simulations, what are the preferred methods for handling close approaches between bodies in order to preserve the accuracy of the evolution of the system?
0
votes
0answers
35 views

How to calculate the forces that create precessing motion of a spinning top?

I'm trying to create a a spinning top simulation, and I have a problem with simulating the precession. I read the Wiki article about precession, which have the formula for angular velocity of ...
1
vote
0answers
50 views

Simulating TE011 mode in cylindrical cavity, Comsol [closed]

I have been trying to simulate TE011 mode in a cylindrical cavity by modifying the example given in Comsol ...
0
votes
1answer
16 views

Calculating true anomaly of a hyperbolic trajectory from time

I'm creating a simulation for orbiting bodies with my primary challenge being calculating the true anomaly of a trajectory with respect to time. I have figured out circular, elliptical, and parabolic ...
1
vote
1answer
56 views

Model of a heating system in an industrial hall

I want to model a heating system in an industrial hall. The system consists of: a heating plant, a pump, 2 pipes (each pipe is 500meters long) and a machine tool. The required heat for the ...
0
votes
0answers
20 views

How to find positions in the equilibrium state of mass-spring system?

I've simulated 3D mass-spring system (mesh/network). First the system was in equilibrium state of it own (called state {A}). If I moved some of the masses in the system to the new positions, the ...
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: ...
0
votes
1answer
47 views

Cavity resonator modelling and simulation of em fields inside the cavity

I want to model a cylindrical cavity resonator and study the different modes of em fields inside it using MATLAB/COMSOL. Please refer me books/articles or other resources so that I can achieve my ...
0
votes
1answer
72 views

Newtonian Gravity Simulator?

Could anyone suggest me a good (and possibly free) Newtonian Gravity Simulator software available on the web, where it might be possible to simulate the Solar System dynamics and playing with it, by ...
0
votes
1answer
29 views

Setting up initial conditions of parabolic orbits, centre of mass frame

I am writing a simulation of 2 bodies in coplanar parabolic orbits in their centre of mass frame (in C++) and am having difficulties setting up the initial conditions for the velocities. The total ...
2
votes
1answer
60 views

What does the solid phase in a two-dimensional system with Lennard-Jones potential look like?

Consider a system of two dimensional particles interacting via Lennard-Jones pair potential: $$u(r) = 4[(\frac{1}{r^{12}})-(\frac{1}{r^{6}})]$$ where r is the distance between two particles. What does ...
2
votes
1answer
44 views

Current Status of the Monte Carlo Sign Problem

I've been reading about the Monte Carlo sign problem, and I am a little confused about its current status. Specifically, after reading this post When is the "minus sign problem" in quantum ...
0
votes
0answers
36 views

Can a simple harmonic oscillator describe Rabi oscillations?

I've been trying to simulate a resonant laser oscillation of a two level atom with Rabi frequency $\Omega$ and a rate of spontaneous emission $\Gamma$. So the wavefunction would be $\mid \Psi\rangle = ...
1
vote
0answers
25 views

Where can I find data for the masses/component velocities of galaxies in the Local Group?

I am trying to run an N body simulation to see how galaxies in the Local Group gravitationally interact for my thesis, but I can't find any data for the masses of the galaxies in the Local Group, or ...
0
votes
0answers
57 views

Moment of inertia tensor of cube with objects inside

I'm currently trying to write a simulation that, essentially, calculates the moment of inertia of a hollow cube in 3D, where it's possible to attach additional cuboid shapes inside of it - to see how ...
0
votes
1answer
51 views

Detailed balance of an energy function

I'm having difficulties understanding a problem about the acceptance rules for a given energy landscape. The Problem Suppose a system in which the energy is a function of x only: $$ e^{-\beta U(x)} ...
0
votes
1answer
36 views

How can noise be used in physics simulations? [closed]

I have been studying chaotic dynamical systems and noise. What is the difference between chaos and noise? I have looked over the internet for a good definition of what noise is but I haven't managed ...
0
votes
0answers
64 views

Which formula was used to get Gravitational Waves animation?

I would like to make animation like this by myself It is from wikipedia article "Gravitational wave". But if I use formula from wikipedia article "Gravitational wave" subsection "7.2.2 Wave ...
1
vote
1answer
35 views

N-Body Simulation for Photons

For my undergrad optics class I am taking we have to select final projects to work on for second half of the semester. I have spent the last few weeks working on my own project which was a GPU ...
0
votes
0answers
56 views

Rolling Resistance Coefficient

I found that rolling resistance can be expressed with this equation: $$F_\mathrm{rr} = \frac{C_\mathrm{rr} W}{r}$$ Where $C_\mathrm{rr} =$ coefficient of rolling resistance $W =$ normalforce $r ...
5
votes
0answers
63 views

Adiabatic turning on of coupling constant in simulation of $\phi^4$ theories in the JLP algorithm

In the Quantum Algorithms for Quantum Field Theories by Jordan, Lee and Preskill they have devised an efficient algorithm to simulate $\phi^4$ theories. Given by the Lagrangian density ...
0
votes
2answers
72 views

About unit definition in numerical computation [closed]

I attend an undergraduate level course of quantum mechanics. I am thinking of computer computation on a quantum mechanical problem. I do not have much experience in numerical computation, so I read ...
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 ...
0
votes
0answers
10 views

Simulation of circulation on pavements between walkers and unicyclists

I am a fan of electric unicycle. I am interested in the interaction between electric unicycle and foot-walkers. The question here I would like to answer is: is it dangerous to mix on a pavement, ...
0
votes
1answer
44 views

What is the best software to simulate the tracks of muons in matter?

What is the best (free) software to simulate the tracks of muons in matter? I have done some simulations using SRIM/TRIM (www.srim.org) by modifying their proton model to have the mass of a muon, but ...
2
votes
2answers
70 views

time step in kinetic montecarlo simulation

I have a doubt about how the time step is calculated in kinetic montecarlo simulations. One state with index $i$ is connected to other $N$ states, indexed by $j=1...N$, by transitions that happen ...