Code covered by the BSD License  

Highlights from
Discrete Lorenz Water Wheel Simulation

image thumbnail

Discrete Lorenz Water Wheel Simulation

by

 

This is a simulation of an 8 tank lorenze water wheel. The water speed is manually controlled.

MainPlotFunc(u,P)
function MainPlotFunc(u,P)

% Initialize the Graph

 t = u(18);

 
 
 r = ones(8,1)*P.rmax;
 h(:,1) = u(9:16,1);
theta(:,1) = u(1:8,1);
% Re-orient graph so x = 0 is where theta = 0

theta = theta + pi/2;



plotLorenze(r,theta,h,t,P);

end

Contact us