cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Please, can you specify a PDE solver which works with complex coefficients

OK_11013022
2-Explorer

Please, can you specify a PDE solver which works with complex coefficients

I need to solve a system of two PDE with complex coefficients.
Please, can you specify a PDE solver which works with complex coefficients, or send me a link to the tutorial.
 
thank you,
Oleg
5 REPLIES 5
Werner_E
25-Diamond I
(To:OK_11013022)

Not sure what exactly you mean by complex "coefficients".

As far as I am aware the only pde solver which Prime offers out of the box is "pdesolve".

The help states that the boundaries have to be real values.

Partial Differential Equations in Solve Blocks

Thank you for reply... I used numol and Pdesolve in (block). When I put in the right-hand side of these solvers (rhs of numol, or in equations in Pdsolve) the imaginary constant 1i, they mark error.

Thank you for

Werner_E
25-Diamond I
(To:OK_11013022)

Ah, I forgot about "numol".

 

It looks as if the implemented algorithm only works in the range of real numbers.
But I could be wrong about that. Perhaps you could post a file with your attempted solution (possibly a simplified example which also shows the problem) here and someone else might then have an idea for a solution ...

Thank you for the reply.

The system of PDE is very simple. Reducing it to ODE it looks as the following:


da/dz = i*b
db/dz = i*a,
where i is an imaginary constant. This equation describes the coupled modes in photonics.

Thank you very much, I have implemented some finite difference algoritm, It shows acceptable result, 

Announcements

Top Tags