The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
252 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
13 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
34 views

2d Ising model simulation [on hold]

I have written following code for simulating 2d 'ising' model, code is in c# console and you can run it easily. my problem is that by increasing temperature, magnetization and energy don't change and ...
1
vote
1answer
260 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 ...
1
vote
1answer
277 views

Simple QFT simulation - how to do it

I would like to write a simple QFT simulation for a free scalar field with a cubic interaction term. However, I got stuck a bit. I will try to describe what I think I understand. I want to have a ...
0
votes
0answers
8 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 ...
3
votes
1answer
193 views

What equation predicts at what point a stretched object comes apart?

I am creating a simulation and am interested in pulling stretchy things and when they break, like taffy. I imagine this is a bit tougher then a simple equation like gravity, but I have no idea. Is ...
4
votes
1answer
779 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
134 views

How does the Lennard Jones Potential changes for interaction between particles of different sizes?

I am interested in incorporating a Lennard-Jones potential in a simulation. When the interaction only involves the same type of particle, with same characteristics, we can use reduced units, scaling ...
1
vote
1answer
256 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 ...
-3
votes
1answer
24 views

How to use comsol software [closed]

Hello how I can to define LT-GaAs in semiconductor module with comsol5.2 and how I can to excite it with femtosecond laser pulse?
4
votes
1answer
62 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
13 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
71 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, ...
8
votes
2answers
184 views

In a Monte Carlo NVT simulation How do I determine equilibration

I'm running an NVT (constant number of particles, volume and temperature) Monte Carlo simulation (Metropolis algorithm) of particles in two dimensions interacting via Lennard-Jonse potential ($U = ...
0
votes
0answers
11 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
32 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 ...
4
votes
1answer
327 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 ...
3
votes
2answers
54 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
174 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. ...
5
votes
1answer
65 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
34 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
41 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
0answers
8 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
55 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
1answer
268 views

Kinematics of a differential drive robot

(I am reposting here a question I asked on stack overflow, since it actually sits right in between programming (modeling of 2D physics) and physics proper (kinematics). I think I have the physics part ...
0
votes
1answer
41 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
0answers
19 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
42 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
69 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 ...
3
votes
2answers
189 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 ...
6
votes
6answers
27k views

Free Optics Simulation Programs

I'm having an extremely difficult time finding an optics program that is easy to use and offers accurate physics simulations. I'm not asking for much, I just want to be able to simulate a laser going ...
2
votes
1answer
57 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 ...
3
votes
2answers
56 views

Can I identify phase (solid, liquid, gas) just from a snapshot of molecule positions?

Suppose I have a simulation of a bunch of nitrogen molecules (N_2). Just by looking at the positions of a bunch of the molecules in a volume of space, how can I tell whether the picture is showing a ...
1
vote
1answer
132 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 ...
4
votes
2answers
3k views

Software to simulate and visualize atoms?

Not sure if this is a physics or chemistry question. But if the motion of atoms and it's particles can be described by quantum mechanics, then is there a software that simulate full atoms and it's ...
0
votes
1answer
27 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 ...
5
votes
1answer
137 views

Optical mode leakage through a layer of gold

The geometry of my semiconductor device is given below. The blue regions are gold, the grey ones - gallium arsenide (n-doped to $2.9 \times 10^{15} \mathrm{cm^{-3}}$). The dimensions are μm, i.e. it ...
1
vote
0answers
24 views

Are my units right in this galaxy acceleration code? [closed]

I'm running a code to find the accelerations of the galaxies in the Local Group (i.e. an N-body simulation), and the code is producing something that I would expect it to. However, since I'm using ...
2
votes
1answer
43 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 ...
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
32 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
1answer
424 views

Coherent intermediate scattering function from simulations

I want to calculate the coherent intermediate scattering function, $S_{\text{coh}} (\mathbf{Q},t)$, from a molecular dynamics trajectory, based on its definition. The definition of the function is: ...
0
votes
0answers
46 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
50 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
0answers
46 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 ...
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
63 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
34 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 ...
5
votes
0answers
59 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 ...