演示文稿周期性邊界條件_第1頁
演示文稿周期性邊界條件_第2頁
演示文稿周期性邊界條件_第3頁
演示文稿周期性邊界條件_第4頁
演示文稿周期性邊界條件_第5頁
已閱讀5頁,還剩21頁未讀 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

優(yōu)質(zhì)文檔精選周期性邊界條件目前一頁\總數(shù)二十六頁\編于十六點AnalysisofthePotentialEnergyExternalpotentialPairpotentialabout90%ThreebodycontributionInFCCcrystal,upto10%Effectivepairpotential目前二頁\總數(shù)二十六頁\編于十六點1.7.1EffectivepairpotentialforsphericalmoleculesHard-spherepotentialForthepurposesofinvestigatinggeneralpropertiesofliquidsandforcomparisonwiththeory,highlyidealizedpairpotentialsmaybeofvalue.Inthissection,Iwillintroducehard-sphere,square-well,YukawaandLennard-Jonespotentials,etc.isthediameterofhardspheres目前三頁\總數(shù)二十六頁\編于十六點Square-WellpotentialSWpotentialisthesimplestoneincludingtheattractiveforcesandcanbeappliedtoinertgasesandsomenon-polarsubstances,etc.目前四頁\總數(shù)二十六頁\編于十六點YukawapotentialWhen,itcanbeusedtomodelArreasonablywell.Yukwapotentialcanalsobeusedtomodelplasma,colloidalparticles,andsomeelectricalinteractions.目前五頁\總數(shù)二十六頁\編于十六點Lennard-JonespotentialForargon:目前六頁\總數(shù)二十六頁\編于十六點CodesforcalculatingthetotalpotentialV=0.0DO100I=1,N-1RXI=RX(I)RYI=RY(I)RZI=RZ(I) DO100J=I+1,N RXIJ=RXI-RX(J) RYIJ=RYI-RY(J) RZIJ=RZI-RZ(J) RIJSQ=RXIJ**2+RYIJ**2+RZIJ**2 SR2=SIGSQ/RIJSQ SR6=SR2*SR2*SR2 SR12=SR6**2 V=V+SR12-SR6100CONTINUEV=V*4.0*EPSLONThecoordinatevectorsofLJatomsarestoredinthreearraysRX(I),RY(I),RZ(I)Calculate目前七頁\總數(shù)二十六頁\編于十六點PotentialsforionsAsimpleapproachtoconstructpotentialsforionsistosupplementoneoftheabovepairpotentialswiththeCoulombcharge-chargeinteraction:WhereXmaybeHS,SW,LJ.Thepopularoneis:目前八頁\總數(shù)二十六頁\編于十六點1.7.2potentialformacromoleculesTheenergy,V,isafunctionoftheatomicpositions,R,ofalltheatomsinthesystem,theseareusuallyexpressedintermofCartesiancoordinates.Thevalueoftheenergyiscalculatedasasumofinternal,orbondedterms,whichdescribethebonds,anglesandbondrotationsinamolecule,andasumofexternalornonbondedterms.Thesetermsaccountforinteractionsbetweennonbondedatomsoratomsseparatedby3ormorecovalentbonds.目前九頁\總數(shù)二十六頁\編于十六點BondedpotentialBondangle-bendBond-strentchTorsion(rotate-along-bond)目前十頁\總數(shù)二十六頁\編于十六點Angle-bendpotentialThedeviationofanglesfromtheirreferencevaluesisfrequentlydescribedusingaHooke’slaworharmonicpotential:目前十一頁\總數(shù)二十六頁\編于十六點Bond-stretchpotential目前十二頁\總數(shù)二十六頁\編于十六點TorsionpotentialTorsionalpotentialsarealmostalwaysexpressedasacosineseriesexpansion.‘barrier’heightDetermineswherethetorsionanglepassesthroughitsminimumvalue.Thenumberofminimumpointsinthefunctionasthebondisrotatedthrough2.目前十三頁\總數(shù)二十六頁\編于十六點1.8ReducedUnitsWhyusereducedunit?Avoidsthepossibleembarrassmentofconductingessentiallyduplicatesimulations.Andtherearealsotechnicaladvantagesintheuseofreducedunitsduetothesimulationboxisinthemagnitudeofmolecularscale.Density

