Quantcast
Channel: COMSOL Forums: Internal boundary conditions for diffusion equation
Viewing all articles
Browse latest Browse all 29

Re: Internal boundary conditions for diffusion equation

$
0
0
Hi,

I'd suggest the idea shown in the model linked to at the bottom of this entry. The concept is pretty general, so I will outline it here.

Some boundary conditions are available only on exterior boundaries. This is because on interior boundaries, they would cause a discontinuous solution, which is not allowed. Insulation is one such boundary condition. My model shows how to use an assembly in order to enable all boundary conditions everywhere.

Step one is to create the geometry such that it consists of one object on one side of the boundaries where you want to apply your condition, and another object on the other side. Although hidden when you first open the model, there is a line connecting the two insulating walls. This is what makes the division into two geometry objects possible.

With the use of an assembly, the walls will automatically consist of two exterior boundaries each. This makes it possible to apply the Insulation/Symmetry boundary condition. To reconnect the solution across the boundaries between the walls, create an Identity Pair and use the (default) Pair Continuity condition.

Note that the boundaries between the walls were suppressed in postprocessing. You can see them by clicking the Show All Hidden Objects button when in boundary mode.

Linus

-------------------------------------------
cds.comsol.com/mg/b4a44d998329d6.zip
Estimated size: 0.1 MB
This link expires July 3, 2009. Please make sure to download before that date.

Included files:
- Interior_Insulation.mph
-------------------------------------------

Viewing all articles
Browse latest Browse all 29

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>