The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
46 views

How do I simulate this simple quantum circuit in MATLAB

I want to simulate a circuit similar to the one below in MATLAB. If you have a state matrix describing the state of 3 qubits, I understand that you could apply a CNOT matrix tensored with and identity ...
0
votes
1answer
16 views

Simulating electrical sublimation of aluminium foil

When i apply high voltage (through a capacitor bank) across an aluminium foil, it gets converted into plasma. I want to simulate this process and study the properties of the plasma produced ...
1
vote
0answers
19 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. ...
2
votes
1answer
370 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 ...
0
votes
1answer
56 views

Failure of a simple stat mech simulation

so I did a simple simulation that I thought would yield a Boltzmann distribution, but it failed to, and I was wondering if anyone has insight into why it failed. Ok, so I had a simple discrete system ...
8
votes
1answer
2k views

LED Thermal Modeling (How to solve heat equation with constant heat source)

I have a mechanical design with LEDs that generate heat. I want to estimate the temperature at the LED junction vs. time, but especially at steady state. Knowing the LED voltage drop and current, I ...
5
votes
1answer
106 views

The skin effect and the reflectivity of gold

I am simulating a waveguide in COMSOL, a FEM solver. My model looks like this (it is similar to a standard Quantum Cascade Laser geometry): Therefore there is a very thin (30nm) layer of gold ...
2
votes
2answers
105 views

Computer simulation of Schrödinger equation [duplicate]

I am looking for a computer program which simulates the Schrödinger equation (say for a single particle) in two dimensions and for potentials and initial states specified by the user. Typical ...
0
votes
1answer
72 views

How to model a rising helium balloon?

I'm trying to model the ascent of a helium filled weather balloon from 0km to 25km altitude. The plan is to eventually use a python script to calculate the time taken to reach 25km. However, I don't ...
0
votes
2answers
54 views

Collision of two balls of finite radius [duplicate]

This is your typical elastic collision problem except the balls have finite radius. To be clear: two billiard balls in the plane each with radius $\sigma$ move at constant velocities $v_1, v_2$ ...
4
votes
1answer
159 views

How to calculate the new positions of other vertices in spring-mass system graph, when one vertex is actively moved by the user?

I am developing an android based game. I have 10 soldiers uniformly spaced in the scene using some kind of formation. Example - banks of 3 3 and 4 or banks of 4 4 2 or banks of 4 2 and 4 etc... Now ...
0
votes
4answers
136 views

Does car lose kinetic energy when turning?

I am writing simple car simulation. Assume non friction, then in straight line the car doesn't lose speed. But what if the car is turning, there should be some kinetic energy loses to change the ...
7
votes
1answer
1k views

physics of wet hair

I'm curious about the physics behind the clumping of wet hair. More specifically, how the amount of water in hair and distance between hairs affect the clumping process. I know intuitively that when ...
9
votes
4answers
1k views

Does it exist a free good molecule / atom simulation software?

I'm looking for a software or software package (for example C/C++) that can simulate a lot (say thousands at least) of molecules in action (ie. in movement or attached to say static walls). I have ...
0
votes
2answers
43 views

Motion of two gravitational bodies?

I'm doing a basic realtime simulation of two bodies, but the orbits are unstable for some reason. This code is run at every timestep: ...
9
votes
2answers
503 views

Use of Monte-Carlo simulation in High-energy Physics

I've been doing some research into the analysis used in particle physics when determining the significance of a finding (e.g. the recent Higgs candidate was announced as a boson in the 125-126 ...
4
votes
1answer
113 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 ...
0
votes
0answers
8 views

How to model a nonperiodic supercell as a periodic one?

Some researchers use Hydrogen atom termination, to model a non periodic finite sized 2D and 1D structures as periodic one. How far this approach is useful in predicting the properties of periodic ...
1
vote
1answer
37 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 ...
5
votes
0answers
55 views

How can I make a simple climate simulator? [closed]

Given an Earth-like planet with arbitrary terrain, how can I create a simple climate simulator that can output parameters such as humidity and temperature, so that I can assign biomes to areas of ...
1
vote
0answers
35 views

Choosing proper centripedal force in Newtonian gravitational forces [closed]

I am trying to do an orbit simulation, I took Newton's law of Newtonian gravitational forces. It seems to work correct, but I can't really determine the velocity of an object needed to stay in free ...
0
votes
0answers
50 views

how do I calculate the B field (strength and direction) on a point charge due to a permanent magnet

I am trying to create a simple 2D Simulation of magnetic fields similar to this; showing the field lines or the effect of permanent magnets. I keep coming across equations like this: ...
1
vote
1answer
53 views

Rigid body collision, 3 circles in contact

I'm working on a 2d physics simulation. It's a continuous time simulation, that is, it uses swept shapes over the time-frame and geometrical/vector 'analysis' to determine most immediate time of ...
0
votes
3answers
82 views

Rotating reference frames

I'm trying to understand the equations that govern velocity in a rotating reference frame... \begin{equation} v_i = (\frac{dr}{dt})_r + \Omega \times r . \end{equation} I'd like to build a simple ...
4
votes
1answer
210 views

