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.

Implementing 1D first order PDEs in the weak form

Please login with a confirmed email address before reporting spam

Hi everyone,

I need some help to implement weak form PDEs in comsol.

I'm trying to implement the following system of 1D first order PDEs in the weak form:

with .

In weak form these equations are

So I think that using the "weak form PDE module" I can writte this problem by inserting

-vt*test(phi1) - c1*test(phi1)*Px

-Pt*test(phi2) - c2*test(phi2)*vx

in the "weak form PDE" node and the boundary conditions by using the "dirichlet boundary conditions" node. However, I don't know how to insert the right hand side of the second equation.

For a scalar PDE, tt seems that it can be done by is using the "weak contribution" node at the point of the domain, as I saw in this tutorial. But I don't know how to use the weak contribution node when I have two weak pdes. Anyone know how to help me?

Thanks in advance,


0 Replies Last Post Sep 21, 2018, 9:25 AM EDT
COMSOL Moderator

Hello Gustavo Andrade

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.