Questions tagged [simulation]

Simulation is the process of mimicking the behaviour of a real physical process or system using a representative model.

Simulation is the process of mimicking the behaviour of a real physical process or system using a representative model. It assumes that in a first step, a model is built that captures the key characteristics of the real world system. As real world systems tend to be very complex, the modeler has to make assumptions and simplifications. Therefore, it is important that the modeler verifies and validates her model to assure that indeed the right "physics" of the real world is represented in the model.

In a next step, a computer program or algorithm is used to evaluate the equations that result from the modeling step. Because of the possible complexity of the model, this can require again approximations like model simplifications and/or discretisation of continuum equations.

Sometimes the simulation can be run using Monte Carlo simulation: a process where by using (pseudo-)random variables, the model can be sampled and an average behaviour can be predicted.

284 questions
12
votes
4 answers

Arbitrary Accuracy Scalable Rope Simulation

I am trying to simulate a rope object. The formulation I understand is an array of particles, connected by springs. These springs have very large k-values, so that the line deforms, but stretches very little. I have concluded that solving this as…
geometrian
  • 223
  • 1
  • 6
8
votes
1 answer

What scientific problems can be simulated that couldn’t be simulated 10 years ago?

What scientific problems can be simulated with computers that couldn’t be simulated 10 years ago? I’m particularly interested in cutting-edge scientific simulations, which wouldn’t have been possible (due to computational constraints, or lack of…
Neil
  • 181
  • 2
7
votes
2 answers

Representing charges in computer programming

I'm preparing for a thesis in computer science on calculations based on concepts from Neuroelectrodynamics. In short this theory states, that information transfer is not done by spike time coding, but by movement of electric charges. Also this…
user390
5
votes
3 answers

Monte Carlo estimation of Pi with Buffon's needle

Is there a way of estimating Pi with the Buffon's method without assuming Pi known? To be more precise: in a Monte Carlo simulation of the experiment invented by Buffon I would (ideally) generate 2 random numbers with uniform distribution within…
cherbert
4
votes
1 answer

Verlet Leap-frog Method of approximating orbits

I found the following simulation of an orbit given the semi-major axis of the ellipse, eccentricity, initial velocity, the mass of the object being orbited, and initial position of the orbiting satellite. The program basically starts off with the…
Tyrick
4
votes
0 answers

Any literature that extensively discusses the ability to strongly inter-/extrapolate computationally on little empirical data?

Any literature that extensively discusses the ability to strongly inter-/extrapolate computationally on little empirical data? This topic has fascinated me, but I find that it seems a bit novel. Particulary, instead of gathering large amounts of…
mavavilj
  • 427
  • 2
  • 8
3
votes
1 answer

Use of random numbers in the Metropolis algorithm

In the Metropolis algorithm, we accept or reject based on following criterion in the $NVT$ ensemble: $$ e^ {(E_{\text{new}} - E_{\text{old}})\,/ \,kT } \ge \text{random}(0,1). $$ Why does the uniformly distributed random numbers work here? How does…
cosmicraga
  • 131
  • 3
3
votes
1 answer

Simulating evolution of comet

I have to present a working 3D simulation of an arbitrary comet in a close proximity to the Sun or to the Jupiter. In specific, I want to simulate comets D/1993 F2 and C/2011 W3, using the theoretical model I have proposed in my recent reseach. My…
user4515
3
votes
2 answers

Earth and Moon computer simulation

Edit: I made a test model with 2 bodies. The sun and earth or w/e. But I now have the problem of zero divisions every time that one of the coordinates is zero. import numpy as np from numpy import exp, sqrt, pi, linspace from time import…
Coolcrab
  • 131
  • 2
3
votes
1 answer

Plasma Simulation Software Advice?

I’m looking for software that can simulate “hot” plasmas of multiple ion species...so some sort of simulation software that could calculate ion temperature and density distributions taking into account ion-ion, ion-electron, neutral-ion collisions.…
Youssef
  • 31
  • 1
2
votes
0 answers

How to calculate the change in water level height after each step in a water displacement simulation?

I'm trying to write a very simple simulation of volume/water displacement. Every timestep a sphere gets lowered a bit further into a cylindrical container filled with water. While the physics behind this should be quite clear, I just can't wrap my…
2
votes
2 answers

Which processor should I consider buying for a desktop built for scientific computing?

I run Python/C simulations for biological problems, so the range of computational tasks can be broad. Here are some examples: 1) continuum model simulations: FEM type 2) agent-based simulations: each agent may be a 2D polygon, on whose vertices ODEs…
bzm3r
  • 669
  • 5
  • 21
2
votes
1 answer

Barnes-Hut algorithm and recursion limit

If while distributing particles to their corresponding nodes, two particles comes closer to a level smaller than the machine precision (or $\Delta d \to 0$), how is the situation to be treated? Should the recursive distribution stop and both of them…
Renae Lider
  • 123
  • 3
1
vote
1 answer

Counting valency of atoms, in a molecule with python

The documentation for the indigo module can be found here http://ggasoftware.com/opensource/indigo/api#inputoutput So for instance if I have a molecule object for some SMILES string, e.g. "[C](=[O])", I wish to calculate the valency of each atom,…
Freeman
1
vote
1 answer

How to choose the parameters for a collision free comet trajectory

I implemented a simple simulation of a comet flying through space being deflected by the gravity of randomly generated planets for art purposes. My problem with that simulation is, that there are many "boring" simulations in which the comet…
allo
  • 607
  • 4
  • 12
1
2