版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
.Wavewatch3.v4.18在服務(wù)器上安裝使用教程浙江海洋學(xué)院 盛葉新鑒于wavewatch3.v4.18的安裝僅限于一本全英文的mannul謝謝閱讀手冊,網(wǎng)絡(luò)上沒有任何有幫助的安裝教程以及使用教程。因此,我于謝謝閱讀2015年10月在浙江海洋大學(xué)學(xué)習(xí)wavewatch3.v4.18時,在中國精品文檔放心下載海大的兩位師兄的幫助下成功安裝了模式,僅針對我們學(xué)校的某個服精品文檔放心下載務(wù)器安裝的一些問題和步驟進(jìn)行下列總結(jié)。一、環(huán)境變量設(shè)置安裝ww3之前需要加載編譯器并設(shè)置環(huán)境變量,不同的服務(wù)器有不同的加載方式,一般情況下使用modulelist查看當(dāng)前已加載編譯器,moduleavail查看可加載編譯器,moduleloadname加載name編譯器。謝謝閱讀安裝ww3需要加載ifort、icc和openmpi-Intel(注意:使用openmpi-Intel是因?yàn)槲覀兊募荷习惭b的是這個,其他mpi有關(guān)的編譯器沒有使用過,所以不太清楚)三個編譯器。但我使用的服務(wù)器上不可使用module命令(具體原因和服務(wù)器配置有關(guān),我沒有權(quán)限深究,此處不做詳解),因此我們設(shè)置環(huán)境變量文件.bashrc文件。在修改之前,使用whichifort、whichicc和whichmpirun查看三個編譯的安裝目錄。精品文檔放心下載根目錄下輸入vi.bashrc添加如下代碼:感謝閱讀exportPATH=$PATH:/(使用查找出來的ifort和icc安裝目錄)/bin/(可能發(fā)生謝謝閱讀ifort和icc是同一個目錄,此處填寫該目錄)感謝閱讀.exportPATH=$PATH:/(使用查找出來的mpi安裝目錄)/bin謝謝閱讀exportLD_LIBRARY_PATH=/(使用查找出來的mpi安裝目感謝閱讀錄)/lib/:$LD_LIBRARY_PATH此時環(huán)境變量則修改完畢,記得使用source.bashrc加載設(shè)置精品文檔放心下載好的環(huán)境變量,然后繼續(xù)完成安裝。二、ww3安裝和編譯1.安裝個人建議直接上傳ww3的壓縮文件,這樣可以節(jié)約時間,也可精品文檔放心下載先在windows下解壓后在上傳,最好是建立一個新的文件夾,這樣謝謝閱讀不會發(fā)生文件找不到的情況。我提供的是4.18版本,文件夾示例:感謝閱讀/public/home/shao002113/wwatch3.v4.18感謝閱讀上傳完畢后,按如下步驟進(jìn)行:(注意空格)tar xvf wwatch3.v4.18 -C/public/home/shao002113/wwatch3.v4.18精品文檔放心下載cd wwatch3.v4.18chmod +x install_ww3_tar./install_ww3_tar接下來進(jìn)入安裝了,他會問你一些問題,讓你選擇(y/n)的時感謝閱讀候基本都是y。有一個是選擇安裝模式,一個是L一個是G,安裝選精品文檔放心下載擇G,然后有些設(shè)置需要修改,如下:Printerforlistings[printer]:printer謝謝閱讀Compilerforaux.[f77]:ifort謝謝閱讀.Compilerforaux.[cc]:icc感謝閱讀Scratchspace[/tmp]:這是一個關(guān)于tmp文件夾的設(shè)置,第一次安裝不謝謝閱讀用修改Savesourcecodefiles:yes精品文檔放心下載Savelistingfiles:yes之后出現(xiàn)的一律選擇yes,會顯示安裝結(jié)束end。謝謝閱讀2.添加環(huán)境變量在根目錄下輸入命令:vi .bashrc在文本中添加:exportPATH=$PATH:/(ww3完整安裝目錄)/binexportPATH=$PATH:/(ww3完整安裝目錄)/exe感謝閱讀保存并退出。根目錄下輸入命令:source.bashrc(這是修改.bashrc后的必要步驟)。感謝閱讀驗(yàn)證路徑是否添加成功,根目錄下輸入whichw3_make.若成功修改,則會出現(xiàn)ww3完整目錄。感謝閱讀3.修改comp、link、switch進(jìn)入bin文件夾,將comp.Intel和link.Intel復(fù)制成comp和link即:感謝閱讀cp comp.Intel compcp link.Intel link使用vi編輯器修改comp和link。修改如下:精品文檔放心下載.comp中(大約96行處)修改成如下if["$mpi_mod"='yes']thencomp=mpiifortwhichmpiifort1>/dev/null2>/dev/null謝謝閱讀OK=$?if[$OK!=0]thencomp=mpif90fielsecomp=ifortfilink中(大約104行)修改成如下if["$mpi_mod"='yes']thencomp=mpiifortwhichmpiifort1>/dev/null2>/dev/null精品文檔放心下載OK=$?if[$OK!=0]p='mpif90'fiopt="-O3-o$prog"elsecomp=ifortfiswitch中把SHRD改為MPIDIST(注意此處空格,否則會出錯)。三個文件修改完畢后給予執(zhí)行權(quán)限。chmod+ucomplinkswitch感謝閱讀4.運(yùn)行make_MPI直接輸入命令make_MPI即可。如果沒有錯誤顯示則編譯成功,一般會出現(xiàn)兩個錯誤,但不影響模式的運(yùn)行計算,到此ww3安裝編譯成功。精品文檔放心下載.三、數(shù)據(jù)提取WW3對于輸入數(shù)據(jù)文件的類型沒有固定要求,本人常用的是風(fēng)場為dat文件,地形為ASCII文件。那么輸入數(shù)據(jù)的格式有著一定的要求。對于風(fēng)場來說,數(shù)據(jù)排列方式如下:精品文檔放心下載第一行是時間,如2015年6月1日0點(diǎn)0時0分,則寫為:20150601000000(注意年月日和時分秒之間存在空格)。接下來是兩個矩陣,第一個是風(fēng)場u,第二個是風(fēng)場v。感謝閱讀接下來是地形,說是地形,其實(shí)就是水深,大于等于0的設(shè)為無效值就好。當(dāng)?shù)匦写鏋锳SCII文件時,務(wù)必知道其繪出的地形圖是什么形式的,在后面的修改腳本出需要用到。謝謝閱讀.四、腳本修改1.ww3_grid.inp$--------------------------------------------------------------------$$WAVEWATCHIIIGridpreprocessorinputfile$$--------------------------------------------------------------------$$Gridname(C*30,inquotes)$'TESTGRID(GULFOFNOWHERE)'(此處是使用的網(wǎng)格名稱)$$Frequencyincrementfactorandfirstfrequency(Hz)----------------$$numberoffrequencies(wavenumbers)anddirections,relativeoffset謝謝閱讀$offirstdirectionintermsofthedirectionalincrement[-0.5,0.5].謝謝閱讀$Inversions1.18and2.22ofthemodelthisvaluewasbydefiniton精品文檔放心下載0,$itisaddedtomitigatetheGSEforafirstorderscheme.Notethat$thisfactorisIGNOREDintheprintplotsinww3_outp.$感謝閱讀1.1 0.04118 25 24 0.(頻率間隔 初始頻率 波速 波向)精品文檔放心下載$.$Setmodelflags----------------------------------------------------$$-FLDRYDryrun(input/outputonly,nocalculation).$-FLCX,FLCYActivateXandYcomponentofpropagation.$-FLCTH,FLCKActivatedirectionandwavenumbershifts.$-FLSOUActivatesourceterms.$FTTTFT(上方六項(xiàng)的開關(guān))$$Settimesteps-----------------------------------------------------$$-Timestepinformation(thisinformationisalwaysread)$maximumglobaltimestep,maximumCFLtimestepforx-yand$$
k-theta,minimumsourcetermtimestep(allinseconds).精品文檔放心下載950.900.300.(第一個數(shù)和第三個數(shù)一般是第二個數(shù)的兩倍,第二個數(shù)使用程序計算,最后一個一般為30)謝謝閱讀$$Startofnamelistinputsection------------------------------------$謝謝閱讀$ StartingwithWAVEWATCHIIIversion2.00,thetunable精品文檔放心下載parameters$ forsourceterms,propagationschemes,andnumericsareread精品文檔放心下載using.$$
namelists.Anynamelistfoundinthefolowingsectionsuptotheend-of-sectionidentifierstring(seebelow)istemporarily謝謝閱讀written$$$$
toww3_grid.scratch,andreadfromthereifnecessary.Namelists精品文檔放心下載notneededforthegivenswitchsettingswillbeskipped精品文檔放心下載automatically,andtheorderofthenamelistsisimmaterial.謝謝閱讀Asanexample,namelistinputtochangeSWELLFandZWNDin精品文檔放心下載the$ TolmanandChalikovinputwouldbe精品文檔放心下載$$ &SIN2SWELLF=0.1,ZWND=15./ (此處均屬于對源函數(shù)的調(diào)謝謝閱讀整,手冊有相關(guān)介紹)$$Defineconstantsinsourceterms-----------------------------------$謝謝閱讀$$Stresses------------------------------精品文檔放心下載$ TC1996withcap :NamelistFLX3謝謝閱讀$ CDMAX :MaximumallowedCD(cap)感謝閱讀$ CTYPE :Captype:$ 0:Discontinuous(default).精品文檔放心下載$ 1:Hyperbolictangent.$ Hwang2011 :NamelistFLX4感謝閱讀.$CDFAC:re-scalingofdrag$$Linearinput----------------------------$CavaleriandM-R:NamelistSLN1$CLIN:Proportionalityconstant.$RFPM:FactorforfPMinfilter.$RFHF:Factorforfhinfilter.$$Exponentialinput-------------------------$WAM-3:NamelistSIN1$CINP:Proportionalityconstant.$$TolmanandChalikov:NamelistSIN2$ZWND:Heightofwind(m).$SWELLF:swellfactorin(n.nn).$STABSH,STABOF,CNEG,CPOS,FNEG:$c0,ST0,c1,c2andf1in.(n.nn)$through(2.65)fordefinitionof$effectivewindspeed(!/STAB2)..$ WAM4andvariants :NamelistSIN3謝謝閱讀$ ZWND :Heightofwind(m).感謝閱讀$ ALPHA0 :minimumvalueof謝謝閱讀Charnockcoefficient$ Z0MAX :maximumvalueofair-side精品文檔放心下載roughnessz0$ BETAMAX:maximumvalueof精品文檔放心下載wind-wavecoupling$ SINTHP :powerofcosineinwind謝謝閱讀input$ ZALP :waveageshifttoaccount感謝閱讀forgustiness$ TAUWSHELTER:shelteringofshortwaves謝謝閱讀toreduceu_star$ SWELLFPAR:choiceofswellattenuation精品文檔放心下載formulation$ (1:TC1996,3:ACC2008)謝謝閱讀$ SWELLF:swellattenuationfactor謝謝閱讀$ ExtraparametersforSWELLFPAR=3only感謝閱讀$ SWELLF2,SWELLF3:swellattenuationfactors謝謝閱讀$ SWELLF4:ThresholdReynoldsnumber精品文檔放心下載forACC2008.$ SWELLF5:Relativeviscousdecay感謝閱讀belowthreshold$Z0RAT:roughnessforoscil.flow/meanflow$BYDRZinput:NamelistSIN6$SINA0:factorfornegativeinput$SINU10:windspeedscalingoption$$Nonlinearinteractions-----------------------$DiscreteI.A.:NamelistSNL1$LAMBDA:Lambdainsourceterm.$NLPROP:Cinsourcterm.NOTE:default$valuedependsonothersource$termsselected.$KDCONV:FactorbeforekdinEq.(n.nn).$KDMIN,SNLCS1,SNLCS2,SNLCS3:$Minimumkd,andconstantsc1-3$indepthscalingfunction..$Exactinteractions:NamelistSNL2$IQTYPE:Typeofdepthtreatment$1:Deepwater$2:Deepwater/WAMscaling$3:Shallowwater$TAILNL:Parametrictailpower.$NDEPTH:Numberofdepthsinforwhich$integrationspaceisestablished.$UsedforIQTYPE=3only$NamelistANL2$DEPTHS:ArraywithdepthsforNDEPTH=3$Gen.MultipleDIA:NamelistSNL3$NQDEF:Numberofquadruplets.$MSC:Scalingconstant'm'.$NSC:Scalingconstant'N'.$KDFD:Deepwaterrelativefilterdepth,$KDFS:Shallowwaterrelativefilter.depth,$ NamelistANL3$ QPARMS:5xNQDEFparamaters謝謝閱讀describingthe$ quadruplets,repeatingLAMBDA,MU,DT12.$ CdeepandCshal.Seeexamplesbelow.$$TraditionalDIAsetup(default):精品文檔放心下載$$&SNL3NQDEF= 1,MSC= 0.00, NSC=-3.50/精品文檔放心下載$&ANL3QPARMS=0.250,0.000, -1.0,0.1000E+08,0.0000E+00/精品文檔放心下載$$GMD3from2010report(G13dinlaterpaper):謝謝閱讀$$&SNL3NQDEF= 3,MSC= 0.00, NSC=-3.50/謝謝閱讀$&ANL3QPARMS=0.126,0.000, -1.0,0.4790E+08,0.0000E+00,精品文檔放心下載$ 0.237,0.000, -1.0,0.2200E+08,0.0000E+00,謝謝閱讀$ 0.319,0.000, -1.0,0.1110E+08,0.0000E+00/感謝閱讀$$G35dfrom2010report:.$$&SNL3NQDEF=5,MSC=0.00,NSC=-3.50/$&ANL3QPARMS=0.066,0.018,21.4,0.170E+09,0.000E+00,$0.127,0.069,19.6,0.127E+09,0.000E+00,$0.228,0.065,2.0,0.443E+08,0.000E+00,$0.295,0.196,40.5,0.210E+08,0.000E+00,$0.369,0.226,11.5,0.118E+08,0.000E+00/$$NonlinearfilterbasedonDIA-------------------$NamelistSNLS$A34:Relativeoffsetinquadruplet$FHFC:Proportionalityconstants.$DMN:Maximumrelativechange.$FC1-3:Constantsinfrequencyfilter.$$Dissipation----------------------------$WAM-3:NamelistSDS1$CDIS,APM:Asinsourceterm.$$TolmanandChalikov:NamelistSDS2$SDSA0,SDSA1,SDSA2,SDSB0,SDSB1,PHIMIN:.$ Constantsa0,a1,a2,b0,b1感謝閱讀and$ PHImin.$$ WAM4andvariants :NamelistSDS3謝謝閱讀$ SDSC1 :WAM4Cdscoeffient感謝閱讀$ MNMEANP,WNMEANPTAIL:powerof謝謝閱讀wavenumber$ formeandefinitionsinSds感謝閱讀andtail$ SDSDELTA1,SDSDELTA2:relative精品文檔放心下載weights$ ofkandk^2partsofWAM4謝謝閱讀dissipation$ SDSLF,SDSHF:coefficientfor精品文檔放心下載activationof$ WAM4dissipationforunsaturated謝謝閱讀(SDSLF)and$ saturated(SDSHF)partsofthe精品文檔放心下載spectrum$ SDSC2 :Saturationdissipation謝謝閱讀coefficient.$ SDSC4 :ValueofB0=B/Brforwich謝謝閱讀Sdsiszero$ SDSBR :ThresholdBrforsaturation謝謝閱讀$ SDSP :powerof(B/Br-B0)inSds謝謝閱讀$ SDSBR2 :ThresholdBr2forthe感謝閱讀separationof$ WAM4dissipationinsaturatedand感謝閱讀non-saturated$ SDSC5:coefficientforturbulence精品文檔放心下載dissipation$ SDSC6:Weightfortheistropicpartof精品文檔放心下載Sds_SAT$ SDSDTH:Angularhalf-widthfor感謝閱讀integrationofB$$ BYDRZ :NamelistSDS6$ SDSET :Selectthreshold感謝閱讀normalizationspectra$ SDSA1,SDSA2,SDSP1,SDSP2 :精品文檔放心下載$ Coefficientsfordissipationterms精品文檔放心下載T1andT2$ :NamelistSWL6.$ SWLB1 :Coefficientforswell謝謝閱讀dissipation$$Bottomfriction --------------------------感謝閱讀$ JONSWAP :NamelistSBT1$ GAMMA :Asitsays.$$$Surfbreaking ---------------------------感謝閱讀$ BattjesandJanssen:NamelistSDB1謝謝閱讀$ BJALFA :Dissipationconstant(default謝謝閱讀=1)$ BJGAM :Breakingthreshold(default謝謝閱讀=0.73)$ BJFLAG :TRUE -UseHmax/dratio謝謝閱讀only(default)$ FALSE-UseHmax/dinMicheformulation$$Triadnonlinearinteractions--------------------謝謝閱讀$ LumpedTriadInteraction(LTA):NamelistSTR1(Tobe感謝閱讀.implemented)$ PTRIAD1:Proportionalitycoefficient精品文檔放心下載(default0.05)$ PTRIAD2:MultipleofTm01upto謝謝閱讀whichinteraction$ iscomputed(2.5)$ PTRIAD3:Ursellupperlimitfor感謝閱讀computing$ interactions(notused,default10.)$ PTRIAD4:Shapeparameterfor精品文檔放心下載biphase$ computation(0.2)$ PTRIAD5:Ursellnumbertresholdfor感謝閱讀computing$ interactions(0.01)$$Shorelinereflections------------------------精品文檔放心下載$ ref.parameters :NamelistREF1謝謝閱讀$ REFCOAST :Reflectioncoefficientat謝謝閱讀shoreline$ REFFREQ :Activationof.freq-dependentref.$REFMAP:Scalefactorforbottomslopemap$REFRMAX:maximumref.coeffient(default0.8)$REFFREQPOW:poweroffrequency$REFICEBERG:Reflectioncoefficientforicebergs$REFSUBGRID:Reflectioncoefficientforislands$REFCOSP_STRAIGHT:powerofcosineusedfor$straightshoreline$$Bound2ndorderspectrumandfreeIG-----------------$IG1parameters:NamelistIG1$IGMETHOD:1:Hasselmann,2:Krasitskii-Janssen$IGADDOUTP:activationofboundwavecorrection$inww3_outp/ww3_ounp$IGSOURCE:1:usesboundwaves,2:.empirical$ IGSTERMS : >0:nosourcetermin感謝閱讀IGband$ IGMAXFREQ:maximumfrequencyof精品文檔放心下載IGband$ IGEMPIRICAL:constantinempirical精品文檔放心下載freeIGsource$ IGSWELLMAX:activatesfreeIGsources謝謝閱讀forallfreq.$$Propagationschemes------------------------------------------------感謝閱讀$$SMCgridpropagation :NamelistPSMC精品文檔放心下載$ CFLTM :MaximumCFLnumberfor精品文檔放心下載propagation.$ DTIME :Swellage(s)fordiffusion精品文檔放心下載term.$ LATMIN:Maximumlatitude(deg)for感謝閱讀GCT.$ RFMAXD:Maximumrefractionturning精品文檔放心下載(deg).$&PSMCDTIME=39600.0,LATMIN=85.0,RFMAXD=36.0 /精品文檔放心下載.$$Propagationschemes------------------------------------------------感謝閱讀$$ Firstorder :NamelistPRO1感謝閱讀$ CFLTM :MaximumCFLnumberfor感謝閱讀refraction.$$ UQ/UNOwithdiffusion:NamelistPRO2謝謝閱讀$ CFLTM :MaximumCFLnumberfor謝謝閱讀refraction.$ DTIME :Swellage(s)ingarden感謝閱讀sprinkler$ correction.If0.,alldiffusion精品文檔放心下載$ switchedoff.Ifsmallnon-zero$ (DEFAULT!!!)onlywavegrowth$ diffusion.$ LATMIN:Maximumlatitudeusedin謝謝閱讀calc.of$ strengthofdiffusionfor精品文檔放心下載prop..$$UQ/UNOwithaveraging:NamelistPRO3$CFLTM:MaximumCFLnumberforrefraction.$WDTHCG:Tuningfactorpropag.direction.$WDTHTH:Tuningfactornormaldirection.$$NotethatUQandUNOschemeshavenotunableparameters.$Alltuneableparametersareassociatedwiththerefraction$limitationandtheGSEalleviation.$$Unstructuredgrids------------------------------------------------$$UNSTparameters:NamelistUNST$UGOBCAUTO:AutomaticdetectionofOBCpoints$UGOBCDEPTH:Threshold(<0)depthforOBCpoints$EXPFSN:ActivationofNscheme$EXPFSPSI:ActivationofPSIscheme$EXPFSFCT:ActivationofFCTscheme.$IMPFSNIMP:ActivationofNimplicitscheme$$SMCgridpropagation:NamelistPSMC$CFLTM:MaximumCFLnumberforpropagation.$DTIME:Swellage(s)fordiffusionterm.$LATMIN:Maximumlatitude(deg)forGCT.$RFMAXD:Maximumrefractionturning(deg).$&PSMCDTIME=39600.0,LATMIN=85.0,RFMAXD=36.0/$$Miscellaneous------------------------------------------------------$$Misc.parameters:NamelistMISC$CICE0:Iceconcentrationcut-off.$CICEN:Iceconcentrationcut-off.$PMOVE:PowerpinGSEaleviationfor$movinggridsinEq.(D.4).$XSEED:Xseedinseedingalg..(!/SEED).$FLAGTR:Indicatingpresenceandtypeof$subgridinformation:$0:Nosubgridinformation.$1:Transparanciesatcellboun-$dariesbetweengridpoints.$2:Transp.atcellcenters.$3:Like1withcont.ice.$4:Like2withcont.ice.$XP,XR,XFILT$Xp,XrandXfforthedynamic$integrationscheme.$IHMAX:Numberofdiscretelevelsinpart.$HSPMIN:MinimumHsinpartitioning.$WSM:Windspeedmultiplierinpart.$WSC:Cutofwindseafractionfor$identifyingwindseainpart..$FLC:Flagforcombiningwindseasin$partitioning.$NOSW:Numberofpartitionedswellfields$infieldoutput.$FMICHE:ConstantinMichelimiter.$P2SF:......$$Inthe'Outofthebox'testsetupwerunwithsub-gridobstacles$andwithcontinuousicetreatment.$精品文檔放心下載&MISCCICE0=0.25,CICEN=0.75,FLAGTR=4/ (4改為0)精品文檔放心下載&FLX3CDMAX=3.5E-3,CTYPE=0/感謝閱讀$&SDB1BJGAM=1.26,BJFLAG=.FALSE./精品文檔放心下載$$Mandatorystringtoidentifyendofnamelistinputsection.謝謝閱讀$ENDOFNAMELISTS$$Definegrid--------------------------------------------------------$感謝閱讀$.$Fiverecordscontaining:謝謝閱讀$$1Typeofgrid,coordinatesystemandtypeofclosure:GSTRG,FLAGLL,$CSTRG.Gridclosurecanonlybeappliedinsphericalcoordinates.$GSTRG:Stringindicatingtypeofgrid:$'RECT':rectilinear$'CURV':curvilinear$FLAGLL:Flagtoindicatecoordinatesystem:$T:Spherical(lon/latindegrees)$F:Cartesian(meters)$CSTRG:Stringindicatingthetypeofgridindexspaceclosure:$'NONE':Noclosureisapplied$'SMPL':Simplegridclosure:Gridisperiodicinthe$:i-indexandwrapsati=NX+1.Inotherwords,$:(NX+1,J)=>(1,J).Agridwithsimpleclosure$:mayberectilinearorcurvilinear..$'TRPL':Tripolegridclosure:Gridisperiodicinthe$:i-indexandwrapsati=NX+1andhasclosureat$:j=NY+1.Inotherwords,(NX+1,J<=NY)=>(1,J)$:and(I,NY+1)=>(MOD(NX-I+1,NX)+1,NY).Tripole$:gridclosurerequiresthatNXbeeven.Agrid$:withtripoleclosuremustbecurvilinear.$2NX,NY.Astheoutergridlinesarealwaysdefinedasland$points,theminimumsizeis3x3.$$Branchherebasedongridtype$$IF(RECTILINEARGRID)THEN$$3GridincrementsSX,SY(degr.orm)andscaling(division)factor.$IfCSTRG='SMPL',thenSXissetto360/NX.$4Coordinatesof(1,1)(degr.)andscaling(division)factor.$$ELSEIF(CURVILINEARGRID)THEN.$$3Unitnumberoffilewithx-coordinate.$Scalefactorandaddoffset:x<=scale_fac*x_read+add_offset.$IDLA,IDFM,formatforformattedread,FROMandfilename.$IDLA:Layoutindicator:$1:Readline-by-linebottomtotop.$2:Like1,singlereadstatement.$3:Readline-by-linetoptobottom.$4:Like3,singlereadstatement.$IDFM:formatindicator:$1:Freeformat.$2:Fixedformatwithaboveformatdescriptor.$3:Unformatted.$FROM:filetypeparameter$'UNIT':openfilebyunitnumberonly.$'NAME':openfilebynameandassigntounit.$$Iftheaboveunitnumberequals10,thenthex-coordisreadfromthis$file.Thex-coordmustfollowtheaboverecord.Nocommentlinesarefromthis$.$allowedwithinthex-coordinput.$$4Unitnumberoffilewithy-coordinate.$Scalefactorandaddoffset:y<=scale_fac*y_read+add_offset.$IDLA,IDFM,formatforformattedread,FROMandfilename.$IDLA:Layoutindicator:$1:Readline-by-linebottomtotop.$2:Like1,singlereadstatement.$3:Readline-by-linetoptobottom.$4:Like3,singlereadstatement.$IDFM:formatindicator:$1:Freeformat.$2:Fixedformatwithaboveformatdescriptor.$3:Unformatted.$FROM:filetypeparameter$'UNIT':openfilebyunitnumberonly.$'NAME':openfilebynameandassigntounit.$$Iftheaboveunitnumberequals10,thenthey-coordisreadfile. They-coordmustfollowtheaboverecord. No精品文檔放心下載.commentlinesare$ allowedwithinthey-coordinput.謝謝閱讀$$ELSEIF(UNSTRUCTUREDGRID)THEN精品文檔放心下載$Nothingtodeclare:allthedatawillbereadfromtheGMESHfile$ENDIF(CURVILINEARGRID)$$5Limitingbottomdepth(m)todiscriminatebetweenlandandsea$points,minimumwaterdepth(m)asallowedinmodel,unitnumber$offilewithbottomdepths,scalefactorforbottomdepths(mult.),$IDLA,IDFM,formatforformattedread,FROMandfilename.$IDLA:Layoutindicator:$1:Readline-by-linebottomtotop.$2:Like1,singlereadstatement.$3:Readline-by-linetoptobottom.$4:Like3,singlereadstatement.$IDFM:formatindicator:$1:Freeformat.$2:Fixedformatwithaboveformatdescriptor..$ 3 :Unformatted.$ FROM:filetypeparameter感謝閱讀$ 'UNIT':openfilebyunitnumberonly.感謝閱讀$ 'NAME':openfilebynameandassigntounit.感謝閱讀$$ Iftheaboveunitnumberequals10,thenthebottomdepths精品文檔放心下載arereadfrom$ thisfile. Thedepthsmustfollowtheaboverecord. No精品文檔放心下載commentlinesare$ allowedwithinthedepthinput.Inthecaseofunstructured精品文檔放心下載grids,thefile$ isexpectedtobeaGMESHgridfilecontainingnodeand謝謝閱讀elementlists.$$------------------------------------------------------------------------謝謝閱讀$Exampleforrectilineargridwithspherical(lon/lat)coordinate精品文檔放心下載system.$NotethatforCartesiancoordinatestheunitismeters(NOTkm).精品文檔放心下載$'RECT'T'NONE'(此處關(guān)于地形的設(shè)置)1212(網(wǎng)格大?。航?jīng)度格點(diǎn)數(shù)緯度格點(diǎn)數(shù))1.1.4.(就是一度的方格里有多少格).-1.-1.4.(起始經(jīng)度起始緯度步長(一般為1))-0.12.5010(為通道號,最好使用其他數(shù))-10.(地形數(shù)值乘以該數(shù)等于真實(shí)值)3(代表地形文件從上往下讀,1代表從下往上讀,根據(jù)地形謝謝閱讀文件務(wù)必保證數(shù)據(jù)讀取是從北緯到南緯)1'(....)''NAME''bottom.inp'(將‘bottom.inp’改為自己的地形文件名)$(下面加上$)666666666666666542024566666542024566666542024566666542004566666544224566666655445666666666556666666666666666666666666666666666666666666666666666$$------------------------------------------------------------------------感謝閱讀$Exampleforcurvilineargridwithspherical(lon/lat)coordinatesystem.感謝閱讀.$Samespatialgridasprecedingrectilinearexample.謝謝閱讀$NotethatforCartesiancoordinatestheunitismeters(NOTkm).感謝閱讀$$'CURV'T'NONE'$1212$$100.25-0.531'(....)''NAME''x.inp'$$123456789101112$123456789101112$123456789101112$123456789101112$123456789101112$123456789101112$123456789101112$123456789101112$123456789101112$123456789101112$123456789101112$123456789101112$$100.250.531'(....)''NAME''y.inp'.$$111111111111$222222222222$333333333333$444444444444$555555555555$666666666666$777777777777$888888888888$999999999999$101010101010101010101010$111111111111111111111111$121212121212121212121212$$-0.12.5010-10.31'(....)''NAME''bottom.inp'$$666666666666$666542024566$666542024566$666542024566$666542004566$666544224566.$666655445666$666666556666$666666666666$666666666666$666666666666$666666666666$$-------------------------------------------------------------$SMCgridusethesamesphericallat-longridparameters$'RECT'T'NONE'$1024704$plus3extraparameter:$NumberofrefinedlevelNRLv,j-countshift,andboundarycellnumber.$Seeaux/SMC_Grid_Guide.pdfforexplainationofj-countshift.謝謝閱讀$Zeroboundarycellnumberwillmakethemodeltoskipall感謝閱讀boundaryupdatelines.$Non-zeroboundarycellnumberwillrequireanextraboundarycell謝謝閱讀listinputfile.$313440$SMCgridbaselevelresolutiondlondlatandstartlonlat$0.351562500.234375001..$0.17578125-78.6328125 1.謝謝閱讀$Andtheusualdepth,subgrid-obstruction,andmaskasinspherical精品文檔放心下載lat-longrid$plusSMCcellandfacearrays:謝謝閱讀$-0.110.030-1.11'(....)''NAME''SMC25Depth.dat'$311.011'(...)''NAME''SMC25Subtr.dat'$3211'(....)''S6125MCels.dat'$3311'(....)''S6125ISide.dat'$3411'(....)''S6125JSide.dat'$$3511'(....)''S6125Bundy.dat'$3611'(....)''NAME''SMC25Masks.dat'$Boundarycellidlistfile(unit35)isonlyrequiredifboundary$cellnumberenteredaboveisnon-zero.Thecellidnumbershouldbe$thesequentialnumberinthecellarray(unit32)S625MCels.dat.$$Ifsub-gridinformationisavailableasindicatedbyFLAGTRabove,$additionalinputtodefinethisisneededbelow.Insuchcasesa$fieldoffractionalobstructionsatorbetweengridpointsneedsto謝謝閱讀$besupplied. Firstthelocationandformatofthedataisdefined謝謝閱讀$by(asabove):$ -Unitnumberoffile(canbe10,and/oridenticaltobottemdepth謝謝閱讀.$ unit),scalefactorforfractionalobstruction,IDLA,IDFM,謝謝閱讀$ formatforformattedread,FROMandfilename感謝閱讀$100.2 31'(....)''NAME''obstr.inp'(加上$)謝謝閱讀$$***NOTEifthisunitnumberisthesameasthepreviousbottom感謝閱讀$ depthunitnumber,itisassumedthatthisisthesamefile精品文檔放心下載$ withoutfurtherchecks.***$$Iftheaboveunitnumberequals10,thebottomdataisreadfrom$thisfileandfollowsbelow(nointermediatecommentlines感謝閱讀allowed,$exceptbetweenthetwofields).謝謝閱讀$(下面加上$)000000000000000000000000000000000000000000000000000000000000000000500000000000500000.000000400000000000400000000000500000000000500000000000000000$(下面加上$)000000000000000000000000000000000000000000000000000000005550000000000000000000000000000000000000000000000000000000000000000000000000000000000000$$***NOTEsizeoffieldsisalwaysNX*NY謝謝閱讀***$.$Inputboundarypointsandexcludedpoints感謝閱讀--------------------------$精品文檔放心下載$ Thefirstlineidentifieswheretogetthemapdata,byunit感謝閱讀number$ IDLAandIDFM,formatforformattedread,FROMandfilename精品文檔放心下載$ ifFROM='PART',thensegmenteddataisreadfrombelow,else精品文檔放心下載$ thedataisreadfromfileaswiththeotherinputs(asINTEGER)謝謝閱讀$1031'(....)''PART''mapsta.inp'精品文檔放心下載$$Readthestatusmapfromfile(FROM!=PART)---------------------精品文檔放心下載$$$333333333333$321111011113$321111011113$321111011113$321111001113$321111111113$321111111113$321111111113$321111111113.$321111111113$321111111113$333333333333$$Thelegendfortheinputmapis:謝謝閱讀$$0:Landpoint.$1:Regularseapoint.$2:Activeboundarypoint.$3:Pointexcludedfromgrid.$$Inputboundarypointsfromsegmentdata(FROM=PART)------------$$Anunlimitednumberoflinesidentifyingpointsatwhichinput$boundaryconditionsaretobedefined.Iftheactualinputdatais$notdefinedintheactualwavemodelrun,theinitialconditions$willbeappliedasconstantboundaryconditions.Eachlinecontains:$Discretegridcounters(IX,IY)oftheactivepointanda$connectflag.Ifthisflagistrue,andthepresentandprevious$pointareonagridlineordiagonal,allintermediatepoints$arealsodefinedasboundarypoints..$(下面加上$)2 2 F2 11 T$$ Closelistbydefiningpoint(0,0)(mandatory)謝謝閱讀$0 0 F$$Excludedgridpointsfromsegmentdata(FROM!=PART)感謝閱讀$ Firstdefinedaslines,identicaltothedefinitionoftheinput謝謝閱讀$ boundarypoints,andclosedthesameway.謝謝閱讀$0 0 F$$ Second,defineapointinaclosedbodyofseapointstoremove感謝閱讀$ theentirebodyofseapoints.Alsoclosebypoint(0,0)精品文檔放心下載$0 0$$Outputboundarypoints---------------------------------------------感謝閱讀$$Outputboundarypointsaredefinedasanumberofstraightlines,感謝閱讀.$definedbyitsstartingpoint(X0,Y0),increments(DX,DY)andnumber謝謝閱讀$ofpoints.Anegativenumberofpointsstartsanewoutputfile.感謝閱讀$Notethatthisdataisonlygeneratedifrequestedbytheactual謝謝閱讀$program.Exampleagainforsphericalgridindegrees.Note,these感謝閱讀do$notneedtobedefinedfordatatransferbetweengridsintemulti$griddriver.精品文檔放心下載$(下面加上$)1.751.500.25-0.1032.251.50-0.100.00-00.00-10$$ Closelistbydefininglinewith0points(mandatory)精品文檔放心下載$.0$$--------------------------------------------------------------------$$Endofinputfile$$--------------------------------------------------------------------$.2.ww3_strt.inp$--------------------------------------------------------------------$感謝閱讀$WAVEWATCHIIIInitialconditionsinputfile $謝謝閱讀$---------------------------------------------------------------------$精品文檔放心下載$typeofinitialfieldITYPE.精品文檔放心下載$1 (此處改為3)$$ITYPE=1----------------------------------------------------------$謝謝閱讀$Gaussianinfrequencyandspace,costypeindirection.精品文檔放心下載$-fpandspread(Hz),meandirection(degr.,oceanographic謝謝閱讀$ convention)andcosinepower,Xmandspread(degr.orm)Ym精品文檔放心下載and$ spread(degr.orm),Hmax(m)(Exampleforlon-latgridin精品文檔放心下載degr.).$$ 0.10 0.01 270.2 1.0.51.0.52.5精品文檔放心下載0.10 0.01 270.2 0.1000.1.1000.2.5感謝閱讀$ 0.10 0.01 270.2 0.1000.1.1000.0.01精品文檔放心下載.$0.100.01270.20.1000.1.1000.0.$$ITYPE=2----------------------------------------------------------$$JONSWAPspectrumwithHasselmannetal.(1980)direct.
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五版建筑工程質(zhì)量驗(yàn)收質(zhì)檢員聘用協(xié)議3篇
- 2025年度路演場地租賃及活動場地租賃期限管理協(xié)議4篇
- 2025版事故車事故現(xiàn)場勘查與報告編制合同3篇
- 2025年度個人二手車置換合同范本4篇
- 2025年度餐廳總經(jīng)理年度綜合服務(wù)合同3篇
- 基于云計算2025年度智能辦公系統(tǒng)設(shè)計與實(shí)施合同3篇
- 2025年度特色小吃車轉(zhuǎn)讓合同范本二零二五年度3篇
- 2025年度個人借款第三方擔(dān)保協(xié)議書(互聯(lián)網(wǎng)金融版)3篇
- 2025版環(huán)保產(chǎn)業(yè)項(xiàng)目投資合作協(xié)議范本4篇
- 2025年醫(yī)院與保險公司醫(yī)療責(zé)任險合作協(xié)議4篇
- 農(nóng)民工工資表格
- 【寒假預(yù)習(xí)】專題04 閱讀理解 20篇 集訓(xùn)-2025年人教版(PEP)六年級英語下冊寒假提前學(xué)(含答案)
- 2024年智能監(jiān)獄安防監(jiān)控工程合同3篇
- 幼兒園籃球課培訓(xùn)
- 統(tǒng)編版(2024新版)七年級《道德與法治》上冊第一單元《少年有夢》單元測試卷(含答案)
- 100道20以內(nèi)的口算題共20份
- 高三完形填空專項(xiàng)訓(xùn)練單選(部分答案)
- 護(hù)理查房高鉀血癥
- 項(xiàng)目監(jiān)理策劃方案匯報
- 《職業(yè)培訓(xùn)師的培訓(xùn)》課件
- 建筑企業(yè)新年開工儀式方案
評論
0/150
提交評論