Replies: 2 comments 4 replies
-
I think I have a similar application need. I'm interested in modeling diffusion in cylindrical geometries with multiple layers in the r axis. I've been able to do this for monolithic cyliniders using pde.DiffusionPDE from the documentation. However, the Cylindrical Symmetry Grid does not seem to support periodic boundary onditions on the r-axis. Am I missing something in the documentation for implementing this? Alternatively if applying the approximation proposed by the OP, can you recommend a suitable way to pass D as a function of the r or z coordinates to pde.DiffusionPDE? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, complicated geometries are outside the scope of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Dr. Zwicker.
I am studying some applications of the diffusion equation, and for the systems that I am interested in modeling, I will need some more complicated geometries. My first question, is it possible to create a hole in the mesh of the simulation? Or would it be possible to import a mesh from another software such as gmesh?
This is definitely a stretch, but is there support for the immersed boundary method, or a way to approximate it? Less of a stretch and as effective, are you familiar with a way to define boundary conditions on arbitrary planes in the solution domain or approximate them in some way?
I suspect that the answer to much of the above will be no, but something that I know will work from a technical perspective is defining a paired PDE for the diffusion coefficient, which will solve for D = 0 at certain places and D = 1 at others (and rapidly switch between) to get dc/dt = 0 where D = 0. What do you think about this from a mathematical point of view as an implicit approximation for a desired condition of del(c) = 0? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions