Download silux tutorial

Transcript
12
Simulation / How it works
The silux program works on the principle of small steps (finite differences). At the beginning
of a simulation a model is in a specific condition. Each object has a certain position, a certain
velocity, a certain spin and so on. Each physical variable has a specific value and the set of all
variables and their values describe the model completely. The description of this condition is
valid for a certain period of time, for the time being, the period of time before the simulation is
started. The state of the model is therefore connected to a point of time. At each point of time
(t) the model exhibits a specific geometric condition and a specific physical situation. Thanks
to this complete description at time (t) we are able to predict the state of the model a short time
step later (dt).
Condition of the
model time = t
calculation
condition of the
model at time (t+dt)
Abb. 8: Calculation step
If we then examine the model at the new point of time (t+dt), we’ll notice that the individual
parts of the model have moved a bit in location. Correspondingly, the values of certain
physical variables will also have changed a bit. The state of the model has changed. This new
condition is now a complete description of the model that allows us to begin the whole
procedure again.
Condition of the
model time = t
calculation
condition of the
model at time (t+dt)
Abb. 9: Iteration
We repeat the cycle with the new state of the model and the new set of physical values. And
we do this over and over (iteration). We move in increments of small time steps from one
point of time to the next and in this way work our way forward in the time-scale. Each new
point of time gives us a new picture of the model. We can see that on the screen. We see a film.
The film probably runs in slow motion if the model is somewhat complicated, but we see how
the model develops with the passing of time.
18