The tag has no wiki summary.

learn more… | top users | synonyms

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: ...
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 ...
4
votes
1answer
76 views

Can computers accurately model all of the details (to the subatomic level) of macro objects in collisions?

Frequently when trying to solve cosmology questions physicists turn to computer simulations of the universe (albeit massively simplified) in order to verify or disprove their hypotheses. This got me ...
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 ...
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 ...
2
votes
1answer
371 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
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 ...
0
votes
1answer
20 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
votes
1answer
118 views

Simulating a car in an intersection

I'm somewhat confused. I want to simulate in real-time an intersection where cars have to turn left, right or go straight. What I have are 2 way points: One at the beginning of the intersection on ...
5
votes
0answers
75 views

BEC in a rotating disc

Goodmorning everybody, I have to run a numerical simulation of a Bose-Einstein condensate on a rotating disc. Now, my problem is that I became suspicious about the equation I'm using, since the final ...
5
votes
0answers
53 views

Animating the Bosonic String

I am interested in studying the classical solutions to the Bosonic string in flat 3+1 dim. spacetime by having them rendered a moving picture on a computer. This is partly for fun, and partly to ...
5
votes
0answers
928 views

Nuclear/quantum physics simulation software

Is there any software which is able to simulate D-T interaction for example and get temperature-crosssection curve without referencing to any experimental data? Do we have quantum-level simulation ...
5
votes
0answers
229 views

Cellular automata rules for quantum mechanics

My limited understanding of quantum theory is that a quantum system is completely described by its wave function, which deterministically evolves according to Schrödinger's equation until wave ...
4
votes
0answers
100 views

Final-state baryons in $p \bar p$ collisions in Pythia

I'm trying to simulate inclusive $\chi_c$ production in $p \bar p$ collisions at very low energies (~ 5.5 GeV) using Pythia8 event generator. Leaving aside problems bounded with applicability of ...
3
votes
0answers
54 views

Modeling the formation of a stellar system and matter accretion

I am trying to figure out what do I need to know to properly simulate the creation of a solar system from a particle cloud with random distribution of hydrogen atoms. Being more of a programming ...
3
votes
0answers
117 views

How can one activate the decay of the quark b with PYTHIA event generator?

This is my problem and I hope finding a solution. _In the simplest alternative, MSTJ(22) = 2, the comparison is based on the average lifetime, or rather (c*tau "time life") , measured in mm. Thus ...
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 ...
2
votes
0answers
134 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
172 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
181 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
0answers
318 views

Comparison of different ab-initio codes

One may find on the web a lot of different computational packages to perform "ab-initio" calculations of electron structure of the solids. Usually, the documentation is not quite transparent about the ...
2
votes
0answers
87 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
0answers
56 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 ...
1
vote
0answers
21 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. ...
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
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 ...
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 ...
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 ...
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
40 views

Find out ground sates for large 2D classical spin model

Reaching the ground state of a large 2D classical spin model (e.g. classical Heisenberg model) might be a relatively difficult task while using conventional "flip/reject" Monte Carlo method. The ...
1
vote
0answers
42 views

Simulating the effects of external forces on a small population

I am looking to simulate the effects of external forces on a small population but I am having difficulty figuring out how I should go about doing such a simulation. My simulation consists of having ...
1
vote
0answers
73 views

Toolbox for Complex Networks and Graphs

Is there a toolbox which helps in visual simulation and modeling of a network (say a mesh or ring) consisting of coupled synchronized system of nonlinear equations(ODE) which represent a system of ...
1
vote
0answers
284 views

What does sound waves moving through 3D space look like, visually?

Imagine a room filled with air particles. How would a sound wave move in that room, refract from walls, and eventually dissipate? I'd love to see a animation or simulation of some sorts of it.
1
vote
0answers
92 views

Physics for taffy pulling?

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 ...
1
vote
0answers
745 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 ...
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 ...
0
votes
0answers
51 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: ...
0
votes
0answers
55 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 ...
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 ...
0
votes
0answers
100 views

Repulsive forces at large distances

I'm currently writing a 3D $n$-body simulator (similar to what you see here to simulate the evolution of a system of n particles under the force of gravity. It works fine for "smaller" scale ...
0
votes
0answers
40 views

A Global Measure on a Gravitational System

I am a computer science engineer and I am trying to simulate the gravity on my computer; several objects with different masses randomly distributed in a Three-dimensional space. I would like to ...
0
votes
0answers
61 views

How can I model computationally or experimentally the flow in my aquarium tank?

I have a 60-gallon aquarium tank and I have always wondered about the flow of water in the tank. Let's represent the flow of water in terms of a direction field representing velocity, so if we see the ...
0
votes
0answers
139 views

2D Ising model simulations: Wolff algorithm acceptance probability with an external magnetic field

I have implemented the Wolff algorithm to simulate a 2D ferromagnet. It works by building a cluster of like spins and flipping them all at once to move quickly through phase space. In the case of no ...
0
votes
0answers
76 views

How can I simulate a rigid bounced from a wall?

How can I simulate a rigid sword bounced from a wall and hit the ground(like in physical world)? I want to simulate a simple animation. The sword is controlled by a center/mass point.(Actually ...
0
votes
0answers
179 views

Making a 3D physics engine, realistic? If so, where do I begin my research?

As a programming (technology), physics and math project in school, I'm considering programming my own 3D physics engine as a learning exercise. The physics engine should then be able to be used in a ...
0
votes
0answers
52 views

Outflow for fluid simulation based on “Stable Fluids”

I've implemented a fluid simulation based on the paper Stable Fluids. It works quite well, except I would like to have the velocity at the "upper" edge just to outflow and not to re-enter on the ...
0
votes
0answers
65 views

Molecular dynamics simulation: fluctuating dipole model implementation

I'm conducting a molecular dynamics simulation for silica. Some time ago I turned to the fluctuating dipole model, and after much effort I'm still having problems implementing it. In short, all ...
0
votes
0answers
48 views

Should a 1D Guassian wave oscillate?

I wrote a few lines that numerically solve Maxwell's equations. The result is a moving wave that looks like a single pulse. This looks strange to me because I expect waves to move in oscillator ...
0
votes
0answers
425 views

Hydraulic System in a Simulation

A simulation project we are on, we have a machine with hydraulics that are powered (They don't just look like they move something, they are the only thing moving/turning/lifting something) - However, ...