Regarding Failed to build required coarse EB level X !!! #4365
Replies: 3 comments 1 reply
-
Could you clarify a few things?
|
Beta Was this translation helpful? Give feedback.
-
This is what I see. All those blue regions are covered. |
Beta Was this translation helpful? Give feedback.
-
Okay. Now the issue is the narrow region is too narrow. Even with 256^3 cells, the triangle region has exactly one open cell surrounded by a number of cut cells. So I don't think using 64^3 cells at level 0 could work. Even we are able to build the EB, I don't think the algorithm could work. That being said, you could try to build EB with |
Beta Was this translation helpful? Give feedback.
-
I have been trying to build an STL in an EB_CNS based code. The issue is while building the STL file. Wherein, I get the error :
amrex::Abort::17::Failed to build required coarse EB level 1 !!! SIGABRT
I tried moving around the EB domain to see if it fixes the issue, but I am unsuccessful. I tried reducing the max level of refinement to 0 and 1, wherein the error doesnt occur but the built geometry is rather garbage. Any higher the value of max levels and I end up with this problem.
I'd greatly appreciate any help on how to get rid of this problem.
For your reference, these are some of the contents of my input file:
`amrex.fpe_trap_invalid=0
max_step = 1
stop_time = 1.e-6
geometry.is_periodic = 0 0 0
geometry.coord_sys = 0 # 0 => cart, 1 => RZ 2=>spherical
geometry.prob_lo = 0.0 0.0 0.0
geometry.prob_hi = 0.02 0.02 0.02
amr.n_cell = 64 64 64
cns.lo_bc = 4 5 5
cns.hi_bc = 2 5 5
cns.cfl = 0.2 # cfl number for hyperbolic system
REFINEMENT / REGRIDDING
cns.tag_probspecific = 1
amr.max_level = 5 # maximum level number allowed
cns.refine_max_dengrad_lev = 2
amr.ref_ratio = 2 2 2 2 2 2 2 2 # refinement ratio
amr.regrid_int = 2 2 2 2 2 2 2 2 # how often to regrid
amr.blocking_factor_x = 16
amr.blocking_factor_y = 16
amr.blocking_factor_z = 16
amr.max_grid_size_x = 64
amr.max_grid_size_y = 64
amr.max_grid_size_z = 64
amr.n_error_buf_x = 2 # number of buffer cells in error est
amr.n_error_buf_y = 2
amr.n_error_buf_z = 2
amr.grid_eff = 0.98 # what constitutes an efficient grid
amr.refine_grid_layout = true
amr.regrid_on_restart = 1
amr.compute_new_dt_on_regrid = 1
eb2.geom_type = stl
eb2.stl_file = B6.stl
eb2.stl_scale = 1
eb2.stl_center = 0.005 0.0098 0.00098
eb2.reverse_normal = 0
eb2.stl_use_bvh = 1
Important EB settings
eb2.max_grid_size = 32
eb2.cover_multiple_cuts=1
eb2.extend_domain_face = 1
cns.refine_cutcells = 1
`
And the STL file is:
B6.zip
Thank you in advance for your help
Beta Was this translation helpful? Give feedback.
All reactions