Replies: 4 comments 4 replies
-
|
Sourcefile for context |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hello again, this is the verbose output: _ Seems to have convergence issues.... This poisson.cpp is basically the entire project source code at the moment. Regards, |
Beta Was this translation helpful? Give feedback.
-
This appears to fix your issue. The way you are doing sets sigma to a huge value in cut cells. Note that you don't need to worry about the value of sigma in covered cells at all. It's effectively infinity. You also don't need to set overset mask. That's for a different purpose. Other comments. It might be more efficient for big runs if you add more multigrid levels. and |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am an amrex newbie so this might be a stupid question. However, I am trying to solve a nodal Poisson problem on a slightly fancier geometry than in the example code.
I want to simulate two charged electrodes instead of a point charge. I managed to generate the geometry using the EB::SphereIF and assigned sigma(high in spheres, low outside), potential(non zero in, zero outside) and charge(same as pot) based on it.
When I try to solve this I get unphysical results. Am I missing something? Maybe someone has a similar snippet flying around...
Cheers,
Alex
Beta Was this translation helpful? Give feedback.
All reactions