The tag has no usage guidance.

learn more… | top users | synonyms

6
votes
5answers
1k views

Why do objects in a gravity simulation experience sudden large accelerations?

I'm trying to create a simple program that simulates gravity. The idea is that I have one central sun and several planets that I can create with a swipe gesture on the screen, and I use the initial ...
1
vote
2answers
68 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 ...
2
votes
1answer
33 views

Testing the accuracy of a solar system simulation

I've written a java program to model the solar system, and I need to test its accuracy. What would be some good ways to do that? I've checked for conservation of energy and angular momentum. I'm using ...
0
votes
1answer
48 views

Lollipop 3d choreography animation

I initially wanted to recreate the little dancing dots android lollipop's boot animation in javascript: For that, I've implemented a 3d $n$-body simulation (with css and js): ...
7
votes
2answers
247 views

Why do we still use perturbation theory, when we have advanced numerical methods and fast computers?

If my question sounds ignorant or even insulting, I apologise. I may be completely wrong, since I'm not a theoretical physicist. So, I understand why perturbation theory was originally used in ...
3
votes
2answers
57 views

Simplest form of thermodynamic cooling equation?

I'm writing a personal project program for simulating a nuclear reactor. This is not my field of expertise and what I'm struggling the most with is a good equation for cooling. Newton's law of ...
0
votes
0answers
29 views

Cookbook recommendation for finite element semiconductor simulation possibly using Sentaurus

I've started work for my master's thesis using Synopsys Sentaurus for simulation of semiconductors. I'm interested in the device simulation, that is the physics, not the process simulations. The ...
0
votes
1answer
24 views

How would I simulate 3 moving bodies as 16 (or 24) quauntum states? [closed]

I am looking at doing something cool with these rings of LEDs sold by adafruit. https://www.adafruit.com/products/1463 Initially, I thought that a cool thing to do would be to simulate three ...
0
votes
0answers
24 views

How can I estimate the number of X-Ray photons generated from a x ray tube?

I have this problem. I have an x ray tube of which I know the specific (kV, mA, anode material) and I have to estimate the number of X ray photons hitting the sensor after passing through air and ...
0
votes
2answers
70 views

Maths of elliptical orbits

I have a simulation of the solar system that currently gives me circular orbits. I'm not 100% sure where I've limited my simulation to this, but probably it starts when I use $$v=\frac{2 \pi r}{T}$$ ...
4
votes
0answers
59 views

How to calculate dispersion relation from a Finite Difference (FD) wave simulation

I have a python code that calculates the solution of the inhomogeneous acoustic wave equation for a 2D medium with any velocity and source configuration. It was implemented using Finite Differences ...
1
vote
1answer
85 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 ...
0
votes
0answers
24 views

Center of Lorentz Field

I am currently trying to write a particle physics library and I have implemented gravitational, spring, and Lorentz interactions between particles. These implementations can be seen here if desired. ...
0
votes
1answer
82 views

Conservation of energy and angular momentum

I'm writing a java program to simulate the solar system. All planets are modelled as point masses. How do I check if my solar system is conserving energy? I'm not sure how to calculate the energy of ...
1
vote
1answer
89 views

Would an object falling on the surface of the Sun look like this? [closed]

I've been playing around with some rustic animation and then I came to simulating gravity over squishy objects, I simulated a squishy ball of unknown "squishiness" (I'm sorry I don't know a lot of ...
30
votes
6answers
6k views

Is there any aspect of an explosion resulting from a nuclear weapon test that cannot be simulated using super computers?

This Washington Post news article states that with the advent of computer simulation of nuclear tests, live tests are no longer needed. Generally speaking there are 3 aspects of an explosion ...
1
vote
0answers
68 views

Conservation of Angular Momentum…or not?

This is my first post on physics stack exchange, but I thought the question was more appropriate than on that of math.stack. I'm currently designing a crude model of the sun-earth orbit (which I have ...
2
votes
1answer
93 views

