-
Notifications
You must be signed in to change notification settings - Fork 66
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
Instability issue after long time #167
Comments
Please provide your input file. Which version of SW4 are you using? If Vp/Vs is very large, it is necessary to reduce the CFL number to get a stable evolution. |
Hi Dr. Petersson @andersp, thanks for looking into this. Attached please find the sw4input file and pfile that I used. I am using a recent SW4 version in the developer branch (after this PR #137). The Poisson's ratio is 0.32 (Vp/Vs=1.9) throughout the whole domain. Let me know if you need anything else. |
Thanks @jf-huang . Can you also provide the output that sw4 generates when you run this case? |
Sure @andersp , the output file is attached (output for the time step phase is truncated). |
When defining a background material, you should not specify z1=0.0. The reason is that there are ghost points just above the free surface with z-coordinate less than 0. block vp=3600.0 vs=1900.0 rho=2178.0 qp=200.0 qs=100.0 |
Hi Dr. Petersson @andersp, thanks for the check! I have observed similar instability in one of our generic model consisting of a 1D layered crust (created with the block command; similar to the example above, the top block is specified with z1=0.0), and a wedge basin on the right side. Snapshots (local surface region) of the vecocity magnitude (ux & uy & uz) are shown below: |
I suggest you rerun your case after removing the z1=0 keyword from the background material model. I don't have the time to rerun your case. |
Thanks for the suggestion @andersp , I will report back here when I have new results. |
Hi Dr. Petersson @andersp, I encountered this instability issue in another run I have, please see the wavefield plots and the velocity model I used (all cross sections along the y-axis are the same).
In this model, I have set three mesh refinements (z=150m, 700m, 1500m), and it looks like the instability initiated at the first mesh refinement level (z=150m), which also happened in my previous model (this thread, first mesh refinement set at z=600m). Attached is the output file from SW4. Please let me know if you need more information about the model I used. |
Hi Dr. Petersson @andersp, just wanted to report back that the issue is resolved by setting cfl to 1.0. Thanks for the input! Closing now. |
Hi, I created a 5km(x)×3km(y)×6km(z) domain in SW4 with a 1D layered velocity model and a point source located at depth. The base grid spacing is 16m with a mesh refinement at 408m; the number of grid points in the supergrid is set to 30 (default). The solution looks fine during the first 9s, after which the domain should be essentially silent. However, the motions in the top grid grow to very large values very rapidly and propagate to the bottom grid, as shown in the following movie (star is the hypocenter; the dashed white line delineates the boundary between the half-space below and the overlying layers):
![output](https://user-images.githubusercontent.com/44045796/223785084-b526c89a-c1ff-4d30-a25f-95f999d82828.gif)
This instability issue also happens in another larger domain with mesh refinements. Do you know where this issue come from and how I can resolve it?
Many thanks.
The text was updated successfully, but these errors were encountered: