Solid cell/nodes in Amrex without using Embedded Boundary functions #2334
Unanswered
LordOfBunnies
asked this question in
Q&A
Replies: 1 comment 2 replies
-
What EB information do you need? If it's just whether a node is inside or outside a solid body, you can save that information in an |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently writing a Lattice Boltzmann Method flow solver in Fortran 95. The code is node based, making it a little more fun.
I'm wondering about a way to specify solid geometry without using the Embedded Boundary system already in Amrex. My code is able to determine whether a node is within a solid. It takes .stl files or .cgns files with tessellated surfaces. However, Amrex does not know if the node is a fluid or solid. I figure this may end up causing problems when using things like average_down, fill_patch, etc. when it's near the wall.
I've been reading through the embedded boundary system, but it doesn't look like it can handle generic geometry. I could certainly be wrong.
Is there a way to inform Amrex which nodes are solid/fluid/etc.? Can the embedded boundary system be used with generic geometry? Is there a way to work around the system and directly tell the EB system which ones are which?
Beta Was this translation helpful? Give feedback.
All reactions