Monte Carlo with zero-temperature: trapped in a local minimum

I have a problem reaching the correct ground state while performing a Monte Carlo at zero temperature. Some parts of the system get trapped in a local minimum, and for getting the global one (the ...
1
vote
1answer
47 views

Single fluid simulation algorithm

Every fluid simulation I've seen implicitly involves a fluid that isn't mentioned, usually air. This is clear because the simulation usually has an ambient temperature, and always an ambient velocity. ...
2
votes
2answers
73 views

how to simulate a steep potential barrier in langevin equation

When simulating a Langevin equation, how is a vertical potential barrier handled? I have the time overdamped evolution of the position $x$, described by $\gamma\frac{dx}{dt}=-V'(x)+\eta(t)$ where ...
1
vote
0answers
40 views

Simulation physics software for air blowers [closed]

Anyone know a physics simulation software for air blowers or where you can simulate air lifting objects? I want to simulate a lottery drawing machine.
0
votes
0answers
11 views

Is it posssible to numerically simulate a metal layer the same way as a semiconductor one

I need to simulate a schottky junction device. Unfortunately, the software for simulation (AFORS-HET) doesn't allow adding metal (I need to simulate aluminum contact) layers (but it allows to add ...
0
votes
0answers
97 views

Simulation software for wave optics

I am using COMSOL multiphysics Optics module for wave optics simulations and I am wondering if there is better simulation software for wave optics simulations (no multiphysics needed). Like software ...
0
votes
0answers
32 views

Does the heat capacity play a role in a steady-state thermal simulation?

I'm confused... In a steady-state thermal FEM simulation with several solids (different materials, with non-linear behaviour) and first and second order boundary conditions, is it necessary to to ...
2
votes
2answers
105 views

Center of mass chaotic in n-body gravitational interactions?

I wrote a gravitational particle simulation. To prevent the particles flinging off out of the screen, I added a bit of friction (it also makes the animation prettier as particles spiral into one ...
4
votes
1answer
98 views

What boundary conditions in a wave simulation would avoid reflections?

In simulating an elastic medium as a series of mobile points connected by ideal springs, it's straightforward to model conditions corresponding to a fixed endpoint, which results in an incoming wave ...
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
1answer
68 views

Molecular Dynamics simulation question

In molecular dynamics simulations you apply and solve Newton’s equations of motion for a set of atoms to obtain real dynamical information on how individual atomic positions change as a function of ...
0
votes
0answers
18 views

Evaluation of width function; thermal neutron scattering cross section

I am attempting to perform some molecular dynamics simulation, based off of this paper, and do not have the slightest clue how they evaluate the width function (Eq. 4). My attempt at figuring it ...
0
votes
1answer
46 views

Avoiding a singularity in the simulation of a spherica pendulum

I didn't know whether to put this here or in StackOverflow - so I open to answers just telling me to go there! I am looking to simulate the motion of a spherical pendulum. The Lagrangian is $$ ...
0
votes
1answer
100 views

Trajectory of a projectile in a three dimensional space [closed]

$g$: the gravitational acceleration—usually taken to be $9.81\:\mathrm{m/s^2}$ near the Earth's surface $θ$: the angle at which the projectile is launched $v$: the speed at which the projectile is ...
0
votes
1answer
73 views

Coding Newton's Laws into C#. Having trouble determining the order of finding what I need

So I'm in high school, and I'm currently in AP Physics 1. We're currently doing Newton's Laws where we draw free-body diagrams and use all the various forces (Tension, friction, weight, that kind of ...
1
vote
1answer
65 views

Physics of wheel slip?

I am trying to write a program that simulates the physics of a locomotive (diesel, not steam). I already have a method to get the tractive effort of the locomotive. If anyone must know, the one I am ...
1
vote
0answers
29 views

Numerical Simulation of bubble formation in water [closed]

I have a vertical tube that contains water and is being heated and the heat results into nucleation of bubbles inside the tube. How do I capture the whole formation, detachment, expansion, ...
0
votes
1answer
61 views

How to model the mixing of two fluids?

In the context of a research project of mine, I am faced with the difficult task of modeling the mixing of two fluids in a container. I would like to achieve the following: Given a container ...
1
vote
1answer
53 views

Units in gravitational N-body simulations

I use a code in Python to simulate a binary system interacting through gravity. You can find it here; The code works fine. I am however having problems with the units of length and velocity. I ...
2
votes
2answers
83 views

Limitations of particle in cell method for high desnity plasma

Are there any limitations of particle in cell (PIC) method for high density plasma? To be more specific, is modelling of a narrow channel of high density plasma possible or are there any limitations ...
0
votes
1answer
76 views

Is it possible to understand physics and make new discoveries using computer simulation? [closed]

I'm a computer science major and I want to learn Physics. I can create computer simulations of any type. I'm not good at math that is required to learn QFT or GR,but I'm thinking is it possible to ...
9
votes
3answers
2k views

What happens if you slow down a moon?

Let's say you'd put a whooping big rocket engine on the surface of the moon, and slow down its orbital velocity. Not to a complete stop, mind you. Just a bit slower than it was going before (a couple ...
1
vote
1answer
101 views

How do I calculate the effect of a prograde, retrograde, radial and anti-radial burn on the orbital elements of a two-dimensional orbit?

My relevant knowledge: This question works in two dimensions, with a two-body problem (see bottom for context). To my understanding, a two-dimensional orbit has the following orbital elements (3D ...
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 ...
2
votes
2answers
130 views

Simulation of everyday life based on standard model [closed]

If I were to model the standard model, say on a super powered computer (which does not necessarily have to exist in the real world), would I get molecules, chemistry, life? I want to understand the ...
0
votes
3answers
51 views

Multi-Force Lift

Background: I am creating a 3D game. A ship has 3 thrusters that apply force up (Z+) to counteract the force of gravity (Z-). I am trying to figure out how much thrust to apply to each thruster to ...
-1
votes
2answers
81 views

What is the output of a simulation of quantum particles? [closed]

When physicists simulate a quantum system, what is the output of such computation? Is it the probability wave function of the system? What if the system consists of enough particles to be considered ...
2
votes
0answers
24 views

Initial conditions for a massive objects to follow a path

Suppose I have a path, such as the one traced out by $r^2 = \cos(2\theta)$, and $n$ objects with mass $m$ at equidistant points on this path. What velocities should each object initially have in order ...
0
votes
2answers
157 views

Must-know topics for Computational Fluid Dynamics (CFD)

My undergrad major was Electrical Engineering. My MS thesis is related to simulation of hydrogen movement in a complex geometry. I did take a course on Fluid Dynamics but I have to say it wasn't one ...
2
votes
0answers
51 views

Simulation of oscillator with frequency dependent damping

What would be the equation for the frequency dependent damping of harmonic oscillator? Is there something like: $$ \ddot{x}+2\delta\dot{x}+\omega_0^2x = \frac{F}{m}f(t) $$ with frequency dependent ...
0
votes
0answers
16 views

Setting up initial configuration of a Micelle - Molecular Dynamics

I have just started learning Molecular Dynamics using dl_poly_classic and analysing trajectory using nMOLDYN. Our primary aim is to do neutron scattering, but however we do Molecular Dynamics to ...
2
votes
1answer
153 views

Problems implementing Lattice Boltzmann method

I want to make a basic 2D implementation of the Lattice Boltzmann method (in javascript) to simulate gas/fluid flow, but I have run into some problems and I can't seem to find the cause of it. ...
0
votes
2answers
135 views

How Much Computing Power would be Required to Fully Simulate a Cubic Meter? [closed]

Imagine you want to simulate a cubic meter down to the particle. By following the Standard Model and other basic physical equations, how much computing power would be required to do this, in say, a ...