ملتقى الفيزيائيين العرب > منتديات أقسام الفيزياء > منتدى الرياضيات. | ||
Lorenz attractor |
الملاحظات |
|
أدوات الموضوع | انواع عرض الموضوع |
#1
|
|||
|
|||
Lorenz attractor
Lorenz system
From Wikipedia, the free encyclopedia (Redirected from Lorenz attractor) Not to be confused with Lorenz curve or Lorentz distribution. A sample solution in the Lorenz attractor when ρ = 28, σ = 10, and β = 8/3 The Lorenz system is a system of ordinary differential equations (the Lorenz equations, note it is not Lorentz) first studied by Edward Lorenz. It is notable for having chaotic solutions for certain parameter values and initial conditions. In particular, the Lorenz attractor is a set of chaotic solutions of the Lorenz system which, when plotted, resemble a butterfly or figure eight. Contents [hide] 1 Overview 2 Analysis 2.1 MATLAB simulation 2.2 Mathematica simulation 2.3 Python simulation 3 Derivation of the Lorenz equations as a model of atmospheric convection 4 Gallery 5 See also 6 Notes 7 References 8 Further reading 9 External links Overview[edit] In 1963, Edward Lorenz developed a simplified mathematical model for atmospheric convection.[1] The model is a system of three ordinary differential equations now known as the Lorenz equations: {\displaystyle {\begin{aligned}{\frac {\mathrm {d} x}{\mathrm {d} t}}&=\sigma (y-x),\\{\frac {\mathrm {d} y}{\mathrm {d} t}}&=x(\rho -z)-y,\\{\frac {\mathrm {d} z}{\mathrm {d} t}}&=xy-\beta z.\end{aligned}}} {\begin{aligned}{\frac {\mathrm {d} x}{\mathrm {d} t}}&=\sigma (y-x),\\{\frac {\mathrm {d} y}{\mathrm {d} t}}&=x(\rho -z)-y,\\{\frac {\mathrm {d} z}{\mathrm {d} t}}&=xy-\beta z.\end{aligned}} Here {\displaystyle x} x, {\displaystyle y} y, and {\displaystyle z} z make up the system state, {\displaystyle t} t is time, and {\displaystyle \sigma } \sigma , {\displaystyle \rho } \rho , {\displaystyle \beta } \beta are the system parameters. The Lorenz equations also arise in simplified models for lasers,[2] dynamos,[3] thermosyphons,[4] brushless DC motors,[5] electric circuits,[6] chemical reactions[7] and forward osmosis.[8] From a technical standpoint, the Lorenz system is nonlinear, non-periodic, three-dimensional and deterministic. The Lorenz equations have been the subject of hundreds of research articles, and at least one book-length study.[9] Analysis[edit] One normally assumes that the parameters {\displaystyle \sigma } \sigma , {\displaystyle \rho } \rho , and {\displaystyle \beta } \beta are positive. Lorenz used the values {\displaystyle \sigma =10} \sigma =10, {\displaystyle \beta =8/3} \beta =8/3 and {\displaystyle \rho =28} \rho =28. The system exhibits chaotic behavior for these (and nearby) values.[10] If {\displaystyle \rho <1} \rho <1 then there is only one equilibrium point, which is at the origin. This point corresponds to no convection. All orbits converge to the origin, which is a global attractor, when {\displaystyle \rho <1} \rho <1.[11] A pitchfork bifurcation occurs at {\displaystyle \rho =1} \rho =1, and for {\displaystyle \rho >1} \rho >1 two additional critical points appear at: {\displaystyle \left({\sqrt {\beta (\rho -1)}},{\sqrt {\beta (\rho -1)}},\rho -1\right)} {\displaystyle \left({\sqrt {\beta (\rho -1)}},{\sqrt {\beta (\rho -1)}},\rho -1\right)} and {\displaystyle \left(-{\sqrt {\beta (\rho -1)}},-{\sqrt {\beta (\rho -1)}},\rho -1\right).} {\displaystyle \left(-{\sqrt {\beta (\rho -1)}},-{\sqrt {\beta (\rho -1)}},\rho -1\right).} These correspond to steady convection. This pair of equilibrium points is stable only if {\displaystyle \rho <\sigma {\frac {\sigma +\beta +3}{\sigma -\beta -1}},} \rho <\sigma {\frac {\sigma +\beta +3}{\sigma -\beta -1}}, which can hold only for positive {\displaystyle \rho } \rho if {\displaystyle \sigma >\beta +1} \sigma >\beta +1. At the critical value, both equilibrium points lose stability through a Hopf bifurcation.[12] When {\displaystyle \rho =28} \rho =28, {\displaystyle \sigma =10} \sigma =10, and {\displaystyle \beta =8/3} \beta =8/3, the Lorenz system has chaotic solutions (but not all solutions are chaotic). Almost all initial points will tend to an invariant set – the Lorenz attractor – a strange attractor and a fractal. Its Hausdorff dimension is estimated to be 2.06 ± 0.01, and the correlation dimension is estimated to be 2.05 ± 0.01.[13] The exact Lyapunov dimension (Kaplan-Yorke dimension) formula of the global attractor can be found analytically under classical restrictions on the parameters [14] {\displaystyle 3-{\frac {2(\sigma +\beta +1)}{\sigma +1+{\sqrt {(\sigma -1)^{2}+4\sigma \rho }}}}} {\displaystyle 3-{\frac {2(\sigma +\beta +1)}{\sigma +1+{\sqrt {(\sigma -1)^{2}+4\sigma \rho }}}}}. The Lorenz attractor is difficult to analyze, but the action of the differential equation on the attractor is described by a fairly simple geometric model.[15] Proving that this is indeed the case is the fourteenth problem on the list of Smale's problems. This problem was the first one to be resolved, by Warwick Tucker in 2002.[16] For other values of {\displaystyle \rho } \rho , the system displays knotted periodic orbits. For example, with {\displaystyle \rho =99.96} \rho =99.96 it becomes a T(3,2) torus knot. Example solutions of the Lorenz system for different values of ρ Lorenz Ro14 20 41 20-200px.png Lorenz Ro13-200px.png ρ=14, σ=10, β=8/3 (Enlarge) ρ=13, σ=10, β=8/3 (Enlarge) Lorenz Ro15-200px.png Lorenz Ro28-200px.png ρ=15, σ=10, β=8/3 (Enlarge) ρ=28, σ=10, β=8/3 (Enlarge) For small values of ρ, the system is stable and evolves to one of two fixed point attractors. When ρ is larger than 24.74, the fixed points become repulsors and the trajectory is repelled by them in a very complex way. Java animation showing evolution for different values of ρ Sensitive dependence on the initial condition Time t=1 (Enlarge) Time t=2 (Enlarge) Time t=3 (Enlarge) Lorenz caos1-175.png Lorenz caos2-175.png Lorenz caos3-175.png These figures — made using ρ=28, σ = 10 and β = 8/3 — show three time segments of the 3-D evolution of 2 trajectories (one in blue, the other in yellow) in the Lorenz attractor starting at two initial points that differ only by 10−5 in the x-coordinate. Initially, the two trajectories seem coincident (only the yellow one can be seen, as it is drawn over the blue one) but, after some time, the divergence is obvious. Java animation of the Lorenz attractor shows the continuous evolution. MATLAB simulation[edit] %Solution for the Lorenz equations in the time interval [0,100] with initial conditions [1,1,1]. sigma=10; beta=8/3; rho=28; f = @(t,a) [-sigma*a(1) + sigma*a(2); rho*a(1) - a(2) - a(1)*a(3); -beta*a(3) + a(1)*a(2)]; %'f' is the set of differential equations and 'a' is an array containing values of x,y, and z variables. %'t' is the time variable [t,a] = ode45(f,[0 100],[1 1 1]);%'ode45' uses adaptive Runge-Kutta method of 4th and 5th order to solve differential equations plot3(a(:,1),a(:,2),a(:,3)) %'plot3' is the command to make 3D plot Mathematica simulation[edit] a = 10; b = 8/3; r = 28; x = 1; y = 1; z = 1;points = {{1,1,1}}; i := AppendTo[points, {x = N[x + (a*y - a*x)/100], y = N[y + (-x*z + r*x - y)/100], z = N[z + (x*y - b*z)/100]}] Do[i, {3000}] ListPointPlot3D[points, PlotStyle -> {Red, PointSize[Tiny]}] Python simulation[edit] import numpy as np import matplotlib.pyplot as plt from scipy.integrate import odeint from mpl_toolkits.mplot3d import Axes3D rho = 28.0 sigma = 10.0 beta = 8.0 / 3.0 def f(state, t): x, y, z = state # unpack the state vector return sigma * (y - x), x * (rho - z) - y, x * y - beta * z # derivatives state0 = [1.0, 1.0, 1.0] t = np.arange(0.0, 40.0, 0.01) states = odeint(f, state0, t) fig = plt.figure() ax = fig.gca(projection='3d') ax.plot(states[:,0], states[:,1], states[:,2]) plt.show() Derivation of the Lorenz equations as a model of atmospheric convection[edit] The Lorenz equations are derived from the Oberbeck-Boussinesq approximation to the equations describing fluid circulation in a shallow layer of fluid, heated uniformly from below and cooled uniformly from above.[1] This fluid circulation is known as Rayleigh-Bénard convection. The fluid is assumed to circulate in two dimensions (vertical and horizontal) with periodic rectangular boundary conditions. The partial differential equations modeling the system's stream function and temperature are subjected to a spectral Galerkin approximation: the hydrodynamic fields are expanded in Fourier series, which are then severely truncated to a single term for the stream function and two terms for the temperature. This reduces the model equations to a set of three coupled, nonlinear ordinary differential equations. A detailed derivation may be found, for example, in nonlinear dynamics texts.[17] The Lorenz system is a reduced version of a larger system studied earlier by Barry Saltzman.[18] Gallery[edit] A solution in the Lorenz attractor plotted at high resolution in the x-z plane. A solution in the Lorenz attractor rendered as an SVG. File:A Lorenz system.ogv An animation showing trajectories of multiple solutions in a Lorenz system. A solution in the Lorenz attractor rendered as a metal wire to show direction and 3D structure. File:Lorenz.ogv An animation showing the divergence of nearby solutions to the Lorenz system. A visualization of the Lorenz attractor near an intermittent cycle. |
#2
|
|||
|
|||
MATLAB simulation[edit]
%Solution for the Lorenz equations in the time interval [0,100] with initial conditions [1,1,1]. sigma=10; beta=8/3; rho=28; f = @(t,a) [-sigma*a(1) + sigma*a(2); rho*a(1) - a(2) - a(1)*a(3); -beta*a(3) + a(1)*a(2)]; %'f' is the set of differential equations and 'a' is an array containing values of x,y, and z variables. %'t' is the time variable [t,a] = ode45(f,[0 100],[1 1 1]);%'ode45' uses adaptive Runge-Kutta method of 4th and 5th order to solve differential equations plot3(a(:,1),a(:,2),a(:,3)) %'plot3' is the command to make 3D plot |
#3
|
|||
|
|||
الـــــ Lorenz attractor
موضوع مرتبط بالـcomputer science و بالرياضيات اذا طبقتة على الvisual basic 6 سيعرض لك الوان الطيف فى مربعات و صوت تشويش غريب بعض الشئ فى الاذن و بعدها سيعرض لك صورة يوسفنداية اتفرج عليها شوية هاتسخن و تفوح ريحة يوسفندى فى المكان من الشاشة هاتعجبك و شكرا |
#4
|
|||
|
|||
the Lorenz attractor is a set of chaotic solutions of the Lorenz system which, when plotted, resemble a butterfly or figure eight.
يعنى ممكن تعملة بأتنين timers او ثلاثة لا اعرف اتنين ام تلاتة و تعرض الوان معينة هاتعمل التأثير الذى شرحتة بالأعلى لم اتوصل لتنفيذها حتى الأن لكنى احاول و اعتقد انى لن اجد لها تفسير سأقوم بمشاهدتها فقط اذا كان احد يريد ان يفيدنا بشأن هذا الموضوع من الممكن ان نشترك فية جميعا وشكرا |
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
انواع عرض الموضوع |
العرض العادي |
الانتقال إلى العرض المتطور |
الانتقال إلى العرض الشجري |
|
|