Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Is it possible to choose curl element for two dependent variables for a 2D model?

Please login with a confirmed email address before reporting spam

Hi, all

For the question, if the model only has two dependent variables it seems possible. What if the model has 3 or more dependent variables?

Thanks!

1 Reply Last Post Sep 25, 2012, 4:57 a.m. EDT
Nils Malm COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Sep 25, 2012, 4:57 a.m. EDT
Hello,
In the PDE interfaces, the curl (and also div-) elements are only available when the number of dependent variables is the same as the space dimension. The reason is that, conceptually, each PDE interface works with one physical quantity (you cannot set different units for different dependent variables). Normally, this imposes no limitations, but there are cases where you may need to model also the out-of-plane component of a vector. I guess your case is something like that.

There are two possible work-arounds: either you can split your equations into more than one PDE interfaces, such that you can select curl elements for two of the components; or you can add a weak contribution (from More on the interface context menu) and then an auxiliary variable as a subfeature to the weak contribution. The latter may be the best option if your problem is indeed about an out-of-plane component of a vector.

best regards
Nils Malm
COMSOL AB
Hello, In the PDE interfaces, the curl (and also div-) elements are only available when the number of dependent variables is the same as the space dimension. The reason is that, conceptually, each PDE interface works with one physical quantity (you cannot set different units for different dependent variables). Normally, this imposes no limitations, but there are cases where you may need to model also the out-of-plane component of a vector. I guess your case is something like that. There are two possible work-arounds: either you can split your equations into more than one PDE interfaces, such that you can select curl elements for two of the components; or you can add a weak contribution (from More on the interface context menu) and then an auxiliary variable as a subfeature to the weak contribution. The latter may be the best option if your problem is indeed about an out-of-plane component of a vector. best regards Nils Malm COMSOL AB

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.