Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

absorbing boundary problem in Mount_stHelens #1688

Open
HakunanMatatat opened this issue Apr 3, 2024 · 3 comments
Open

absorbing boundary problem in Mount_stHelens #1688

HakunanMatatat opened this issue Apr 3, 2024 · 3 comments

Comments

@HakunanMatatat
Copy link

hi
In the Mount_stHelens example, in the generated mesh, only face_topo and face-abs_bottom have data, while the other four faces have no data. What's going on?
Screenshot from 2024-04-03 08-24-06

@danielpeter
Copy link
Contributor

no worries - Hakuna Matata :) let's just eat some bugs. and thanks for pointing this one out, i like a crunchy bite.

when importing GEOCUBIT boundary_definition routines, they use some internal tolerance values to detect the absorbing surfaces. these tolerance values have been set to some smaller values in the past, having non-destructive testing examples in mind. as you found out, this won't work anymore with the Mount St.Helens example. let me update the corresponding scripts a bit and submit a fix soon - many thanks.

@brioglade
Copy link

hi Daniel, Have you started fixing it yet? I tried to change some parameters in boundary_definition.py but failed.

@danielpeter
Copy link
Contributor

this has been addressed by PR #1696 - please try again with the newest devel version and let me know if there are still issues with the script.

please note that using CUBIT to mesh a region with topography is possible, but for most cases the in-house mesher xmeshfem3D is probably easier to use. a utility script in the package can help importing the topography for any specified region:

utils/scripts/run_get_simulation_topography.py 

to do so, copy an example from EXAMPLES/applications/meshfem3D_examples/, e.g., the socal1D/ example, and then run the script within your example folder and specify your desired target region. for example, to get Taiwan:

./run_get_simulation_topography.py 120.5 22.5 123.0 25.5 --SRTM=topo3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants