Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Fiber Grating Using Finite Difference Method

  1. Oct 10, 2008 #1
    Fiber Grating Using Finite Difference Method

    I have to solve the Fiber grating coupled-equations using FDM. These equations are coupled each other and strange inital conditions. That means ode45 from the matlab library function doesnt work here!

    I am totally fresh in numerical analysis and read some books, but unlukcy, i still confuse how to do this code:(

    Anyone has the program that solve this problem, pls share with me! Thank you

    The probelm is:

    Parameters described:

    AF(z,t) is the amplitude of forward-propagation-waves;
    AB(z,t) corresponds to the backward-propagation-waves;
    z and t are space and time coordinates;
    AFz = dAF/dz AFt = dAF/dt;
    ABz = dAF/dz ABt = dAF/dt;
    vg, delta, kapa, gama are constant terms.

    The coupled-equations is:

    i*AFz + i*AFt/vg + delta*AF + kapa*AB + gama*(|AF|^2+2*|AB|^2)*AF = 0
    -i*ABz + i*ABt/vg + delta*AB + kapa*AF + gama*(|AB|^2+2*|AF|^2)*AB = 0

    and the inital conditons:


  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted