Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

How to set the variable with Fourier Transform when solving PDEs using coefficient form?

Please login with a confirmed email address before reporting spam

Hello everyone
My question can be simplified below:
AIM: get a dependent field u(x,t)
PDE general form: u_t=A(u,u_x)+B(u)
Want to solve it using coefficient form.

Problem:
A(u,u_x) can be expressed explicitly. However, the term B(u) is given by a Fourier Transform. I should first transform u to Fourier Space U, then calculate an integration related U to get B(u).
I know the Built-in Function Integrate cannot be used in user-defined function.

How I can add B(u) expressed by inverse Fourier Transform into the coefficient form?

Thanks
Hoping to hear from everyone.

Jingtian

0 Replies Last Post 2016年7月9日 GMT-4 09:47
COMSOL Moderator

Hello Jingtian Kang

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.