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.

Assigning different meshes for different physics

Please login with a confirmed email address before reporting spam

I am using equation based modeling with two general form PDEs that are coupled together. The spatial derivative of the independent variables in one PDE appears in the other one. In one of the equations I have to use very fine mesh while the other one works OK with a coarser mesh. Is there anyway that I can assign different meshes for each of these equations to save the computation time?

4 Replies Last Post 11 ago 2017, 08:23 GMT-4
Mao COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 16 nov 2016, 15:06 GMT-5
Hi Youness,

It is possible if you split the two PDEs into two components and use component coupling for data exchange between the two components. For more information please contact support@comsol.com, or you can log in to your COMSOL Access account, and submit support cases from there.

Best regards,
Mao Mao, PhD
COMSOL Inc.
Hi Youness, It is possible if you split the two PDEs into two components and use component coupling for data exchange between the two components. For more information please contact support@comsol.com, or you can log in to your COMSOL Access account, and submit support cases from there. Best regards, Mao Mao, PhD COMSOL Inc.

Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 17 nov 2016, 02:45 GMT-5
Hi,

If your problem is one-way coupled, you could also solve the problem using two separate studies, since you can select a different mesh for each study.

Regards,
Henrik
Hi, If your problem is one-way coupled, you could also solve the problem using two separate studies, since you can select a different mesh for each study. Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 17 nov 2016, 09:26 GMT-5
Thank you Mao and Henrik for the replies. The coupling is two-way one. I tried Mao's solution and it seems working.
Thank you Mao and Henrik for the replies. The coupling is two-way one. I tried Mao's solution and it seems working.

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 11 ago 2017, 08:23 GMT-4
Updated: 7 years ago 11 ago 2017, 08:23 GMT-4
Hello Henrik

Is there any limitation or relation between two meshes?!
Because when i choose my second mesh finer (while the first one is coarse) I face an error, but with a fine mesh it goes well!
For your information I'm using data from corse mesh in the fine mesh

regards,
Farzad
Hello Henrik Is there any limitation or relation between two meshes?! Because when i choose my second mesh finer (while the first one is coarse) I face an error, but with a fine mesh it goes well! For your information I'm using data from corse mesh in the fine mesh regards, Farzad

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.