I'm trying solve the problem of heat conduction, and could not understand out how to put a condition between two adjacent domains. If between areas perfect thermal contact is the conjugation condition is not issued. This case in FEniCS solved well. But if between domains imperfect thermal contact, how to put this condition correctly. For this thermal contact, i'm used the condition:
$$ q = \alpha(T_1 - T_2), x \in \Gamma_1$$
,where is $$\alpha$$ - some coefficient, $$T_1$$ - temperature in first domain, $$T_2$$ - temperature in second domain, $$\Gamma_1$$ - boundary between two domains.
I'm try to solve this problem by solving the problem separately by domains and passing the temperature at the boundary of one task to another. I think this is not quite correct.