Clear Filters
Clear Filters

Assign different equations to different part of geometry in PDEtoolbox

1 view (last 30 days)
I want to solve two coupled partial differential equations on two dimension.
There are two variables v and m. The geometry is a disk and a ring around the disk. The variable v diffuses inside the disk until it reaches the boundary (here the ring) and then in converts to variable m. Variable m then diffuses on the boundary (here on the ring). To have the diffusion of varibale m on the edge of the disk, I added a ring with narrow width to the disk (to see the geometry created by Matlab see below, Is there a better way to formulate the diffusion of variable m on the edge of the disk?).
In the diagram below you see the summary of the problem:
I use the set of equations below to define the problem:
The first equation describes the diffusion of variable v inside the disk.
The second equation describes the conversion of variable v to variable m (the term ) and the diffusion of variable m on the edge of the disk. To account for the diffusion of variable m on the edge I added a ring with narrow width to the disk.
The last equation is the boundary condition at the boundary of the disk and the ring which accounts for the conversion of variable v to variable m. On the left is the gradianet operator which indicates the flux of variable v on the boundary.
Below you see the goemetry of the problem I created using Matlab:
My problem is that how I should tell Matlab that in the system of equations below (also shown above before) the first equation applies to the disk (here face F1 in the image above) and the second equation applies to the ring (here face F2 in the image above?

Answers (0)

Tags

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!