Would like some idea on how to integrate EBGeometry on a EB_CNS -based AMReX code. #77
Replies: 3 comments 6 replies
-
|
Hi, I'll take a look at it, but can you also share the STL file? |
Beta Was this translation helpful? Give feedback.
-
|
Hi again, First: I'm very sorry for responding so ridiculously late - I mean well and then drop the ball... I did take a look at this and could generate the geometry rather easily. Maybe you can verify the same steps:
After that I was able to generate the geometry using the instructions in the README.md file. Specifically, I ran
Here is an image of the geometry Maybe there is something wrong other than the STL itself (or the method of generation)....? Can you check if the above steps resolved anything before we proceed further? |
Beta Was this translation helpful? Give feedback.
-
|
The error messages are due to AMReX itself as it fails to coarsen your geometry. There might be ways around this, and you should probably reach out to the AMReX team regarding the deadlocks and error messages. So far, I can't see anything that has to do with an "improper geometry". The deeper issue is that AMReX doesn't permit multi-valued cells, which appear during coarsening. Unfortunately I'm not very hopeful that resolving the deadlock will get you anywhere, because failure to coarsen geometries will 1) break geometric multigrid, and 2) prevent proper subcycling, which might affect your code/results. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been trying to add the EBGeometry capability to our AMReX code, that is based of EB_CNS. The simulation we essentially want to run is a flow from one corner of the domain (Base) propagates downstream and enters a narrow passage with some holes made of a few shapes. This narrow passage is made using an STL file. I was facing several issues doing it using the native STL capability of AMReX and wanted to try adapting the EBGeometry.
The issue that I come across now is that I tried adding the lines of code based on AMRex_PaintEB into a function called init_eb_geometry (Based on EB_CNS). The code compiles correctly but it doesnt proceed after the input file is read, the code just remains stagnant. Here, are the lines of the code so that you maybe able to give me a nudge in the correct direction.
Beta Was this translation helpful? Give feedback.
All reactions