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

Discussion during calculating the rays in 3D model #71

Open
xiehoulin opened this issue Jun 23, 2024 · 8 comments
Open

Discussion during calculating the rays in 3D model #71

xiehoulin opened this issue Jun 23, 2024 · 8 comments

Comments

@xiehoulin
Copy link

@bernard-giroux
Dear Professor Bernard Giroux , I would like to understand the reasons for the difference in calculation time for a pair of symmetric sensors, as well as the reasons for the sawtooth phenomenon in the path.
b11e2a5d73af0a6f514a13fd1114be2

@bernard-giroux
Copy link
Member

Did you visualize your velocity model to make sure it is OK? What cell size are you using? 2D or 3D? rectilinear or unstructured? Which method (SPM, DSPM, FSM)?

@xiehoulin
Copy link
Author

ea8a5b7005672652b4338aa3d8f26cf
微信图片_20240625105226
微信图片_20240625105229
Dear Professor Bernard Giroux ,there seems to be no problem with the visualization model. It is a simple 3D model, with the blue area in the middle representing the excavated tunnel and using the default tetrahedral mesh. Three methods have been tried, and the symmetrical arrangement of sensors mentioned above will result in differences and the formation of jagged paths

@bernard-giroux
Copy link
Member

What method are you using. You must have a very strong velocity contrast. Are you defining slowness at nodes or cells? You get this kind of result with the SPM?

@xiehoulin
Copy link
Author

yes, i use he SPM to calculate travel time considering diffraction in tunnel voids after defining slowness at nodes

@bernard-giroux
Copy link
Member

With the SPM, raypaths go throught the nodes of the mesh. If you have a low density of nodes, you likely end up with the kind of trajectory we see in your results. The solution would be to increase the number of secondary nodes and/or decrease the size of the tetrahedra at the rock/tunnel boundary.

@bernard-giroux
Copy link
Member

Also, can you confirm that you have defined velocity for cells, not at nodes? For models like yours, I would definitively use a model with velocity assigned to cells, not nodes.

@xiehoulin
Copy link
Author

Yes, thank you for your reply Professor Bernard Giroux. After using grid = rg.Grid3d(X, Y, Z, cell_slowness=True, n_threads=3, method='DSPM', nsnx =10,nsny =10,nsnz =10, n_secondary=5, n_tertiary=5), the paths at both ends of the tunnel have become symmetrical, but there is still sawtooth phenomenon. If I want to solve this problem, do I still need to reduce the mesh size of the tunnel boundary? Can different sizes of grids designed in this 3D be found in ttcrpy documentation file? Or is the accuracy sufficient in this situation?
微信图片_20240627223349

@bernard-giroux
Copy link
Member

You are not using a tetrahedral mesh, Grid3D is a rectilinear mesh. Please read carefully the documentation on readthedocs.

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

2 participants