📄 xdemo1
字号:
#! /bin/sh# This input file reproduces the output in Juhlin (1995) Figure 6a.# Note that the source in Table 1 in Juhlin (1995) is given as g(t), but should be f(t)# be f(t), i.e. the derivative of the Gaussian (dg)# Since the dg source waveform is defined by its avg frequency content# favg should be set to 24.15 Hz to correpsond to alpha=10000 in# Juhlin (1995) ## original#suea2df dt=0.0005 lt=0.4 nz=294 fx=0 nx=255 dx=6 verbose=1 \#snfile=tmp hsz=00 vsx=200 snaptime=0.02,0.05,.1,.15,.2,.25.3,.35,.4 efile=mod \#bc=2,1,1,0 qsw=0 asw=0 \#sx=0 sz=12 favg=24.15 ts=0.05 wtype=dg \#xl=1 \# \# zl=150,156 \# vpl=2898,3320 \# vsl=1398,1398 \# rhol=2250,2250\#>out2modelfile=junk.unif # input model file for unif2anisoninf=1 # number of interfaces (surface counts)x0=0,0,0 # x-position(s) for vp00,vs00,rho00, etc.z0=0,150,156 # z-position(s) for vp00,vs00,rho00, etc.nz=294 # size of z (depth) dimension of modelnx=255 # size of x (horizontal) dimension of modeldz=6 # increment in z directiondx=6 # increment in x directionvp00=2898,3320 # P-wavespeed(s) at (z0,x0)vs00=1398,1498 # S-wavespeed(s) at (z0,x0)rho00=2250,2250 # density(s) at (z0,x0)dt=0.0005 # time sampling intervallt=0.4 # latest time modeledfx=0 # first x valueverbose=1 # =1 chatty, =0 silentsnfile="snaps.su" # output file for snapshotshsz=0.0 # z-position of horizontal line of geophonesvsx=0.0 # x-position of vertical line of geophonessnaptime=0.02,0.05,.1,.15,.2,.25.3,.35,.4 # times of snapshotsbc=2,1,1,0 # boundary conditionsqsw=0 # =1 put in attenuationasw=0 # =1 anisotropysx=0 # x-position of sourcessz=0 # z-position of sourcesfavg=24.15 # average frequencyts=.05 # source durationwtype=dg # waveform type# build stiffness and density filesunif2aniso < $modelfile ninf=$ninf x0=$x0 z0=$z0 nz=$nz nx=$nx \dx=$dx dz=$dz vp00=$vp00 vs00=$vs00 rho00=$rho00# transpose stiffness and densityfor i in c11 c13 c15 c33 c35 c55 rhodo mv ${i}_file tmp.file transp n1=294 < tmp.file > ${i}_filedonerm tmp.file# run suea2dfsuea2df dt=$dt lt=$lt nz=$nz fx=$fx nx=$nx dx=$dx dz=$dz verbose=1 \snfile=$snfile hsz=$hsz vsx=$vsx snaptime=$snaptime \bc=$bc qsw=$qsw asw=$asw sx=$sx sz=$sz favg=$favg ts=$ts wtype=$wtype \>out2exit 0suwind < ss.su key=duse min=1 max=1 | suwind j=3 | suwind key=offset max=420 | \suxwigb f2=0 d2=18 perc=98suwind < ss.su key=duse min=1 max=1 | suwind j=3 | suwind key=offset max=420 | \sugain scale=-1 | supswigb f2=0 d2=18 nbpi=600 d1num=0.1 d2num=72 grid1=dash perc=98 \ x2beg=414 x2end=0 wbox=1.75 hbox=2 labelsize=6 > F6a.ps #awk < out2 '{if(NF==2) print $2,$1}' | a2b | xgraph n=101 pairs=1 #awk < out2 '{if(NF==2) print $2}' | a2b n1=1 | suaddhead ns=101 | \#sushw key=dt a=500 | suspecfx | suxwigb fx.su x1end=100
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -