CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   COMSOL (https://www.cfd-online.com/Forums/comsol/)
-   -   Creating pairs in COMSOL (https://www.cfd-online.com/Forums/comsol/78126-creating-pairs-comsol.html)

Diego July 13, 2010 14:58

Creating pairs in COMSOL
 
Hi!!

I am trying to simulate a fuel cell in COMSOL, so I have different subdomains that it is interesting for me to mesh them separately. Then, I have to use pairs and imprints. My problem is summarizing as follows:

- Two subdomains: 1 and 2

- Model A only in subdomain 1 and Model B only in subdomain 2

- A condition that depends on variables from Model B must be specified for Model A in the boundary that separates both subdomains and viceversa.

If I didn't use pairs, there would be no problem because the boundary belongs to the two regions involved. However, if I use pairs I get two different boundaries, one corresponding to the subdomain 1 and another corresponding to the subdomain 2. These boundaries are coupled using the pair option, but it is not active because the two subdomains don't have a model in common, so I have to specify the boundary condition for model A on its corresponding surface and the same for model B. If I try to solve, I get an error because variables from model A donīt exist in subdomain 2.

Does it have a solution, or is it impossible to create pairs in this case? :confused::confused:


All times are GMT -4. The time now is 01:30.