-
Notifications
You must be signed in to change notification settings - Fork 64
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
unknown time function #144
Comments
@Navids94 Could you provide your input file so we can take a look? Also, which version of sw4 are you using? |
@andersp Thank you so much. I used sw4-v2.01. grid x=69e3 y=42e3 z=27e3 h=347 attenuation nmech=3 phasefreq=1 maxfreq=1 refinement zmax=4500 time t=120 supergrid gp=30 #Crustal model #Basin model source x=56.855e3 y=12.145e3 z=14.5e3 strike=306 rake=94 dip=41 m0=1.32e+16 type=Gaussian freq=2.5132 t0=15 prefilter fc2=1 type=lowpass passes=2 order=2 rec x=18838 y=24822 z=0 file=Kinburn-JSBS variables=velocity nsew=1 usgsformat=1 sacformat=0 |
Your case seems to run just fine using sw4 v.3.0 and I recommend you update your installation of sw4. As currently configured, your case uses about 128 million grid points and the time step is 0.00369402 sec. You will need to take about 32,500 time steps to get to t=120 sec. Note that the first line in our basin model extends all the way to the bottom of the domain. This leads to very poor resolution of the wave field on the coarser grids: |
@andersp Thank you very much for your help. Could you please provide me with the link to the latest version for installation? I have just a basin model for the top 100m with limited dimensions but when I try to use the lower(z2) and upper(z1) bound: #Basin model I got following error: ----------- Material properties ranges ---------------
|
Version 3.0-beta is available from https://github.com/geodynamics/sw4 under releases. |
@andersp Thank you so much for sharing it. I installed this version. In spite of my efforts, I have not been able to resolve the issue since last week. grid x=36e3 y=36e3 z=40e3 h=400 time t=5 supergrid gp=30 attenuation nmech=3 phasefreq=2.5 maxfreq=1 refinement zmax=2000 #Crustal model #Basin model But I got following error again(considered wrong Vs for layers): ----------- Material properties ranges --------------- ***** PPW = minVs/h/maxFrequency ******** *** Attenuation parameters calculated for 3 mechanisms, |
@Navids94 The machine you are running sw4 on, what operating system is it using? Are you preparing the input file on some other machine with a different operating system? Did you test your installation with pytest/test_sw4.py ? Do test_sw4.py --help for instructions. |
@andersp Thank you so much for your suggestions. attenuation nmech=3 phasefreq=2.5 maxfreq=1 refinement zmax=4500 #Crustal model #Basin model source x=56.855e3 y=12.145e3 z=14.5e3 strike=306 rake=94 dip=41 m0=1.32e+16 type=Gaussian freq=2.5132 t0=15 And I got this one(attached): Total number of grid points (without ghost points): 1.25586e+08 Warning: ignoring block line option '' Material properties ranges --------------- ***** PPW = minVs/h/maxFrequency ******** Assigning SG arrays: standard case with default epsL *** Attenuation parameters calculated for 3 mechanisms, As I need 1Hz and the top and bottom frequencies are correct, but the mid-layer frequencies are higher than 1Hz(for example for g=2 minVs/h/1hz=39.19 so we have ppw=39.19 but ppw should be less than 12 . Are there any problems? |
Now I understand where the warnings come from: you can not add a comment on the same line as a command. Comments must be on separate lines, starting with the "#" character. Also, the way you have specified the block commands is still dubious. For verification, I recommend you use the image command to save a couple of vertical slices of your material model. It is always a good idea to start with a coarse mesh without any refinement commands to first verify that the model is correct. Then gradually add the refinement commands back in while checking the resolution. |
@andersp Thank you so much. I did not use any comment when I was trying. |
Hi,
I want to know why I get the following error:
Warning: ignoring block line option '
unknown time function: GaussianInt
using default RickerInt function.
I used another time function but I received this error in output again.
The text was updated successfully, but these errors were encountered: