Continuity between two domains with different physics

Sayee Srikarah Volaity

Please login with a confirmed email address before reporting spam

Hello all,

I am developing a model for the combustion of a fuel pellet placed inside a furnace. There is air flow enabled in the furnace, which I would think "seeps" oxygen inside the porous pellet. Before I went into the complete heat, mass and reaction coupling, I just wanted to to run a study with just fluid flow interfaces defined. I am using the laminar flow interface for the furnace domain and brinkman equations for the porous pellet domain.

Since I defined the geometry as a union, I would assume that COMSOL automatically treats internal boundaries with continuity conditions, however, when I checked the results I see that the continuity is not maintained.

Currently, the interfaces between the pellet and the furnace are defined as walls, which I assumed would be overridden automatically. Now I think I need to add some additional B.Cs to let COMSOL know that there is an interface between the pellet and the furnace where continuity needs to be maintained. Or do I need to define identity pairs? Or is there anything else that I am missing. I am also having some trouble determining the source and destination boundaries while defining identity pairs.

I am attaching an annotated image with some information that might be useful.

Any help is much appreciated, thank you!



2 Replies Last Post Oct 15, 2025, 7:01 p.m. EDT
COMSOL Moderator

Hello Sayee Srikarah Volaity

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.


Please login with a confirmed email address before reporting spam

Posted: 15 hours ago Oct 15, 2025, 3:52 a.m. EDT

Hi, Sayee

I´m currently working on a simulation of a channel with laminarflow over a well with a hydrogel. Using laminar flow physics an brinkmann for the hydrogel and having a similar issue regarding die boundary between those. I m able to simulate something, but not it wont take the hydrogel correctly. Did u find a solution jet ?

Best regards, Martin

Hi, Sayee I´m currently working on a simulation of a channel with laminarflow over a well with a hydrogel. Using laminar flow physics an brinkmann for the hydrogel and having a similar issue regarding die boundary between those. I m able to simulate something, but not it wont take the hydrogel correctly. Did u find a solution jet ? Best regards, Martin

Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 2 minutes ago Oct 15, 2025, 7:01 p.m. EDT

If you are employing different physics in two different but adjoining domains, then it seems to me that you need to tell the model how you want these two domains to be related. I usually do other kinds of physics problems than your example, but analogous situations arise in my work. Anyway, I think you need to set up a "multiphysics" configuration. You need to ensure that the boundary condition, between the domains, that is enforced on the flow-like variable (sorry that I don't know what it is called, in your model) when solving the physics in at least one of those two domains, is assigned to be equal to (or otherwise related to) whatever is the corresponding variable for that quantity from the other domain. You need to decide if this should be a self-consistent calculation (where both domains have their physics solved, while interacting with each other) or simply one where you solve the physics in one domain and then use it to determine a flow (or whatever) boundary condition into the other domain, which is then also solved separately.

Anyway, if: (1) you post your .mph model to the forum, and (2) you explain the exact nature of the physical coupling between these two domains that you are trying to realize, then you may just receive some useful advice from other folks here. Comsol is a math and physics code. When you set up different physics (not merely different material properties) in different domains, it is typically impossible for the code (that is, the people who wrote it) to guess how you want to couple those systems. So you need to specify the right physics/relationships at the boundary, whether you want them calculated self consistently or first one then the other, etc. There can be a number of subtleties to doing this. If what you want to do is a common example that the Comsol folks have already studied and documented, you might find ready-to-go examples in the Application Library or elsewhere. If not, then you need to understand more about the details of your particular multiphysics problem. Finally, if you succeed, and if you think this is a worthy/important problem that others may also want to solve, then I encourage you to post your solved example to the Application Exchange: https://www.comsol.com/community/exchange/ .

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
If you are employing different physics in two different but adjoining domains, then it seems to me that you need to tell the model how you want these two domains to be related. I usually do other kinds of physics problems than your example, but analogous situations arise in my work. Anyway, I think you need to set up a "multiphysics" configuration. You need to ensure that the boundary condition, between the domains, that is enforced on the flow-like variable (sorry that I don't know what it is called, in your model) when solving the physics in at least one of those two domains, is assigned to be equal to (or otherwise related to) whatever is the corresponding variable for that quantity from the other domain. You need to decide if this should be a self-consistent calculation (where both domains have their physics solved, while interacting with each other) or simply one where you solve the physics in one domain and then use it to determine a flow (or whatever) boundary condition into the other domain, which is then also solved separately. Anyway, if: (1) you post your .mph model to the forum, and (2) you explain the exact nature of the physical coupling between these two domains that you are trying to realize, then you may just receive some useful advice from other folks here. Comsol is a math and physics code. When you set up different physics (not merely different material properties) in different domains, it is typically impossible for the code (that is, the people who wrote it) to guess how you want to couple those systems. So you need to specify the right physics/relationships at the boundary, whether you want them calculated self consistently or first one then the other, etc. There can be a number of subtleties to doing this. If what you want to do is a common example that the Comsol folks have already studied and documented, you might find ready-to-go examples in the Application Library or elsewhere. If not, then you need to understand more about the details of your particular multiphysics problem. Finally, if you succeed, and if you think this is a worthy/important problem that others may also want to solve, then I encourage you to post your solved example to the Application Exchange: https://www.comsol.com/community/exchange/ .

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.