Fiber Grating Using Finite Difference Method

  • Thread starter renxiaoxie
  • Start date
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;
i=sqrt(-1);
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:

AF(0,t)=A(t);
AF(z,0)=0;
AB(L,t)=0;
AB(z,0)=0

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 

Want to reply to this thread?

"Fiber Grating Using Finite Difference Method" You must log in or register to reply here.

Related Threads for: Fiber Grating Using Finite Difference Method

Replies
0
Views
8K
Replies
0
Views
14K
Replies
0
Views
2K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top