Newton's 2nd law applied to a 21x21 array of point masses, where each mass is connected to its eight nearest neighbours through linear springs and dashpot dampers. The system of equations is solved using the explicit Beeman integration algorithm. The simulation is fully interactive, each mass can be picked and pulled around. All coded in Visual Basic .NET from scratch. One major improvement would be to implement the graphics with hardware acceleration, as the 3D rendering loop is currently the major bottleneck. A first step would be to implement it on a separate thread, as the whole thing is done single-threaded at the moment.....
The boundary conditions were zero displacement, velocity and acceleration on all edge nodes.
The global parameters used in this simulation were as follows:
m = 0.001 kg
k = 1.0 N/m
c = 0.01 kg/s
g = 9.81m/s^2
dt = 0.002 s
If I show you the algorithm I use, would you be able to classify the method used?
SlavaVB 1 year ago
@SlavaVB Maybe, let's give it a go ;-)).....
khyar 1 year ago