Numerical Ising Model - Wolff algorithm and correlations

I'm doing some numerical Monte Carlo analysis on the 2 dimensional Ising model at the critical point. I was using the Metropolis 'single flip' evolution at first with success, though it suffers from ...
0
votes
0answers
50 views

Calculate trajectory of projectile with gravity from disk planets in 2D?

I'm making a 2D game where you control a spaceship and fly between disk-formed planets of differing size (mass/pull). The planets are small and you can fly near several at once. I need to calculate ...
2
votes
1answer
736 views

Simulating Gravity in 3D Game?

Alright, I am writing a space simulator for a 3D game and I would like to implement gravity of objects into it. Is there a nice way to find a velocity vector which can be added to my engine output ...
0
votes
0answers
49 views

Optical Simulation Tool [duplicate]

I am a student and trying to design an aperture from which a light will pass will project on a sensor. I tried to find some software simulation tool for this purpose where i can draw the aperture ...
1
vote
0answers
68 views

Correct way to include constant external force in virial and pressure calculation

Halo, given a simulation cell with N particles where particles interact only with bond and pair potentials and periodic boundary conditions (minimum image convention) are used. On a subgroup of ...
1
vote
1answer
58 views

Algorithm to simulate impulse response of a solid?

There are well-documented methods of calculating the impulse response of a room (ex. image method, ray-tracing method); however, I have not been able to find anything similar for the impulse response ...
3
votes
1answer
99 views

Can a simulated Universe simulate Special Relativity

I know there are theories (or postulates) that hold that our Universe could be a simulation. I was wondering, if Special Relativity states that two events which are not causally linked can be judged ...
2
votes
2answers
481 views

What is the best tool for simulating Vacuum and Fluids together?

I require a software to simulate Fluid simulation with the capability of supporting vacuum simulation. My requirements are that all numbers must reflect their real counterparts almost exactly. For ...
1
vote
0answers
42 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 ...
2
votes
2answers
107 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 ...
-3
votes
1answer
59 views

Finding the constant of gravity in a game [closed]

Minecraft is a game of mining where one digs and finds ore (to put it simply). the world is composed of "blocks" 3 dimensional cubes that have different "pictures" on them, that make them appear like ...
0
votes
0answers
76 views

Simulating orbits using Newton's Law of Universal Gravitation

I've been having a go at programming an orbital simulator from scratch (without using any existing libraries) using the formula below to find the acceleration first for particle A and then for ...
4
votes
3answers
105 views

Using 2D position, velocity, and mass to determine the parametric position equations for an orbiting body

I have a gravity-related question. I am programming an orbit simulator. I have everything up and running, but I would like to render the smaller body's orbital path (the larger body is fixed). To do ...
1
vote
2answers
537 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 ...
2
votes
4answers
7k 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 ...
1
vote
1answer
89 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
0answers
57 views

Gerstner Wave Formula to Vertex information $(x,y,z)$

I have created a program, that draws a plane mesh, and allows to me edit or animate all the separate vertices along it. The idea behind it, is for me to be able to create a gridMesh based wave ...
2
votes
0answers
31 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 ...
0
votes
2answers
39 views

Why turning velocity of star towards point “A” makes it's satelites, change their apoapsis to side opposite of velocity vector?

Why turning velocity of star towards point "A" makes it's satelites, change their apoapsis to side opposite of velocity vector? Sentence above turned a bit crazy or not understandable (possible ...
1
vote
2answers
482 views

some hints/introductions/textbooks for LBM(Lattice Boltzmann methods) fluid simulation?

I come from a computer science background and I want to learn details about LBM in fluid simulation. I have been searching around for a concise tutorial that tells me how LBM is used to solve a ...
2
votes
1answer
68 views

Quantum Space Simulation

There are a number of simulators, which simulate the macroscopic world around us (Space Engine: http://en.spaceengine.org/ comes to mind, but there is also Universe Sandbox). My question, does ...
44
votes
9answers
4k views

Is time continuous?

While working on physics simulation software, I noticed that I had implemented discrete time (the only type possible on computers). By that I mean that I had an update mechanism that advanced the ...
1
vote
0answers
58 views

Relativistic beaming - which power of the Doppler factor

The context is that I'm building a simulation of a starfield, as seen from a relativistic spaceship. (EDIT: the simulation can now be found here.) One reference that I'm using is this paper by John ...
1
vote
0answers
47 views

A question about the numerical simulation on classical three-body gravitional system

Related to this post Just out of curiosity, I have a question about the current status of classical (Newtonian) three-body gravitional numerical simulation. I found wikipedia is relatively limited on ...
4
votes
1answer
122 views

Velocity distribution in Plummer's models and others mass distributions

The Plummer's sphere is an model for the mass density in a globular cluster of stars. For an $N$-body simulation I have initialized the position of $N$ masses with a Monte-Carlo technique but cannot ...
0
votes
2answers
89 views

Determinstic implementation Sphere of Influence change using Patched conic approximation

wasn't 100% sure which StackExchange to ask this on, as it could be related to Gamedev (as it's for a game), maths (as it's a approximation model rather than a physical description) or StackOverflow ...