Temperature

Energy

Pressure

Force

Torque

SurfacetensionTime目前十四頁\總數(shù)二十六頁\編于十六點Reducedunit----continueDiffusioncoefficient

ViscosityThermalconductivitySIUnits:W/(mK)Pasm2/sTestofunit(Forexample,viscosity):目前十五頁\總數(shù)二十六頁\編于十六點Reducedunit----continueItshouldbepointedthatallthereducedunitsintheprevioustwoslidesarebasedonLennard-Jonesinteractionpotential.Forhardspherefluid,thereducedunitsareobtainedusingkBTtoreplace.Thereducedunitsforotherpropertiessuchaschemicalpotentialandheatcapacitycanbededucedfromtheunitsgiveninthissection.Especially,forelectrolytesolution,wecanuseSurfacechargedensity:目前十六頁\總數(shù)二十六頁\編于十六點1.9SimulationBoxandItsBoundaryConditionsComputersimulationsareusuallyperformedonasmallnumberofmolecules,10<N<10,000.ThetimetakenforadoubleloopusedtoevaluatetheforcesandpotentialenergyisproportionaltoN2.Whetherornotthecubeissurroundedbyacontainingwall,moleculesonthesurfacewillexperiencequitedifferentforcesfrommoleculesinthebulk.Itisessentialtoproposepropermethodstoovercometheproblemofsurfaceeffects.目前十七頁\總數(shù)二十六頁\編于十六點1.9.1SimulationboxxyzCubeHexagonalprismxyzExample:DNAsimulation目前十八頁\總數(shù)二十六頁\編于十六點1.9.1Simulationbox---continueTruncatedoctahedronRhombicdodecahedron目前十九頁\總數(shù)二十六頁\編于十六點1.9.2PeriodicboundaryconditionBAHDGFEC目前二十頁\總數(shù)二十六頁\編于十六點BAHDGFECInacubicbox,thecutoffdistanceissetequaltoL/2.

Minimumimageconvention目前二十一頁\總數(shù)二十六頁\編于十六點AEAsideviewofthebox(b)AtopviewoftheboxBDCAEHFGSimulationofmoleculesinslit-likepore目前二十二頁\總數(shù)二十六頁\編于十六點1.9.3ComputercodeforperiodicboundariesHowdowehandleperiodicboundariesandtheminimumimageconventioninasimulationprogram?Letusassume,initially,theNmoleculesinthesimulationliewithacubicboxofsideBOXL,withtheoriginatitscenter,i.e.,allcoordinatelieintherange(-BOXL/2,BOXL/2).Afterthemoleculeshavebeenmoved,wemusttestthepositionimmediatelyusingaFORTRANIF

statement.IF(RX(I).GT.BOXL2)RX(I)=RX(I)-BOXLIF(RX(I).LT.-BOXL2)RX(I)=RX(I)+BOXL目前二十三頁\總數(shù)二十六頁\編于十六點AnalternativecodeforperiodicboundariesAnalternativetotheIFstatementistouseFORTRANarithmetic

functions:RX(I)=RX(I)-BOXL*ANINT(RX(I)/BOXL)ThefunctionANINT(X)returnsthenearestintegertoX,convertingtheresultsbacktotypeREAL.Forexample,ANINT(-0.49)=0;ANINT(-0.55)=-1

ThefunctionANINT(X)isdifferentfromAINT(X).AINT(X)returnstheintegralpartofX.TheuseofIFstatementinsidetheinnerloop,particularlyonpipelinemachines,istobeavoided.目前二十四頁\總數(shù)二十六頁\編于十六點1.9.4ComputercodeforminimumimageconventionImmediatelyaftercalculating

溫馨提示

  • 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)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論