Code covered by the BSD License  

Highlights from
GAFFE A toolbox for solving evolutionary nonlinear PDEs

5.0

5.0 | 3 ratings Rate this file 14 Downloads (last 30 days) File Size: 154.64 KB File ID: #24016
image thumbnail

GAFFE A toolbox for solving evolutionary nonlinear PDEs

by Edward Grace

 

06 May 2009 (Updated 24 May 2010)

This toolbox implements the well known split-step Fourier technique for solving nonlinear PDEs.

| Watch this File

File Information
Description

The Generalised Adaptive Fast-Fourier Evolver (GAFFE) toolbox is a framework that greatly simplifies the solution of complex partial differential equations (PDEs) in an adaptive manner.

By default both the step-size and the mesh adapt to the problem at hand to optimise the speed of execution for a given nominal target accuracy.

The technique is N dimensional and can therefore be used to model diverse problems such as temporal solitons, spatial self-focusing or exotic space-time effects.

Currently the technique is limited to scalar fields.

MATLAB release MATLAB 7.9 (2009b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
24 May 2010 Alexandro Ruiz

This is a very efficient toolbox. I have been using it to propagate a laser inside a dielectric material using the nonlinear schrodinger equation. It usually takes just a few tens of seconds to complete the propagation.

02 Nov 2010 Alexander

Simply the best toolbox for PDEs

22 May 2011 Mohsin Shah

Hi you have done a great job. i wana know that is there anything for birefringence or polarization in this toolbox? can we simulate pulse propagation in a birefringent fiber by this toolbox?

24 May 2011 Edward Grace

Mohsin. "..is there anything for birefringence or polarization in this toolbox?". No, not explicitly.

"can we simulate pulse propagation in a birefringent fiber by this toolbox?"

Like many things the answer is "it depends".

As long as you can approximate whatever it is that you want to do as being scalar then the answer is "yes" -- just use an effective refractive index for each (decomposed) polarisation. And model it as two separate (decoupled) problems.

If on the other hand the important effect that you want to capture is due to off-diagonal terms in the nonlinear permettivity tensor that strongly couple between polarisation states then the answer is a resounding "No!"; it's tough enough generalising to an N dimensional scalar nonlinear problems, let alone vectorial / tensorial ones!

07 Jul 2011 Dong-sig Shin

It's exactly what I find toolbox. But I don't know where I should input parameters like pulse energy and duration.

07 Aug 2011 Edward Grace

As defined the example model for pulse propagation will work in normalised units. I strongly recommend reading the example alongside the cited section of Agrawal's "Nonlinear Fiber Optics".

29 Oct 2011 Amdad

GREAT

Please login to add a comment or rating.
Updates
26 Oct 2009

Now licensed under the BSD, Hamming number mesh lengths have been added, default LUT file version is now compatible with early MATLAB versions.

26 Oct 2009

Expunged GPL and licensed under BSD, added Hamming number meshes, use simpler MAT file for hamming, humble LUTs.

22 May 2010

A new demo has been added that depicts the evolution of a breather soliton and demonstrates the resizing mesh and longitudinal stepping.

A bug in the field updating has also been squashed.

23 May 2010

Minor performance improvement, minor bug fix in callbacks. Improved callback, included example default callback and new demo for linear problems.

23 May 2010

There was a file missing in version 0.0.10, it has now been included.

24 May 2010

A bug in the mesh resizing has been fixed, performance improved, documentation improved and a new demonstration has been added (gaffe_demo_soliton) depicting dynamic mesh sizing and step length for a breather soliton.

24 May 2010

Fixed mesh resizing bug for spectrum, improved performance, added two new demonstrations and improved documentation.

Tag Activity for this File
Tag Applied By Date/Time
pde Edward Grace 26 Oct 2009 13:01:56
fft Edward Grace 26 Oct 2009 13:01:56
nonlinear Edward Grace 26 Oct 2009 13:01:56
simulation Edward Grace 26 Oct 2009 13:01:57
soliton Edward Grace 24 May 2010 09:18:17
nd Edward Grace 24 May 2010 09:18:17
2d Edward Grace 24 May 2010 09:18:17
3d Edward Grace 24 May 2010 09:18:17
1d Edward Grace 24 May 2010 09:18:17
selffocusing Edward Grace 24 May 2010 09:19:12
fibre Edward Grace 24 May 2010 09:19:12
fiber Edward Grace 24 May 2010 09:19:12
breather Edward Grace 24 May 2010 10:03:32
nlse Edward Grace 24 May 2010 10:03:32
split step Edward Grace 24 May 2010 10:31:52
pulse propagation Edward Grace 24 May 2010 10:32:19
soliton David Isaac Ortiz-Neria 18 Apr 2011 17:28:04
2d Mustafa ERTEN 26 Apr 2011 12:53:35
1d skmoorthy08 08 Jun 2011 04:51:49

Contact us at files@mathworks.com