|
If you are new to xmds then we recommend first to work through the examples supplied in both the documentation, and here on this page.
Physics and Mathematics:
Engineeering:
Finance and Economics:
Biology:
Chemistry:
Weather modelling: Don't see your field or discipline here? Tell us about it! Just email xmds-user@lists.sourceforge.net with information about your field and how you use differential equations to model systems of interest to you. Then we can put your examples up on this web page! Physics and Mathematics: The famous nonlinear Schrödinger equation (NLSE) in one transverse dimension. This equation permits sech2 soliton solutions, but the script supplied here uses a Gaussian initial field to create a pulsating or ``breathing'' soliton.
Script: nlse.xmds
Here we have a non-degenerate parametric interaction in two transverse dimensions. Note the field has three components. The script supplied is actually a simulation of an all-optical AND gate.
Script: ndparamp.xmds
The Kubo oscillator is a great example of a stochastic ODE. The argument of a unit complex vector is "blown" about by a real Gaussian noise, xi. Integrating such an equation is a highly involved process, but xmds makes it seem so simple.
Script: kubo.xmds
Stochastic noises can also appear in PDEs. This is example borrowed from quantum optics, the numerical solution of which is rather complicated. Again xmds does all the hard work for you.
Script: fibre.xmds
Finally, this is a more unusual problem where there are three components, but one of which propagates in a transverse dimension rather than in the main propagation dimension. This equation is modelling the propagation of an optical pulse through a field of atoms having a transition frequency tuned to that of the optical pulse centre frequency.
Script: tla.xmds
Having mastered these we have a selection of additional examples not necessarily covered in the documentation: Solves the advection equation for an initial cosine-modulated Gaussian pulse. This is an example simulation used in the documentation.
Script: advection.xmds
Solves the diffusion equation for an initial Gaussian pulse. This is an example simulation used in the documentation.
Script: diffusion.xmds
Solves the Lorenz equations for a simple chaotic system. This is an example simulation used in the documentation.
Script: lorenz.xmds
Finite amplitude pendulum simulation
Script: pendulum.xmds
Example simulation of the Lane-Emden equation in astrophysics. This model can be used to determine the effective size of polytropes.
Script: lane_emden.xmds
Waves on a vibrating string
Script: vibstring.xmds
Here are some more simulations to whet your appetite further:
Engineering:
Finance and Economics: Biology:
Chemistry:
Weather modelling: |