CD-EXCALIBUR-FMS0021-1.01-M1.2.1_YearOneSummaryReport ===================================================== .. meta:: :description: technical note :keywords: ExCALIBUR,Equations,for,ExCALIBUR/NEPTUNE,Proxyapps,Version,1.1,Abstract,The,report,describes,equations,for,ExCALIBUR,project,NEPTUNE,Proxyapps.,The,numbering,of,the,systems,follows,that,of,the,NEPTUNE,Science,Plan,,so,that,those,listed,under,FM-WP2,are,denoted,2-1,,2-2,,etc.,,and,under,FM-WP3,as,3-1,,3-2,,etc.,It,is,a,living,document,to,which,further,equation,systems,will,be,added,throughout,the,course,of,the,project.,UKAEA,REFERENCE,AND,APPROVAL,SHEET,Client,Reference:,UKAEA,Reference:,CD/EXCALIBUR-FMS/021,Issue:,Date:,1.01,6,May,2021,Project,Name:,ExCALIBUR,Fusion,Modelling,System,Name,and,Department,Signature,Date,Prepared,By:,Wayne,Arter,6,May,2021,BD,Reviewed,By:,Rob,Akers,6,May,2021,Advanced,Dept.,Manager,Computing,Approved,By:,Rob,Akers,6,May,2021,Advanced,Dept.,Manager,Computing,2,1,Introduction,Rather,than,attempting,to,develop,a,fully,3-D,Exascale,targeted,plasma,edge,(or,boundary),code,from,day,one,,project,NEPTUNE,will,first,focus,upon,the,development,of,“proxyapps”,[1],,devel-,oped,by,partners,across,the,project,through,a,series,of,Grant,calls.,These,must,be,designed,and,encoded,to,pave,the,way,to,the,fully,3-D,,actionable,and,performant,NEPTUNE,code,(or,codes),outlined,in,the,Science,Plan.,As,such,,all,NEPTUNE,proxyapps,must,capture,the,functionality,and,performance/scalability,characteristics,of,the,eventual,infrastructure,as,much,as,possible.,In,addi-,tion,,all,of,the,solutions,across,the,NEPTUNE,programme,must,eventually,be,synergistic,,leading,to,an,integrated,solution,for,the,eventual,code(s),–,this,will,require,close,cooperation,through,co-,design,across,all,partner,organisations.,The,baseline,proxyapps,for,the,initial,years,of,the,project,are,described,briefly,in,the,Science,Plan,[2],,and,expanded,upon,below,to,give,the,“baseline,plan”,model,equations,,geometry,and,boundary,conditions.,Note,,the,baseline,plan,does,not,preclude,additional,functionality,that,any,bidder,may,deem,useful,(or,even,essential),to,the,project.,Bidders,are,encouraged,in,their,response,to,calls,to,be,creative,and,ambitious,and,to,describe,their,own,ideas,and,plans,for,delivering,above,and,beyond,core,scope,,provided,the,aim,is,to,increase,im-,pact,,quality,,reduce,risk,and/or,accelerate,delivery,(and,that,deliverables,are,fully,aligned,with,the,goals,of,the,NEPTUNE,Science,Plan,[2]).,At,baseline,,proxyapps,target,x86,(and,ideally,IBM,POWER,and,ARM,CPU),architectures,(multi-,core,and,multiple,node),for,scalability,to,first,generation,Exascale,hardware.,Proxyapps,might,also,target,other,Exascale,candidate,architectures,(eg.,GPGPU),and/or,demonstrate,a,capability,to,explore,the,use,of,novel,hardware,as,it,becomes,available,to,the,ExCALIBUR,project,as,part,of,the,novel,test-bed,programme.,In,order,to,execute,efficiently,on,parallel,architectures,,proxyapps,are,expected,to,examine,use,of,MPI,,OpenMP,or,some,other,software,technology,(ideally,with,a,focus,upon,performance,portability).,Supporting,information,regarding,Braginskii’s,transport,coefficients,for,plasma,in,a,strong,mag-,netic,field,appears,in,Section,2.,A,description,of,sources,of,atomic,and,molecular,radiation,is,given,as,an,annex,in,Section,A.,1.1,Overall,Plan,In,the,Science,Plan,[2],the,description,of,work,extending,beyond,Y3,(early,2022),is,deliberately,vague,on,the,subject,of,“gyrokinetics”,,as,no,widely,accepted,model,for,the,tokamak,edge,appears,to,be,available,as,of,early,Y2,,and,even,should,one,appear,,it,might,not,be,suitable,for,use,in,Y3,in,NEPTUNE.,As,listed,,the,proxyapps,correspond,to,Plan,A,,which,assumes,that,no,suitable,gyroaveraged,model,will,emerge,in,time,,hence,kinetic,implies,Particle-in-Cell,(PIC).,PIC,approaches,,where,charge,conservation,is,vital,to,control,errors,,can,anyway,usefully,be,pursued,for,modelling,low,collisionality,plasma,species,,and,should,simplify,nicely,to,treat,neutral,species,with,long,mean-,free-paths,in,tokamak,edge,problems,where,mass,conservation,has,been,discovered,to,be,critical.,Moreover,in,the,context,of,classical,fluid,dynamics,,the,transition,from,fluid,to,particles,,or,short,to,long,mean-free-path,,has,been,well-studied,because,of,the,application,to,the,space,vehicle,re-entry,problem,and,related,hypersonic,situations.,Thus,the,hybrid,fluid/PIC,approach,might,be,3,regarded,as,a,relatively,low-risk,route,to,achieving,a,robust,numerical,algorithm.,Evidently,full-orbit,PIC,has,the,potential,to,be,extremely,inefficient,relative,to,gyroaveraged,kinetic,theory,because,of,the,need,to,follow,gyro-orbits,in,detail.,Hence,if,this,can,be,avoided,,either,through,gyroaveraging,or,clever,numerics,or,indeed,a,combination,of,both,,then,Plan,B,will,see,kinetic,imply,gyroaveraged,kinetic,theory,for,modelling,plasma,species,in,the,proxyapps.,Regarding,implementation,at,the,Exascale,there,is,also,a,conservative,Plan,A,approach,which,sees,the,use,of,relatively,simple,data,structures,such,as,scalar,and,vector,arrays,to,transfer,data,,and,consequent,use,of,existing,code-coupling,technologies.,Plan,B,is,an,aggressive,approach,to,implementation,which,sees,custom,data,structures,allowing,for,all,physical,data,(particle,arrays,and,fluid,field,vectors),colocated,near,a,point,to,be,held,close,in,memory,,permitting,very,tight,custom,code-coupling.,As,with,the,kinetic,options,,this,Plan,B,promises,significantly,faster,solu-,tions,than,the,corresponding,Plan,A,,but,its,adoption,depends,on,the,outcome,of,research,work,to,de-risk.,1.2,Proxyapps,Summary,The,overall,thinking,behind,the,proxyapps,is,to,explore,potential,‘roadblocks’,to,the,Exascale,as,early,and,in,as,simple,a,context,as,is,possible,,beginning,with,algorithmic,roadblocks.,NEPTUNE,is,directed,towards,producing,‘actionable’,code,as,the,basis,for,large,procurements,,whereas,more,physics-focussed,software,projects,conducted,by,the,worldwide,nuclear,fusion,have,already,advanced,to,greater,complexity,,minimising,the,risk,that,unexpected,problems,will,appear,in,the,full,model.,The,numbering,of,proxyapps,below,corresponds,to,the,Science,Plan.,2-1,2-D,model,of,anisotropic,heat,transport.,It,is,important,to,determine,early,the,degree,of,anisotropy,that,high-order,elements,can,treat,without,special,coding.,If,this,is,unsatisfactorily,small,,then,there,are,implications,for,geometry,input,as,well,as,algorithmic,developments,that,are,best,addressed,as,early,as,possible.,2-2,2-D,elliptic,solver,in,complex,geometry.,One,of,the,indicated,elliptic,solvers,is,Grad-Shafranov,to,produce,high,order,(‘spectrally’),accurate,magnetic,fields,for,use,in,many,other,proxyapps.,Since,Sovinec,[3],has,already,produced,a,spectral,element,Grad-Shafranov,code,,the,corre-,sponding,NEPTUNE,development,should,mainly,serve,to,identify,practical,issues,concern-,ing,implementing,high,order,fe,models.,The,second,solver,additionally,presents,a,chance,to,explore,comparatively,novel,meshing,techniques,developed,under,Activity,A2.1,,and,later,the,preconditioning,techniques,of,A2.7.,2-3,1-D,fluid,solver,with,simplified,physics,but,with,UQ,and,realistic,boundary,conditions.,This,will,determine,the,capability,of,spectral/hp,element,to,handle,sonic,outflow,boundary,condi-,tions,needed,to,represent,sheaths,,together,with,large,source,terms,,as,well,as,identifying,practical,issues,concerning,intrusive,UQ.,This,software,is,already,potentially,useful,in,its,own,right,for,example,in,modelling,MAST-U,divertor,,and,other,workers,might,be,drawn,in,to,add,additional,physical,effects,to,this,end.,4,2-4,Spatially,1-D,plasma,model,incorporating,velocity,space,effects.,From,the,numerical,analytic,point-of-view,,this,is,a,key,demonstration,of,spectral/hp,element,capability,to,handle,particle,interactions.,However,,again,this,could,be,a,basis,for,divertor,modelling,,to,explore,sheath,effects,depending,on,fieldline,incidence,on,surface,,and,with,minor,modification,the,spread,of,particle,energy,around,tile,edges,and,corners,as,performed,by,Gunn,et,al,[4,,5],for,ITER,application.,2-5,Spatially,1-D,multispecies,plasma,model.,Multispecies,throws,up,a,surprising,number,of,issues,concerning,data,definitions,(eg.,changes,to,the,Coulomb,logarithm),,structures,to,deal,with,different,number,of,species,,and,perhaps,most,significantly,,complicated,inter-species,interaction,terms,both,within,and,at,the,domain,boundaries.,This,is,also,an,opportunity,to,mix,fluid,and,kinetic,representations,of,different,species,within,the,volume.,2-6,Spatially,2-D,plasma,model,incorporating,velocity,space,effects.,With,the,1-D,multispecies,fluid,work’s,having,made,the,generalisation,to,2-D,straightforward,,the,challenge,here,is,to,start,writing,a,complex,proxyapp,in,production,mode,,incorporating,the,research,put,into,design,,documentation,,code,generation,and,benchmarking.,There,is,an,opportunity,to,study,species,with,both,fluid,and,kinetic,representations,depending,on,location,relative,to,the,wall.,Again,this,is,potentially,a,useful,tool,in,its,own,right,,capable,of,revealing,deficiencies,in,previous,2-D,modelling,work.,2-7,Interaction,between,models,of,different,dimensionality.,This,should,verify,that,the,design,has,the,right,data,structures,to,handle,additional,further,complexity,beyond,intrusive,and,ensemble-based,UQ,and,model,order,reduction.,The,hopefully,burgeoning,NEPTUNE,com-,munity,could,develop,this,into,a,design,tool,with,a,capability,both,to,explore,a,large,area,of,tokamak,edge,parameter,space,quickly,in,0-D,or,1-D,and,also,to,focus,on,relatively,small,but,critical,2-D,features,,such,as,tile,edges.,2-8,Spatially,3-D,plasma,kinetic,models.,These,will,represent,the,full,fluid,model,produced,by,the,5-year,NEPTUNE,project,,incorporating,features,of,2-D,fluid,and,kinetic,work,in,a,3-D,code.,3-1,2-D,particle-based,model,of,neutral,gas,&,impurities,with,critical,physics.,This,will,be,a,2d3v,code,(ie.,spatially,2-D,distribution,of,particles,with,3,velocity,components),designed,from,the,outset,to,interact,with,a,high-order,finite-element,fluid,model,of,plasma.,It,gives,an,opportunity,to,check,out,ideas,on,optimal,usage,of,particles.,3-2,2-D,moment-based,model,of,neutral,gas,&,impurities.,Constructing,a,2-D,fluid,code,of,neutral,gas,from,the,Nektar++,software,should,be,a,valuable,educational,exercise,,whilst,providing,scope,for,cross-validating,the,2-D,particle,model.,3-3,Interaction,with,2-D,plasma,model,when,available.,Building,on,the,1-D,multispecies,fluid,work,,the,challenge,here,is,to,incorporate,in,the,fluid,code,of,Proxyapp,PA2-6,,particle,effects,from,PA3-1,,which,will,in,the,higher,dimensional,space,be,more,subject,to,lack,of,numerical,resolution,or,‘noise’.,Should,PA3-3,be,accelerated,,it,could,usefully,treat,both,plasma,and,neutrals,via,particle,models.,3-4,3-D,model,of,neutral,gas,&,impurities.,This,is,now,at,full,dimensional,complexity,,incorporat-,ing,selected,ideas,on,optimal,usage,of,particles.,5,3-5,Interaction,with,3-D,plasma,model.,This,will,represent,the,full,model,produced,by,the,5-year,NEPTUNE,project,,a,coupling,of,fluid,and,kinetic,software,developed,under,the,FM-WP2,work-package,as,PA2-8,,incorporating,features,of,Proxyapps,3-1,to,3-4,,and,allowing,for,additional,input,from,PA3-6.,3-6,Staged,introduction,of,additional,neutral,gas/impurity,physics.,It,is,expected,that,the,NEP-,TUNE,community,will,join,in,to,supplement,the,software,with,a,wide-ranging,capability,to,treat,a,wide,range,of,additional,nuclear,,atomic,and,molecular,effects.,2,Braginskii,coefficients,Braginskii’s,transport,coefficients,are,widely,used,in,tokamak,edge,modelling.,Object-oriented,Fortran,code,to,compute,the,Braginskii,coefficients,is,available,at,https://github.com/wayne-arter/smardda-misc.git.,2.1,General,Note,that,kBT,(units,of,K),=,|e|T,(units,of,eV,),where,kB,is,Boltzmann’s,constant,and,|e|,is,the,absolute,value,of,the,charge,on,the,electron.,Otherwise,suffix,B,denotes,a,quantity,from,the,Plasma,Formulary,[6].,See,also,Braginskii’s,paper,[7].,The,subsequent,corrections,by,Epperlein,and,Haines,,and,by,Mikhailovski,and,Tsypin,are,not,relevant,to,this,work.,In,a,magnetic,field,,the,direction,of,which,is,given,by,unit,vector,b,,Goedbloed,and,Poedts,[8],define,three,auxilliary,vectors,for,a,vector,v,,viz.,v(cid:107),=,b(b,·,v),,v∧,=,b,×,v,and,v⊥,=,(b,×,v),×,b,If,v,=,(v1,,v2,,v(cid:107)),and,b,is,aligned,with,the,3-axis,in,a,Cartesian,coordinate,system,,then,v(cid:107),=,(0,,0,,v(cid:107)),,v∧,=,(−v2,,v1,,0),and,v⊥,=,(v1,,v2,,0),(1),(2),It,may,be,shown,that,a,tensor,T,which,is,symmetric,under,rotation,about,b,has,the,form,(in,Cartesians),T,=,,,T⊥,−T∧,T⊥,T∧,0,0,,,0,0,T(cid:107),so,that,T,·,v,=,T(cid:107)v(cid:107),+,T∧v∧,+,T⊥v⊥,2.2,Conduction,,Viscous,and,Resistive,Coefficients,The,electron,parallel,thermal,conductivity,in,the,Braginskii,theory,is,given,as,[6],κe,B(cid:107),=,3.2,N,kBTe,me,τe,6,(3),(4),(5),a,formula,valid,in,either,cgs,or,SI,units,,where,τe,is,the,electron,relaxation,time,(measured,in,seconds),,defined,below.,The,notation,is,standard,,with,N,the,number,density,of,electrons,,ap-,proximately,the,same,as,the,number,density,of,ions,,me,the,electron,mass,,and,Tα,,s,=,i,,e,the,temperature,of,species,α.,The,perpendicular,electron,thermal,conductivity,satisfies,similarly,κe,B⊥,=,4.7,N,kBTe,me,τe,·,1,(ωceτe)2,where,the,electron,cyclotron,frequency,Equivalent,expressions,for,ions,are,where,the,ion,cyclotron,frequency,ωce,=,e,me,·,B,κi,B(cid:107),=,3.9,N,kBTi,mi,τi,κi,B⊥,=,2,N,kBTi,mi,τi,·,1,(ωciτi)2,ωci,=,ZeB,mi,=,e,mp,·,ZB,A,(6),(7),(8),(9),(10),where,Z,is,the,charge,state,of,the,ion,and,A,its,atomic,mass.,The,definitions,above,have,to,be,interpreted,in,the,context,of,the,equations,given,in,[6],,so,that,thermal,diffusivities,are,obtained,by,dividing,by,3nα/2,where,α,=,i,,e,is,the,species,index.,It,is,also,convenient,to,introduce,the,dimensionless,factors,xe,=,ωceτe,xi,=,ωciτi,Kinematic,viscosities,in,the,Braginskii,theory,may,be,taken,as,νe,(cid:107),=,0.73N,kBTeτe/(N,me),=,0.73,kBTe,me,τe,νe,⊥,=,0.51N,kBTeτe/(N,me),1,x2,e,=,0.51,νi,(cid:107),=,0.96N,kBTiτi/(N,mi),=,0.96,νi,⊥,=,0.3N,kBTiτi/(N,mi),1,x2,i,=,0.3,τe,1,x2,e,kBTe,me,kBTi,mi,kBTi,mi,τi,τi,1,x2,i,(11),(12),(13),(14),(15),(16),Key,quantities,in,the,calculation,of,all,these,terms,are,τα,,α,=,i,,e.,The,first,step,in,their,calculation,is,to,convert,their,formulas,,usually,given,in,cgs,,to,SI,units,,giving,√,τe,=,6,2π3,(cid:15)2,0,√,me,e4,(kBTe)3/2,Z2N,Λ,=,3.44,×,10−7,(Te)3/2,Z2(N/1018)Λ,(17),7,√,τi,=,12,√,(cid:15)2,0,mp,e4,π3,√,(kBTi)3/2,Z4N,Λ,A,=,2.09,×,10−5,(Ti)3/2,√,A,Z4(N/1018)Λ,(18),where,the,notation,is,standard,,except,possibly,the,use,of,Λ,for,the,Coulomb,logarithm.,The,above,check,with,expressions,in,Wesson,[9,,§,14].,Note,that,Z2τi,differs,from,τe,in,being,larger,by,a,factor,of,(cid:112)2mi/me,≈,60,A,(also,substituting,Ti,for,Te,is,necessary).,The,factors,in,Z,are,taken,from,the,original,Braginskii,paper,[7].,√,It,follows,that,the,xα,factors,may,be,conveniently,written,xe,=,6.05,×,104,(Te)3/2B,Z2(N/1018)Λ,xi,=,1997,(Ti)3/2B,√,Z3(N/1018),AΛ,(19),(20),The,large,coefficients,in,Equations(19),and,(20),explain,why,classical,transport,is,so,anisotropic.,Substituting,the,explicit,expression,for,τe,in,Equations(5),and,(8),gives,respectively,,the,thermal,parallel,diffusivities,are,An,expression,for,the,perpendicular,ion,conductivity,,maintaining,the,fixed,physical,factors,is,of,interest,κe(cid:107),=,13,√,2π3,1,√,me,√,κi(cid:107),=,16,π3,1,√,mp,(cid:15)2,0,e4,·,(cid:15)2,0,e4,·,(kBTe)5/2,Z2N,Λ,(kBTi)5/2,√,Z4N,Λ,A,and,the,ratios,are,xe,=,xi,=,6,√,√,2π3(cid:15)2,0,mee3,·,√,π3(cid:15)2,0,mpe3,·,12,√,(kBTe)3/2B,Z2N,Λ,(kBTi)3/2B,Z3N,Λ,A,√,κi⊥,=,e2√,√,9,mp,π3(cid:15)2,0,√,·,Z2N,Λ,A,(kBTi)1/2B2,Assuming,Ti,is,measured,in,eV,,,and,N,in,units,of,1018,m−3,,then,κi⊥,=,6.67,×,10−4,·,Z2(N/1018)Λ,(Ti)1/2B2,√,A,m2s−1,and,κe⊥,=,5.26,×,10−5,·,Z2(N/1018)Λ,(Te)1/2B2,m2s−1,The,plasma,resistivity,is,taken,as,η,=,ηB/µ0,=,Assuming,Te,is,measured,in,eV,,,then,0.51,√,6,√,mee2,2π3µ0(cid:15)2,0,·,ZΛ,(kBTe)3/2,η,=,ηB/µ0,=,41.9,·,ZΛ,(Te)3/2,m2s−1,8,(21),(22),(23),(24),(25),(26),(27),(28),(29),2.3,Prandtl,Numbers,The,above,expressions,(except,for,the,resistivity),apply,strictly,only,when,there,are,separate,equa-,tions,for,ion,and,electron,transport,,so,decisions,have,to,be,taken,about,how,to,combine,the,trans-,port,coefficients,to,treat,the,plasma,as,a,single,fluid.,For,the,thermal,transport,,since,pressures,pe,≈,pi,,it,is,sufficient,to,add,the,κα.,However,,the,values,for,ions,and,electrons,are,so,disparate,because,mp,(cid:29),me,that,one,or,other,might,be,neglected,,assuming,B,is,of,order,unity,(in,Tesla),and,Te,≈,Ti,,thus,κe(cid:107),(cid:29),κi(cid:107),and,hence,κ(cid:107),≈,κe(cid:107),,since,It,also,follows,that,(cid:19)2,(cid:18),xi,xe,=,2me,Z2Amp,(cid:18),Ti,Te,(cid:19)3,κe⊥,κi⊥,=,0.078,(cid:18),Ti,Te,(cid:19)1/2,1,√,A,(30),(31),thus,κ⊥,≈,κi⊥.,There,is,the,caveat,that,if,Ti,is,approximately,spatially,constant,radially,,then,κe⊥,might,become,relevant.,As,for,viscosity,,since,the,ion,momentum,is,so,much,greater,than,the,electron,momentum,,then,ν,≈,νi.,For,interchange,motions,where,flows,are,perpendicular,to,the,field,,take,κ,=,κi⊥,,then,on,the,Cambridge,definition,,the,magnetic,Prandtl,number,is,ζ,=,η,κi⊥,=,0.765,√,2,1,µ0,(cid:114),me,mp,·,B2,√,ZN,(kBTi)1/2,(kBTe)3/2,A,which,evaluates,as,(Tα,in,eV,,,N,in,units,of,1018,m−3),ζ,=,η,κi⊥,=,62,700,·,B2,Z(N/1018),(Ti)1/2,(Te)3/2,√,A,(32),(33),It,may,be,argued,that,it,is,more,appropriate,to,use,the,‘anomalous’,value,of,1,m2s−1,,in,which,case,Equation,(29),without,units,gives,the,‘Cambridge’,magnetic,Prandtl,number.,The,usual,Prandtl,number,is,σ,=,νi⊥,κi⊥,=,0.23,(34),Note,that,P.H.Roberts,[10],defines,the,magnetic,Prandtl,number,as,ν/η,=,σ/ζ,,and,his,definition,is,more,widely,used.,9,3,System,2-1:,2-D,model,of,anisotropic,heat,transport,The,model,for,time,evolution,of,the,temperature,field,T,is,thermal,diffusion,,which,in,a,plasma,gives,where,the,thermal,conductivity,tensor,is,κ.,(Compare,the,model,for,a,solid,3,2,N,∂T,∂t,=,∇,·,κ∇T,ρmcp,∂T,∂t,=,∇,·,kc∇T,(35),(36),where,the,thermal,conductivity,tensor,is,kc,,ρm,is,the,mass,density,of,the,medium,and,cp,is,its,specific,heat,at,constant,pressure,,implying,that,the,thermal,diffusivity,tensor,is,κ,=,kc/ρmcp.),Introducing,vector,components,as,in,Section,1,,thermal,diffusion,in,a,plasma,after,Braginskii,is,thus,=,∇,·,(cid:0)κ(cid:107)b[b.∇T,],+,κ⊥(∇T,−,b[b.∇T,]),+,κ∧b,×,∇T,(cid:1),(37),3,2,N,∂T,∂t,Henceforth,,the,‘wedge’,transport,ie.,in,due,to,the,term,in,κ∧,is,neglected,for,the,reason,that,it,may,be,rearranged,to,give,a,convection-like,term,,via,the,identity,where,∇,·,κ∧b,×,∇T,=,∇,·,(u∧T,),u∧,=,∇,×,(κ∧b),(38),(39),(In,any,event,,if,κ∧,is,a,function,purely,of,T,,,and,∇,·,b,=,0,,then,the,terms,in,Equation,(38),vanish.),Expressions,for,κ⊥,and,κ(cid:107),for,the,different,species,are,given,in,Section,2.2,,where,they,incorporate,the,factor,3,2,N,,,ie.,κ(⊥,(cid:107))/(,3,2,N,),=,κ(⊥,(cid:107))e,i.,3.1,Test,Cases,The,aim,of,the,work,is,to,calculate,in,a,series,of,calculations,that,increasingly,approach,the,re-,alistic,model,,the,magnitude,of,the,spurious,numerical,diffusion,perpendicular,to,the,magnetic,field,direction,b.,The,main,interest,concerns,how,much,diffuses,in,the,plasma,,not,the,solid,sur-,face,,even,though,the,deposition,of,power,is,on,the,surface,,reason:,all,sorts,of,complicated,extra,physics,come,into,play,in,the,plasma,especially,near,surfaces.,3.1.1,Starting,Case,For,the,2-D,test,case,illustrated,in,Figure,1,,it,is,suggested,that,κ⊥,=,0,so,that,any,perpendicular,diffusion,is,numerical,in,origin.,Given,this,,the,problem,can,be,analysed,using,any,spatial,scale,and,any,convenient,κ(cid:107).,However,an,order,of,magnitude,estimate,for,tile,dimensions,is,one,metre,,discharge,timescale,is,one,second,upwards.,For,plasma,properties,assume,N,=,1018,m−3,,Ti,=,Te,=,10,eV,,Z,=,A,=,1,,B,=,3,T,and,solid,temperatures,say,500o,C.,10,Figure,1:,Sketch,of,the,test,configuration,,showing,fieldlines,in,direction,b,and,the,boundary,between,anisotropic,conductor,and,perfect,insulator.,In,Figure,1,,T,=,T0,>,0,over,the,interval,on,the,left,hand,boundary,that,is,connected,by,field,in,direction,b,with,the,thick,red,line,,elsewhere,on,the,blue,fieldlines,,T,=,0.,The,red,region,lies,on,a,black,line,which,denotes,the,boundary,between,anisotropic,conductor,and,perfect,insulator.,The,exact,steady-state,solution,has,T,=,constant,along,fieldlines,,but,numerical,diffusion,will,result,in,non-zero,T,in,the,region,of,blue,fieldlines.,The,relative,size,of,this,numerical,diffusion,must,be,estimated,as,a,function,of,incidence,angle,θ,,where,interest,attaches,to,small,θ,≤,2o.,3.1.2,Intermediate,Case,To,test,curvature,effects,the,whole,2-D,domain,of,Figure,1,could,be,distorted,by,conformal,map-,ping,(which,preserves,angles).,3.1.3,Realistic,Case,This,needs,to,be,3-D,and,involve,JET,divertor,tile,descriptions,derived,from,the,output,of,the,CAD,design,tool,,together,with,information,describing,the,magnetic,field,as,a,function,of,position,,which,will,be,supplied.,The,magnetic,equilibrium,may,be,supplied,analytically,after,Solovev,,but,the,usual,input,is,as,an,.eqdsk,file.,The,EQDSK,G,format,is,a,“non-standard”,standard,for,solutions,ψ(R,,Z),,p(ψ),,F,(ψ),of,the,Grad-Shafranov,equation,,where,ψ,is,the,magnetic,flux,and,(R,,Z),are,cylindrical,coordinates,in,planes,normal,to,the,toroidal,direction.,The,functions,p,and,F,give,the,variation,of,the,pressure,and,toroidal,field,respectively.,The,basic,standard,for,EQDSK,G,may,be,found,at:,https://fusion.gat.com/theory/Efitgeqdsk,(which,may,be,password-protected),or,else,at,https://w3.pppl.gov/ntcc/TORAY/G_EQDSK.pdf,The,flux,ψ(R,,Z),is,sampled,at,uni-,formly,spaced,points,on,a,direct,product,grid,,for,which,the,.eqdsk,header,defines,the,mesh-size,,11,as,well,as,other,useful,information,,such,as,the,flux,on,axis,and,at,boundary.,Unfortunately,the,strict,EQDSK,G,standard,uses,a,Fortran,format,that,does,not,require,spaces,between,samples,,hence,there,are,many,variants,for,languages,that,cannot,handle,this,situation,,that,have,intro-,duced,other,features,such,as,mistakes,in,field,helicity,,factors,of,2π,in,the,flux,,etc.,Routines,that,calculate,magnetic,field,B,using,cubic,spline,interpolation,could,be,made,available.,It,would,be,desirable,for,the,output,of,System,2-2,to,be,used.,3.1.4,Extended,Case,An,extended,test,would,allow,for,heat,transfer,in,the,solid,surface,sketched,at,bottom,of,Figure,1,,taking,say,thermal,diffusivity,for,Tungsten,κ,≈,3,×,10−5,m2,s−1.,12,Figure,2:,Sketch,of,the,test,configuration,,showing,tokamak,cross-section,and,the,boundary,of,the,Last,Closed,Flux,Surface,(LCFS).,4,System,2-2:,2-D,elliptic,solver,in,complex,geometry,The,geometry,will,be,representative,of,a,tokamak,cross-section,,possibly,omitting,the,region,con-,taining,the,central,hot,plasma,,so,that,topologically,it,will,be,at,most,as,complex,as,an,annulus,(one-hole).,Figure,2,provides,an,example.,The,Last,Closed,Flux,Surface,(LCFS),may,be,param-,eterised,by,arc-length,in,the,cross-sectional,plane,of,projection.,The,elliptic,equations,to,be,considered,now,follow.,4.1,Simplified,Grad-Shafranov,equation,This,elliptic,equation,is,a,simplified,version,of,the,Grad-Shafranov,equation,,see,[11],R2∇,·,1,R2,∇ψ,=,−2µ0RJφ,(40),where,ψ,is,the,poloidal,magnetic,flux,and,(R,,Z),are,cylindrical,coordinates,in,planes,normal,to,the,toroidal,direction,φ,,with,the,toroidal,current,Jφ,=,R,dp(ψ),dψ,+,I,µ0R,dI(ψ),dψ,+,Jext(R,,Z),(41),The,functions,p,and,I,give,the,variation,as,functions,of,ψ,of,the,pressure,and,toroidal,field,respec-,tively,,and,Jext(R,,Z),may,be,produced,in,several,ways,,of,which,the,commonest,is,by,poloidal,field,circuits,,ie.,localised,current,sources,in,cross-section.,Note,that,the,operator,in,Equation,(40),simplifies,to,∂,∂R,which,implies,that,mathematically,,ψ,satisfies,a,steady-state,2-D,advection-diffusion,equation,cor-,responding,to,unit,diffusivity,in,the,flow,uR,=,1/R.,1,R,(42),∂2,∂R2,−,∂2,∂Z2,+,13,To,provide,the,simple,test,case,,take,Jφ,=,Jext,only,with,localised,current,sources.,The,boundary,conditions,are,ψ,=,0,on,the,LCFS,and,ψ,∝,1/(cid:112)(R2,+,Z2),as,R,,Z,→,∞.,Note,that,the,Grad-Shafranov,equation,has,been,solved,using,spectral,elements,by,others,,eg.,Sovinec,[3].,4.2,Simplified,non-Boussinesq,vorticity,equation,A,simplified,version,of,the,non-Boussinesq,vorticity,equation,to,be,solved,for,the,scalar,field,Φ(R,,Z),in,cylindrical,polar,coordinates,(R,,Z),is,∇⊥,·,(cid:18),1,B2,∇⊥Φ,(cid:19),=,n,(43),where,B,=,|B|,is,the,amplitude,of,the,imposed,magnetic,field,,density,n,acts,as,a,source,term,,and,the,elliptic,is,to,be,solved,for,Φ,,subject,to,boundary,conditions,Φ,=,0.,The,operator,∇⊥,,ignor-,ing,the,components,of,magnetic,field,directed,within,the,(R,,Z),plane,,reduces,to,the,usual,gradi-,ent,∇,in,cylindrical,polars,of,axisymmetric,fields,,hence,mathematically,Equation,(43),is,equivalent,to,Equation,(40).,n,will,be,set,so,that,n,=,n0(si),on,the,boundaries,,where,arc-length,si,parameterises,the,inner,boundary,if,i,=,1,and,the,outer,if,i,=,2.,n,and,|B|,will,be,specified,functions,of,(R,,Z),that,capture,features,of,the,number,density,n,distribution,and,magnetic,field,intensity,distribution,expected,in,a,tokamak,,Ideally,|B|,would,represent,a,solution,of,the,Grad-Shafranov,equation,from,Section,4.1.,14,5,System,2-3:,1-D,fluid,solver,with,simplified,physics,but,with,UQ,and,realistic,boundary,conditions,5.1,Plasma,Equations,It,is,assumed,that,the,single,spatial,dimension,of,the,problem,corresponds,to,the,arc,length,dis-,tance,along,a,fieldline.,Starting,from,the,two-fluid,model,of,Braginskii,[7],,a,set,of,equations,resembling,those,of,classical,(compressible),hydrodynamics,may,be,derived,by,summing,Bragin-,skii’s,equations,for,number,density,,momentum,and,energy.,Using,the,notation,of,ref,[12],,intro-,ducing,Td,=,Ti,+,Te,,neglecting,the,stress,tensor,terms,(implicitly,setting,δpi,=,0),,and,assuming,B,is,independent,of,time,,the,resulting,system,is,Ud,∂,∂t,(N/B),+,(N,U/B),=,LsSn,B,∂,∂t,(N,U/B),+,(N,kTd/B),+,Ud,(cid:18),3,2,Ud,∂,∂t,(cid:18),5,2,∂,∂s,(N,U,kTd/B),+,(N,U,3/B),∂,∂s,∂,∂s,1,2,1,2,(N,U,2/B),(cid:19),(cid:19),(N,U,2/B),=,−,1,miB,∂,∂s,(Pi,+,Pe),+,LsSu,miB,+,=,−,1,miB,∂,∂s,(qi,+,qe),+,Ls(SE,i,+,SE,e,),miB,where,Ls,=,∂s(cid:107),∂s,(44),(45),(46),(47),(48),Ud,=,Ls/t0,is,a,speed,measuring,the,importance,of,the,transient,term,,s,parameterises,distance,along,the,fieldline,,and,some,variables,from,[12],have,been,promoted,to,capitals,to,indicate,that,they,retain,their,physical,dimensions.,For,the,case,of,a,fieldline,connecting,two,walls,at,s,=,±L,,and,so,Ls,=,2L.,The,constant,k,is,such,that,s(cid:107),=,L(2s,−,1),k,=,kB,mi,or,k,=,|e|,mi,(49),(50),where,kB,is,Boltzmann’s,constant,and,|e|,is,the,unit,of,charge,,depending,whether,T,is,measured,in,Kelvin,or,eV,.,Note,that,in,adding,Eqs.(3),and,(4),of,[12],,equipartition,and,collision,terms,cancel,to,give,Equation,(47).,The,perfect,gas,equation,of,state,will,be,assumed,,so,that,pi,+,pe,mi,=,N,kT,The,boundary,conditions,are,that,|U,|,=,|Ms|CS,at,s,=,0,,1,where,the,sound,speed,CS,=,(cid:112),kTd,15,(51),(52),and,|Ms|,is,the,Mach,number,,since,Ms,will,be,allowed,to,take,either,sign.,Normally,|Ms|,=,1,so,that,M0,=,−1,and,M1=1,where,the,subscript,corresponds,to,value,of,s.,The,combined,energy,flux,at,each,boundary,has,|Q(cid:107)|,=,miCSN,(δekTe,+,δikTi),≈,miCSN,δkTd,(53),if,δ,≈,δe,≈,δi.,For,definiteness,,δ,=,1,2,(δe,+,δi),will,be,assumed.,5.2,Fluid,Equations,with,Sources,It,is,convenient,to,replace,the,source,terms,in,Equations(44)–,(47),by,equivalent,fluxes,F,n(s),=,F,u(s),=,(cid:90),s,0,(cid:90),s,ds(cid:107),Sn,B,Su,miB,i,+,SE,SE,e,miB,ds(cid:107),0,(cid:90),s,0,F,E(s),=,2,ds(cid:107),and,write,F,Q(s),=,−,1,miB,(qi,+,qe),(54),(55),(56),(57),The,convention,with,respect,to,limits,of,integration,is,that,they,are,specified,in,terms,of,parame-,terised,length,and,to,use,the,appropriate,relation,for,s(cid:107)(s),,thus,in,the,case,of,Equation,(49),,the,lower,limit,of,0,corresponds,to,s(cid:107)(s),=,−L.,The,forms,the,sources,take,are,discussed,below,in,Section,5.3.,Observing,the,identity,1,B,∂,∂s,BnBkTd,=,∂,∂s,(nBkTd),+,nBkTd,∂,∂s,(ln,B),(58),and,the,frequent,appearance,of,nB,=,N/B,,the,governing,equations,in,dimensional,form,become,F,n,(nBU,),=,∂,∂s,∂,(nBU,2),=,−,∂s,(cid:19),Ud,∂,∂t,nB,+,∂,∂t,(nBU,),+,(nBkTd),+,Ud,(cid:18),3,2,(nBU,kTd),+,∂,∂s,∂,∂s,1,(nBU,2),2,1,2,(nBU,3),Ud,∂,∂t,(cid:18),5,2,∂,∂s,(cid:19),+,=,−,∂,∂s,F,Q,+,1,2,∂,∂s,F,E,(nBkTd),+,∂,∂s,F,u,(59),(60),(61),(62),where,the,derivative,of,ln,B,has,been,neglected.,The,boundary,conditions,on,U,are,unchanged,and,|Q(cid:107)|,=,miCSnBδkTd,The,Equations(59)–,(62),together,with,boundary,condition,Equation,(63),are,in,units,such,that,equivalence,may,easily,be,established,with,those,of,ref,[12],(by,setting,Ud,=,1,and,identifying,s,with,s(cid:107)).,To,proceed,,it,may,be,helpful,to,make,the,preceding,system,of,equations,dimensionless,,by,scaling,nB,with,respect,to,N0/B0,,kTd,with,respect,to,kT0,,U,with,respect,to,C0,and,B,with,respect,to,B0.,If,the,subscript,0,corresponds,to,the,value,of,a,variable,at,s,=,0,,then,it,is,convenient,kT0.,The,resulting,system,may,be,deduced,from,the,coupled,model,in,Section,5.4.,to,take,C0,=,(63),√,16,5.3,Explicit,Sources,The,above,work,concentrates,on,the,case,where,the,source,terms,are,regarded,as,given,,however,it,is,worth,describing,the,form,of,the,additional,sources,that,may,be,at,least,locally,important.,From,ref,[12],,the,plasma,sources,are,given,by,(with,the,convention,that,suffix,‘n’,denotes,neutral,species),Sn,=,NnN,(cid:104)σv(cid:105)ION,−,N,2(cid:104)σv(cid:105)REC,+,Sn,⊥,Su,=,NnN,(cid:104)σv(cid:105)ION,Un,−,N,2(cid:104)σv(cid:105)RECU,+,NnN,(Un,−,U,)(cid:104)σv(cid:105)CX,SE,=,SE,i,+,SE,e,kBTn,+,n,−,kBIH,),mnU,2,1,2,miU,2),=,NnN,(cid:104)σv(cid:105)ION,(,3,2,1,2,−,N,2(cid:104)σv(cid:105)REC(,3,kBTi,+,2,(cid:18),3,2,⊥i,+,SE,−,NnN,kBQH,+,SE,⊥e,+,NnN,(cid:104)σv(cid:105)CX,kB(Tn,−,Ti),+,(cid:19),mn(U,2,n,−,U,2),1,2,(64),(65),(66),(67),Here,suffix,⊥,denotes,the,effectively,given,source,terms,arising,from,cross-field,contributions,,suffices,ION,,,REC,and,CX,denote,respectively,cross-sections,(cid:104)σv(cid:105),for,ionisation,,recombination,and,charge-exchange,reactions,,IH,is,the,Hydrogen,reionisation,potential,,and,QH,is,the,cooling,rate,due,to,excitation.,Since,the,sources,appear,in,the,analysis,primarily,as,integrals,starting,at,s,=,0,,study,of,Equa-,tions(64)–,(66),concentrates,on,this,region,,where,plasma,velocity,U,<,0,and,neutral,velocity,Un,>,0,with,the,two,having,approximately,the,same,magnitude.,There,,Equation,(64),has,only,one,negative,term,,due,to,recombination,,but,from,the,cross-section,data,in,ref,[12],,this,could,dominate,only,below,2,eV.,All,terms,in,Equation,(65),are,positive,near,s,=,0,as,the,two,velocities,reinforce.,Equation,(66),contains,two,terms,which,are,always,negative,and,an,ionisation,term,which,is,also,negative,below,IH,/2,≈,7,eV,,thus,for,example,,the,cross-field,source,terms,S⊥i,e,must,be,positive,for,SE,>,0.,The,sources,of,neutrals,may,be,deduced,from,the,ionisation,and,charge-exchange,terms,in,Equa-,tions(64)–,(66),,viz.,Sn,n,=,−NnN,(cid:104)σv(cid:105)ION,+,Sn,n,=,−NnN,(cid:104)σv(cid:105)ION,Un,−,NnN,(Un,−,U,)(cid:104)σv(cid:105)CX,Su,Su,⊥,n,⊥,n,SE,n,=,−NnN,(cid:104)σv(cid:105)ION,(,(cid:18),3,2,−,Nn(cid:104)σv(cid:105)CX,+,SE,⊥n,3,2,kBTn,+,1,2,mnU,2,n,−,kBIH,),kB(Tn,−,Ti),+,1,2,(cid:19),mn(U,2,n,−,U,2),(68),(69),(70),(71),(72),The,S⊥,n,terms,are,hard,to,quantify,,but,if,these,are,neglected,,it,is,clear,that,Sn,is,the,obverse,of,the,positive,plasma,sources.,Similarly,it,is,likely,that,SE,n,<,0,if,SE,>,0,n,<,0,and,Su,n,<,0,17,5.4,Coupled,System,Working,within,the,flux-tube,geometry,,the,equations,for,neutral,transport,take,the,same,form,as,those,used,for,plasma,above,,however,the,boundary,conditions,are,different.,They,become,at,s,=,0,,supposing,that,T(0),=,τ,2T0,and,masses,mn,=,mi,,in,dimensionless,units,,n,=,R2,=,|M0|,R,τ,u,=,−τ,T,=,τ,2,(73),(74),(75),where,n,,u,and,T,are,neutral,density,,temperature,and,density,made,dimensionless,with,respect,to,the,same,N0,and,T0,as,the,corresponding,plasma,quantities,,and,R,is,the,recycling,coefficient.,Note,the,usage,of,a,sans-serif,font,to,denote,dimensionless,neutral,species,quantities,,and,that,n,does,not,however,include,a,factor,of,˜b,=,B/B0,,as,the,neutral,flux,is,not,constrained,by,the,flux,tube.,A,system,explicitly,modelling,the,coupling,between,plasma,and,neutrals,may,be,derived,by,making,non-dimensionless,the,sources,set,out,in,Section,5.3,,and,assuming,mn,=,mi,,T,=,Ti,=,τ,2T,,,giving,5,equations,for,the,evolution,of,plasma,density,,velocity,,total,temperature,,neutral,density,and,neutral,velocity:,(cid:15)r,(cid:15)r,∂,∂t,(nu),+,∂,∂t,∂,∂s,n,+,∂,∂s,(nu),=,σI,nn,+,∂,∂s,f,n,(nu2,+,nT,),=,σI,nnu,+,σcnn(u,−,u),+,∂,∂s,f,u,(cid:15)r,∂,∂t,(cid:0)(g,−,2)nT,+,nu2)(cid:1),+,∂,∂s,(cid:0)gnuT,+,nu3(cid:1),=,σI,nn(3[τ,2T,−,TH,],+,u2),+,σCnn(u2,−,u2),∂,∂s,−,σEnn,+,f,E,(cid:15)r,n,+,∂,∂s,(nu),=,−σI,nn,∂,∂t,(nu2,+,nτ,2T,),=,−σI,nnu,−,σcnn(u,−,u),(cid:15)r,∂,∂t,(nu),+,∂,∂s,(76),(77),(78),(79),(80),where,(cid:15)r,=,Ls/(t0C0),with,t0,a,characteristic,timescale.,The,reaction,cross-sections,are,made,dimensionless,by,division,by,C0/(LsN0)((cid:39),3.1×10−16,m3s−1,for,representative,parameter,values),,so,that,σI,=,σC,=,σE,=,TH,=,(cid:104)σv(cid:105)ION,C0/LSN0,(cid:104)σv(cid:105)CX,C0/LSN0,2QH,C0T0/LSN0,2IH,3T0,(cid:39),9/T0(in,eV),18,(81),(82),(83),(84),where,IH,and,QH,are,as,defined,in,ref,[12].,It,is,of,interest,to,allow,a,stochastic,(‘turbulent’),contribution,to,the,terms,f,n,u,E.,5.5,Uncertainty,Quantification,Polynomial,chaos,(PC),refers,to,a,situation,whereby,probability,functions,are,expanded,as,Hermite,polynomials,,and,generalised,Polynomial,chaos,(gPC),to,expansions,using,Hermite,and,other,polynomial,sets,{Ψj(ξ)},[13].,Thus,for,example,,suppose,θ,to,denote,a,random,event,,and,the,number,density,field,to,have,the,following,representation,in,terms,of,a,finite,number,P,of,such,modes.,n(x,,t,,θ),=,nj(x,,t)Ψj,(ξ(θ)),(85),P,(cid:88),j=0,where,{nj(x,,t)},is,the,set,of,deterministic,coefficients,of,the,“random,trial,basis”,,ie.,the,set,{Ψj,(ξ(θ))},where,ξ(θ),is,a,multi-dimensional,random,variable,with,a,specific,probability,distribution,as,a,func-,tion,of,the,random,parameter,0,≤,θ,≤,1.,Note,that,the,Ψj,are,the,set,of,multi-dimensional,Hermite,polynomials,if,ξ,is,a,vector.,Typically,but,not,necessarily,the,ξ(θ),will,be,Gaussians.,Expressions,like,Equation,(86),may,be,substituted,into,a,governing,equation,of,say,advection,type,for,n,,and,the,result,simplifies,because,spatial,operators,do,not,interact,with,the,random,variables,,then,taking,the,inner,product,with,Ψk,(ξ(θ)),yields,∂nk,∂t,+,P,(cid:88),P,(cid:88),i=0,j=0,eijk,∂uinj,∂s,=,0,(86),where,eijk,is,a,weighted,integral,of,triple,products,of,Ψi.,Hence,there,are,now,P,equations,instead,of,one,for,n.,There,is,an,alternative,treatment,by,Polynomial,Chaos,Expansion,(PCE),which,is,non-intrusive,and,therefore,preferred.,It,relies,on,projecting,a,set,of,randomly,selected,solutions,onto,a,Hermite,or,similar,basis,,see,further,description,in,ref,[14,,end,§,2.1.1].,19,6,System,2-4:,Spatially,1-D,plasma,model,incorporating,velocity,space,effects,The,following,simple,model,is,after,Taitano,et,al,[15,,16],∂fe,∂t,∂fi,∂t,+,vex,+,vix,∂fe,∂x,∂fi,∂x,+,+,(cid:15)0,∂E,∂t,(cid:88),+,α,qαnuα,−,qe,me,qi,mi,(cid:88),α,E,·,E,·,∂fe,∂v,∂fi,∂v,=,0,=,0,(87),qαnuα,=,0,Equations,87,are,the,electron,and,ion,Vlasov,equations,and,Ampere’s,equation,respectively.,The,quantities,me,,mi,,fe,,fi,,ve,,vi,,qe,,qi,,E,,(cid:15)0,,and,nuα,are,the,electron,and,ion,masses,,electron,and,ion,distribution,functions,,electron,and,ion,velocities,,electron,and,ion,charges,,the,electric,field,,permeability,constant,of,vacuum,,and,the,momentum,of,species,α,=,i,,e,,respectively.,Note,that,Equation,(87)represents,a,generalisation,of,the,system,in,ref,[15],,where,for,vector,quantities,,the,x-component,is,always,implied,,in,the,usual,notation,the,original,system,is,1d1v,rather,than,1d3v,as,above,,where,particles,move,according,to,dx,dt,dvα,dt,=,vαx,=,qα,mα,E,(88),(Motion,in,(y,,z),is,neglected,,the,3-D,electromagnetic,version,of,Equation,(88),appears,in,Sec-,tion,9).,The,(cid:80),·,term,denotes,for,example,a,spatially,averaged,summed,quantity,and,is,included,to,en-,force,Galilean,invariance.,The,solutions,fe,and,fi,of,the,Vlasov,equations,are,functions,of,space,variable,x,,velocity,v,,and,time.,Ampere’s,equation,is,solved,for,the,self-consistent,electric,field,E,,which,is,a,function,of,space,variable,x,and,time.,The,boundary,conditions,used,are,periodicity,in,x,,and,zero,at,infinity,in,|v|.,Initial,conditions,which,might,be,used,for,the,distribution,functions,are,from,ref,[15],,f0(x,,v,,u0,,T0),=,n0(x),(cid:112)2πkBT0/m,n0(x),=,n(t,=,0,,x),=,1,+,αn,cos(kx),exp,(cid:18),−,m(v,−,u0)2,2kBT0,(cid:19),(89),where,n0,,u0,and,T0,are,the,initial,number,density,,initial,fluid,velocity,and,initial,temperature,respectively.,The,parameter,αn,is,the,perturbation,amplitude,,k,is,its,wave,vector,,and,m,is,the,species,mass.,It,follows,that,the,(scaled),momentum,is,given,formally,as,(cid:90),nuα(x),=,vfα(x,,v,,t)dv,(90),where,fα,is,the,distribution,function,for,species,α,at,time,t.,replaced,by,a,sum,over,particles.),(In,practice,the,integral,would,be,20,Note,that,periodic,boundary,conditions,are,of,limited,value,in,practice,,and,attention,should,be,given,to,minimal,modifications,of,the,above,problem,where,there,is,1.,a,flux,of,momentum,across,the,domain,(inflow,and,outflow,boundary,conditions),2.,reflection,of,particles,at,the,boundaries,3.,a,source,of,plasma,within,the,domain,,and,outflow,boundaries,4.,and,where,the,spatial,dimension,corresponds,to,arc,length,s,along,a,fieldline,(implies,n,replaced,by,n/|B|,,cf.,Section,5.1).,21,7,System,2-5:,Spatially,1-D,multispecies,plasma,model,7.1,Fluid,model,For,a,multispecies,plasma,,there,is,a,system,of,Boltzmann,equations,to,be,solved,,one,for,each,species,,each,of,form,in,3,spatial,dimensions,L7fα,=,(cid:88),β,Q(fα,,fβ),+,sα,(91),where,L7,is,the,7-D,Lie,derivative,(space,,velocity-space,and,time,make,up,the,3,+,3,+,1,=,7,dimensions,,α,,β,are,species,labels,and,Q,is,the,Boltzmann,collision,operator.,The,multispecies,equations,are,derived,following,Grad,[17,,§,6],by,substituting,in,Equation,(91),fα,=,exp(−λHα)Fα(x,,v,,t),(92),where,the,flow,of,the,Lie,derivative,is,given,by,the,Hamiltonian,Hα,and,Fα,is,a,functional,of,moments,of,fα,,to,include,(dropping,the,suffix,on,f,),(cid:90),n,=,f,dv,,u0,=,(cid:90),f,vdv,,T,=,(cid:90),f,v2/2dv,(93),The,resulting,system,is,linearised,and,solved,by,iteration,to,give,the,multispecies,plasma,fluid,equations,in,Zhdanov,[17,,§,6].,There,are,believed,to,be,typographical,errors,in,Zhdanov,,so,cross-checking,is,needed.,To,see,Grad’s,approach,applied,to,classical,fluids,see,for,example,[18,,§,8].,7.2,Coupling,to,particles,Other,,less,collisional,species,are,to,be,treated,as,particles,as,in,Section,6,and,coupled,via,sα.,Mathematical,forms,for,sα,will,be,guided,by,the,emerging,results,from,particles’,method,research.,22,8,System,2-6:,Spatially,2-D,plasma,model,incorporating,velocity,space,effects,8.1,2-D,interchange,model,with,fluid,neutrals,After,P.,Tamain,(private,communication),,the,equations,for,time,advance,of,respectively,electron,number,density,ne,,“vorticity”,(∇,·,E+),,electron,energy,Ee,,ion,energy,Ei,and,neutral,number,density,nn,are,respectively,∂tne,+,∇,·,(neue),=,Sne,−,ne,τne,∂t∇,·,E+,+,∇,·,(cid:0)∇,·,(cid:0)ui,⊗,E+(cid:1)(cid:1),=,∇,·,(cid:18),ni,(u∇Bi,+,ucx),−,−,ni,τni,+,∇,·,(cid:0)ν∇⊥,neu∇Be,1,Zi,(cid:0)∇,·,E+(cid:1)(cid:1),+,1,Zi,ne,τne,Ee,τEe,Ei,τEi,∂tEe,+,∇,·,(Eeue,+,peue),=,SEe,−,+,Qie,+,∇,·,(χ⊥ene∇⊥Te),∂tEi,+,∇,·,(Eiui,+,piui),=,SEi,−,∂tnn,=,Snn,+,∇,·,(Dn∇⊥pn),−,Qie,+,∇,·,(χ⊥ini∇⊥Ti),(cid:19),(94),(95),(96),(97),(98),where,with,the,usual,notation,for,species,α,pressure,pα,,temperature,Tα,,charge,state,Zi,,species,mass,mα,,electric,potential,Φ,and,magnetic,field,B,,ion,number,density,ni,=,ne,3,2,Eα,=,pα,=,modified,electric,field,E+,=,mi,ZieB2,3,nαkBTα,,α,=,i,,e,2,(cid:18),ni∇⊥Φ,+,∇⊥pi,1,Zie,Perpendicular,advection,velocities:,ue,=,uE×B,+,u∇Be,+,udiff,ui,=,uE×B,+,u∇Bi,+,udiff,+,ucx,with,uE×B,=,u∇Bi,=,B,×,∇Φ,B2,µ2,cx,1,+,µ2,cx,µ2,2Ti,cx,1,+,µ2,ZieB,cx,B,×,∇B,2Te,B2,eB,(cid:18),B,×,∇B,B2,u∇Be,=,−,ucx,=,µcx,1,+,µ2,cx,1,B,udiff,=,−D⊥∇ne,−∇⊥Φ,−,23,(cid:19),∇pi,1,Zieni,(cid:19),(99),(100),(101),(102),(103),(104),(105),(106),(107),(108),(109),,,ωc,=,ZieB,with,the,magnetization,with,respect,to,charge,exchange,reactions,defined,as,µcx,=,ωc,mi,νcx,being,the,ion,cyclotron,frequency,and,νcx,=,Kcxnn,the,charge,exchange,frequency,(Kcx,(ni,,Ti),the,reaction,rate,of,charge,exchange,reactions).,Loss,rates,can,be,given,several,meanings,in,this,kind,of,model.,They,can,be,prescribed,as,param-,eters,,but,they,can,also,describe,sheath,losses,in,which,case,they,have,a,non-linear,dependency,with,the,plasma,conditions,,eg.,τne,=,τni,=,τEe,=,τEi,=,L(cid:107),cs,L(cid:107),cs,2,3γe,2,3γi,(cid:18),exp,Λb,−,(cid:19),eΦ,Te,τne,τni,where,cs,=,(cid:113),Ti+ZiTe,mi,is,the,acoustic,velocity,and,Λb,=,−,(cid:20),ln,0.5,1,2,me,mi,(cid:18),1,+,Ti,Te,(cid:19)(cid:21),is,the,sheath,potential,drop,normalized,to,Te.,The,collisional,energy,equipartition,term,(from,Braginskii),is:,Qie,=,3,me,mi,ne,τce,(Te,−,Ti),with,the,electron,collision,time,given,by:,(110),(111),(112),(113),(114),(115),3,(2π)3/2,(cid:15)2,0,2e4Λ,niZi,and,Λ,is,the,Coulomb,logarithm,(which,has,a,weak,dependence,on,ne,and,Te,as,indicated,in,Section,2.2).,τce,=,(116),meT,3/2,e,√,Source,terms:,Sne,=,−Snn,=,nennKi,(ne,,Te),−,n2,SEe,=,−nennKi,(ne,,Te),Ei,(Te),−,n2,eKr,(ne,,Te),eKr,(ne,,Te),3,2,Te,SEi,=,−n2,eKr,(ne,,Te),3,2,Ti,where,Ki,and,Kr,are,the,ionization,and,recombination,reaction,rates.,Neutral,diffusion,coefficient:,Dn,=,1,mi,(niKcx(ni,,Ti),+,neKi(ne,,Te)),Other,perpendicular,diffusion,coefficients,from,Braginskii,as,in,Section,2.2.,Boundary,conditions:,24,(117),(118),(119),(120),Figure,3:,Handling,a,plasma,sheath,adjacent,to,wall,at,right.,Plasma,has,fluid,properties,discre-,tised,using,fe,indicated,using,warped,grid,,but,in,sheath,is,better,represented,as,particles,indicated,by,dots.,•,electron,density,ne:,zero,flux,•,electron,energy,Ee:,zero,flux,•,ion,energy,Ei:,zero,flux,•,electrostatic,potential,Φ:,Dirichlet,equal,to,average,of,ΛbTe,along,the,boundary,•,neutral,density,nn:,incoming,flux,fixed,by,integral,of,particle,losses,in,parallel,direction,(exact,redistribution,to,be,discussed),8.2,Coupling,to,particles,The,only,appearance,of,particle,or,kinetic,effects,in,the,model,of,Section,8.1,is,via,the,sheath,boundary,condition.,A,more,detailed,treatment,of,the,sheath,uses,particle,techniques,cf.,Section,7,,where,the,different,representation,is,used,in,a,second,overlapping,region,as,indicated,in,Figure,3,taken,from,ref,[19].,25,9,System,3-1:,2-D,particle-based,model,of,neutral,gas,and,impuri-,ties,with,critical,physics,The,following,generic,transport,equation,[20,,§,1],applies,to,all,particle-based,models,for,the,time,evolution,of,the,density,distribution,function,f,(x,,v,,t),∂f,∂t,+,v,·,∂f,∂x,+,a,·,∂f,∂v,=,SC(f,),=,(cid:18),∂f,∂t,(cid:19),C,+,sexp(x,,v,,t),(121),where,a,=,d2x/dt2,is,the,acceleration,experienced,by,a,particle,at,position,x,with,velocity,v.,This,represents,scalar,advection,in,a,6-D,space,with,an,explicit,source,sexp(x,,v,,t),and,a,source,due,to,other,inter-particle,interactions,that,is,conventionally,written,(∂f,/∂t)C,when,it,is,localised,and,usually,depends,linearly,on,f,.,Complete,specification,of,the,problem,even,for,SC,=,0,and,a,single,species,of,particle,requires,a,force,law,such,as,that,for,particles,of,species,α,with,charge,qα,and,mass,mα,F,=,mα,d2x,dt2,=,qα(E,+,v,×,B),(122),and,equations,for,the,evolution,of,the,electromagnetic,fields,E(x,,t),and,B(x,,t),such,as,Maxwell’s,equations,,neglecting,displacement,current.,For,neutral,particles,,when,often,a,=,0,,interest,attaches,to,SC,which,for,2-particle,interactions,is,often,the,Boltzmann,operator,for,different,species,Q(fα,,fβ),where,α,,β,are,species,labels.,It,will,be,seen,that,Equation,(121),is,a,statement,that,the,7,−,D,Lie,derivative,of,f,vanishes,,and,it,is,hoped,that,in,the,longer,term,,the,properties,of,the,Lie,derivative,might,be,exploited.,For,current,purposes,,it,is,necessary,to,state,a,multi-species,version,of,Equation,(121),complete,with,appropriate,source,terms,to,represent,the,physics,thought,critical,for,modelling,the,tokamak,Inevitably,choice,of,SC,is,a,function,of,lengthscale,and,timescale.,On,fast,timescales,in,edge.,a,strong,electromagnetic,field,,the,effect,of,collisions,can,be,ignored,(collective,effects,are,felt,through,say,the,electrostatic,field).,26,10,Summary,Acknowledgement,The,support,of,the,UK,Meteorological,Office,and,Strategic,Priorities,Fund,is,acknowledged.,Valu-,able,input,from,Ben,Dudson,is,also,acknowledged.,Stuart,Henderson,provided,helpful,advice,concerning,plasma,radiation.,References,[1],Proxy,Applications.,https://proxyapps.exascaleproject.org,,2020.,Online;,accessed,May,2020.,[2],W.,Arter,,L.,Anton,,D.,Samaddar,,and,R.,Akers.,ExCALIBUR,Fusion,Mod-,elling,System,Science,Plan.,Technical,Report,CD/EXCALIBUR-FMS/0001,,UKAEA,,2019.,https://www.metoffice.gov.uk/binaries/content/assets/metofficegovuk/pdf/,research/spf/ukaea-excalibur-fms-scienceplan.pdf.,[3],E.C.,Howell,and,C.R.,Sovinec.,Solving,the,Grad–Shafranov,equation,with,spectral,ele-,ments.,Computer,Physics,Communications,,185(5):1415–1421,,2014.,http://dx.doi.org/,10.1016/j.cpc.2014.02.008.,[4],J.P.,Gunn,,T.,Hirai,,Y.,Corre,,F.,Escourbiac,,A.,Grosjean,,and,R.A.,Pitts.,A,study,of,planar,toroidal–poloidal,beveling,of,monoblocks,on,the,ITER,divertor,outer,vertical,target.,Nuclear,Fusion,,59(12):126043,,2019.,[5],R.,Dejarnac,,J.P.,Gunn,,P.,Vondracek,,M.,Komm,,R.,Panek,,and,R.A.,Pitts.,Physics,of,toroidal,gap,heat,loading,on,castellated,plasma-facing,components.,Nuclear,Materials,and,Energy,,19:19–27,,2019.,[6],J.D.,Huba.,NRL,Plasma,Formulary.,Technical,Report,NRL/PU/6790–07-500,,Naval,Research,Laboratory,,Washington,,2007.,Online,version,dated,2009,at,https://apps.dtic.mil/dtic/,tr/fulltext/u2/a499299.pdf.,[7],S.I.,Braginskii.,Transport,Processes,in,a,Plasma.,In,M.A.Leontovich,,editor,,Reviews,of,Plasma,Physics,Vol.1,,pages,205–311.,Consultants,Bureau,,New,York,,1965.,[8],J.P.,Goedbloed,and,S.,Poedts.,Principles,of,magnetohydrodynamics:,with,applications,to,laboratory,and,astrophysical,plasmas.,Cambridge,University,Press,,2004.,[9],J.A.,Wesson.,Tokamaks,,3rd,Edition.,Clarendon,Press,,Oxford,,2003.,[10],P.H.,Roberts.,An,Introduction,to,Magnetohydrodynamics.,Longmans,,London,,1967.,[11],L.C.,Appel,,I.,Lupelli,,and,JET,Contributors.,Equilibrium,reconstruction,in,an,iron,core,toka-,mak,using,a,deterministic,magnetisation,model.,Computer,Physics,Communications,,223:1–,17,,2018.,27,[12],E.,Havl´ıˇckov,´a,,W.,Fundamenski,,F.,Subba,,D.,Coster,,M.,Wischmeier,,and,G.,Fishpool.,Benchmarking,of,a,1D,scrape-off,layer,code,SOLF1D,with,SOLPS,and,its,use,in,modelling,long-legged,divertors.,Plasma,Physics,and,Controlled,Fusion,,55(6):065004,,2013.,[13],D.,Xiu,and,G.,E.,Karniadakis.,Modeling,uncertainty,in,flow,simulations,via,generalized,poly-,nomial,chaos.,Journal,of,computational,physics,,187(1):137–167,,2003.,[14],W.,Arter,,E.,Threlfall,,and,J.,Parker.,Report,on,user,layer,design,for,Uncertainty,Quantification.,Technical,Report,CD/EXCALIBUR-FMS/0024-M3.1.3,,UKAEA,,2020.,[15],W.T.,Taitano,,D.A.,Knoll,,L.,Chac,´on,,and,G.,Chen.,Development,of,a,Consistent,and,Stable,Fully,Implicit,Moment,Method,for,Vlasov–Amp,`ere,Particle,in,Cell,(PIC),System.,SIAM,Journal,on,Scientific,Computing,,35(5):S126–S149,,2013.,[16],G.,Chen,,L.,Chacon,,and,D.C.,Barnes.,An,energy-and,charge-conserving,,implicit,,electro-,static,particle-in-cell,algorithm.,Journal,of,Computational,Physics,,230(18):7018–7036,,2011.,[17],V.M.,Zhdanov.,Transport,processes,in,multicomponent,plasma.,CRC,Press,,2002.,[18],W.B.,Thompson.,An,Introduction,to,Plasma,Physics.,Pergamon,,1962.,[19],W.,Arter,,L.,Anton,,and,D.,Samaddar.,Options,for,Particle,Algorithms.,Technical,Report,CD/EXCALIBUR-FMS/0013-1.01-M2.3.1,,UKAEA,,2020.,[20],J.J.,Duderstadt,and,W.R.,Martin.,Transport,Theory.,Wiley,,1979.,[21],L.,Golub,and,J.M.,Pasachoff.,The,solar,corona,,2nd,Edition.,Cambridge,University,Press,,2010.,[22],V.A.,Ambartsumyan,,editor.,Theoretical,Astrophysics,,translated,by,J.B.Sykes.,Pergamon,Press,,1958.,[23],M.,O’Mullane.,Atomic,Processes,in,Plasmas.,Slides,from,45th,Culham,Plasma,Physics,Summer,School,,2008.,CCFE,intranet,,not,publicly,available.,[24],R.J.,Bray,and,R.E.,Loughhead.,Sunspots.,Dover,Publications,,1964.,[25],The,ADAS,Project.,Atomic,Data,and,Analysis,Structure,ADAS,website.,http://www.adas.,ac.uk/,,2020.,Accessed:,July,2020.,[26],The,ADAS,Project.,Dissemination,of,atomic,data,and,analysis,structure,adas,website.,https:,//open.adas.ac.uk/,,2020.,Accessed:,July,2020.,[27],Gwyn,Williams.,Electron,Binding,Energies.,https://userweb.jlab.org/~gwyn/ebindene.,html,,2000.,Accessed:,July,2020.,[28],H.,Summers,,M.,O’Mullane,,and,A.,Whiteford.,ADAS:,Atomic,data,,modelling,and,analysis,for,fusion.,https://icamdata2006.obspm.fr/documents/icam_pdf/Summers.pdf,,2006.,Slides,from,Meudon.,28,[29],N.R.,Badnell,,M.G.,O’Mullane,,H.P.,Summers,,Z.,Altun,,M.A.,Bautista,,J.,Colgan,,T.W.,Gorczyca,,D.M.,Mitnik,,M.S.,Pindzola,,and,O.,Zatsarinny.,Dielectronic,recombination,data,for,dynamic,finite-density,plasmas-I.,Goals,and,methodology.,Astronomy,&,Astrophysics,,406(3):1151–1165,,2003.,[30],J.-Ch.,Sublet,,J.W.,Eastwood,,J.G.,Morgan,,M.R.,Gilbert,,M.,Fleming,,and,W.,Arter.,FISPACT-,II:,An,Advanced,Simulation,System,for,Activation,,Transmutation,and,Material,Modelling.,Nuclear,Data,Sheets,,139:77–137,,2017.,http://dx.doi.org/10.1016/j.nds.2017.01.,002,,website:,https://fispact.ukaea.uk/.,[31],S.S.,Henderson,,M.,Bluteau,,A.,Foster,,A.,Giunta,,M.G.,OMullane,,T.,P,¨utterich,,and,H.P.,Sum-,mers.,Optimisation,and,assessment,of,theoretical,impurity,line,power,coefficients,relevant,to,ITER,and,DEMO.,Plasma,Physics,and,Controlled,Fusion,,59(5):055010,,2017.,[32],S.S.,Henderson,,M.M.,Bluteau,,M.G.,OMullane,,and,H.P.,Summers.,Improvements,of,impu-,rity,line,ITER,and,DEMO,via,systematic,optimisation,of,atomic,structure.,Technical,Report,UKAEA-CCFE-PR(18)31,,CCFE,,2018.,A,Annex,A:,Atomic,and,Molecular,Effects,Often,the,radiation,emitted,and,absorbed,by,atoms,in,different,ionisation,states,must,be,accounted,for.,There,is,a,compact,introduction,in,Golub,and,Pasachoff,[21,,§,3.3.1].,This,explains,how,in,principle,,given,a,“particular,mixture,of,elements,at,a,specified,temperature,.,.,.,the,number,of,atoms,per,unit,volume,of,the,gas,which,are,in,a,particular,ionisation,state,may,be,calculated,.,.,.,then,for,that,atom,which,emission,lines,are,emitted”,and,so,on,for,all,other,constituents,of,the,mixture.,(Temperature,refers,to,a,black-body,radiation,field,in,which,the,atoms,are,assumed,to,sit.),“The,sum,total,of,all,these,bound-bound,emissions,,plus,the,bound-free,and,free-free,emissions”,is,the,spectrum,,where,it,is,explained,that,‘bound’,and,‘free’,describe,the,state,of,the,electron,involved,in,the,formation,of,the,line,with,respect,to,the,atom.,But,“in,practice,,carrying,out,this,calculation,is,.,.,.,enormously,complicated”.,The,complication,follows,from,the,range,of,competing,mechanisms,even,within,atoms,of,one,ele-,ment,,namely,the,bound-bound,mechanisms,of,decay,and,excitation,described,in,ref,[21,,§,3.2.1],,and,bound-free,of,recombination,and,photo-emission,,because,of,the,different,possible,degrees,of,ionisation,as,atomic,number,A,increases,and,because,the,proportion,of,atoms,in,each,ionisation,state,depends,on,the,proportions,in,the,others.,Ambartsumyan,[22,,§,5],explains,at,greater,length,the,calculation,in,thermal,equilibrium,of,the,proportion,of,different,ions,for,each,element,[22,,§,5.2],,then,the,bound-free,/,free-bound,coeffi-,cients,(§,5.3—§,5.5),and,free-free,(§,5.6).,In,[22,,§,24.1–24.2],there,is,a,discussion,of,metastable,states,,which,in,the,astrophysical,context,are,crucial,for,the,formation,of,forbidden,lines,in,nebu-,lae,,but,may,also,be,important,in,the,context,of,fusion,because,these,metastable,atomic,states,can,survive,for,many,seconds,at,low,densities,of,matter,and,of,radiation.,By,metastable,state,is,meant,that,no,transition,to,it,from,lower,energy,levels,of,the,electrons,is,possible,except,for,the,so-called,‘forbidden’,,less,probable,electric,quadrupole,interactions,from,the,quantum-mechanical,matrix,elements.,29,The,above,outlines,the,main,physics,issues.,From,O’Mullane’s,slides,at,the,2008,Summer,School,[23],,the,main,difference,between,astrophysics,and,fusion,application,seems,to,be,that,in,the,plasma,context,,if,it,is,used,,Saha’s,ionisation,formula,needs,modification,by,the,Saha-,Boltzmann,deviation,factors,bn,or,‘b-factors’,ref,[23,,slide,21].,The,Zeeman,effect,is,also,neglected,,although,this,might,be,expected,to,be,important,,as,from,its,use,in,sunspot,observation,[24,,§,5.2],spectral,line,splitting,by,wavelengths,of,0.1,nm,is,expected.,The,key,observation,is,from,O’Mullane,[23],that,in,tokamak,modelling,,there,are,two,distinct,uses,for,atomic,data,-,(1),to,calculate,source,(loss),terms,for,species,time,evolution,equations,,and,(2),to,compute,synthetic,spectra,,ie.,intensity,as,a,function,of,frequency.,The,latter,(2),is,by,far,the,more,involved,but,it,is,only,critical,for,diagnosticians,working,with,particular,apparatus.,Indeed,,Golub,and,Pasachoff,[21,,§,3.3.2],go,on,to,argue,that,for,an,optically,thin,plasma,,the,radiation,(in,W/m3),could,be,expressible,as,simply,as,ER,=,nenpP,(T,),(123),where,np,accounts,for,the,number,density,of,the,plasma,ions,and,P,(T,),is,the,emitted,power,integrated,over,all,wavelengths,for,a,plasma,with,a,specified,mix,of,elements.,The,separate,functions,used,to,compute,P,(T,),depend,mainly,on,electron,temperature,with,a,weak,dependence,on,density.,The,form,of,P,(T,),as,a,result,of,the,integration,over,spectrum,always,seems,to,be,smooth.,It,would,seem,to,be,a,prime,candidate,for,precomputation,as,a,function,of,the,fractions,of,the,major,plasma,species,,and,could,be,approximated,very,efficiently,because,of,the,smoothness.,O’Mullane,[23],give,a,more,detailed,result,,namely,that,there,is,a,source/sink,term,for,electron,energy,of,form,Se,=,−ER,=,ne,Z=Z0(s),(cid:88),(cid:88),s,Z=0,P,ZnZ,−,I,Z,(cid:0)S,Z→ZpnZ,+,αZp→ZnZp(cid:1),(124),where,Z,is,charge,state,,the,suffix,s,on,the,density,has,been,dropped,,Zm,=,Z,−,1,,Zp,=,Z,+,1,,and,where,Z0(s),is,the,number,of,charge,states,of,species,s,included,in,the,model.,It,may,be,inferred,that,S,Zm→Z,or,S,Z→Zp,=,ionisation,coefficient,αZ→Zm,or,αZp→Z,=,partial,dielectronic,recombination,rate,coefficient,P,Z,=,radiated,power,per,atom,of,nZ,I,Z,=,power,per,atom,released,in,dielectronic,recombination,(125),(126),(127),(128),where,the,coefficients,,as,elsewhere,in,this,section,,are,expected,to,be,obtained,from,the,Atomic,Data,and,Analysis,Structure,ADAS,database,[25,,26].,The,data,requirements,for,this,look,relatively,modest,,assuming,the,coefficients,for,each,species,and,charge,state,are,smooth,functions,of,temperature,only.,Thus,if,say,NT,≈,20,samples,specify,these,functions,and,Zsum,=,(cid:80),s,Z0(s),,then,the,total,number,of,coefficients,required,could,be,estimated,as,Zsum,×,3,×,NT,≈,20,×,3,×,10,=,600,where,if,the,number,of,different,elements,present,Ns,=,10,,and,if,the,average,number,of,charge,states,¯NZ,=,2,,then,Zsum,=,Ns,¯NZ,≈,20.,In,another,case,of,interest,,a,calculation,might,include,only,two,or,three,extra,species,if,one,were,Tungsten,(W),,so,Ns,=,4,but,then,NZ,=,22,for,W,alone,if,Te,>,40,eV,[27].,30,The,number,densities,nZ,for,each,charge,state,may,be,straightforwardly,calculated,by,solving,a,transport,equation,for,each,isotope,ns,and,using,the,Saha-Boltzmann,formula,modified,with,b-factors,to,determine,the,distribution,of,charge,states.,(Further,,for,heavier,elements,a,mean,atomic,mass,may,be,used,to,avoid,separate,treatment,of,isotopic,species.),Much,more,serious,implications,for,computation,[23],,arise,in,the,time,evolution,equations,if,each,charge,state,is,treated,separately.,This,may,be,necessary,in,a,strong,electric,field,because,each,different,ion,feels,a,different,electromagnetic,force.,An,ion,of,species,s,with,charge,state,Z,will,acquire,a,source,s,=,S,Zm→ZnenZm,−,(cid:0)αZ→Zm,+,S,Z→Zp(cid:1),nenZ,+,αZp→ZnenZp,SZ,where,again,the,suffix,s,on,the,density,has,been,dropped.,Thus,the,demands,on,atomic,data,are,not,very,different,from,those,for,the,energy,equation,,but,since,the,total,cost,of,these,additional,computations,with,Z0(s),extra,species,will,scale,at,least,as,fast,as,Zsum,=,(cid:80),s,Z0(s),(inter-species,coupling,may,add,considerably,to,the,computational,expense),,rendering,negligible,the,cost,of,inputting,a,few,thousand,coefficients,from,disc.,In,practice,a,useful,surrogate,is,produced,by,replacing,separate,ionisation,states,by,‘superstages’,(slide,17,of,ref,[28]),,where,one,superstage,corresponds,to,one,electron,shell,of,the,atom.,However,,even,the,smaller,number,of,7,superstages,required,for,W,might,double,or,treble,the,length,of,a,typical,computation.,(129),The,above,is,typically,as,much,detail,as,is,sensible,to,consider,under,heading,(1).,If,detailed,diagnostics,under,(2),are,required,,the,generalised,collisional-radiative,(GCR),model,[29],gives,an,idea,of,the,computational,demands.,GCR,modelling,requires,each,metastable,state,to,be,considered,separately,,since,each,has,a,separate,finite,lifetime.,It,helps,that,the,transport,of,each,atom,in,the,state,is,presumably,the,same,,but,even,so,there,is,a,need,to,solve,a,rate,equation,for,metastable,state,density,at,sample,points,throughout,the,computational,domain,The,source,terms,are,complicated,,namely,for,the,metastable,state,labelled,ρ,SZ,ρ,/ne,=,+,+,+,(cid:88),σ,(cid:88),µ,(cid:88),ν,(cid:88),σ,X,Z→Z,σ→ρ,nσ,−,(cid:88),X,Z→Z,ρ→σ,nρ,µ→ρ,nZm,S,Zm→Z,σ,µ,−,(cid:88),S,Z→Zp,ρ→ν,nρ,ν→ρ,nZp,αZp→Z,ν,−,ν,(cid:88),αZ→Zm,ρ→µ,nρ,QZ→Z,σ→ρ,nσ,−,µ,(cid:88),σ,QZ→Z,ρ→σ,nρ,(130),(131),(132),(133),where,the,superfix,Z,as,well,as,the,suffix,s,on,the,density,has,been,dropped,and,the,new,symbols,are,X,Z→Z,QZ→Z,σ→ρ,=,generalised,collisional-radiative,(GCR),excitation,coefficient,σ→ρ,=,parent-metastable,cross-coupling,coefficient,(134),(135),Note,that,the,expressions,in,both,ref,[29,,eq.,(9)],and,ref,[23,,slide,41],appear,to,contain,typos,,and,that,the,meanings,of,X,and,Q,have,swapped.,Each,of,the,new,terms,contains,approximately,8MZ,coefficients,where,MZ,is,the,number,of,metastable,states,for,species,s,(which,includes,the,ground,state).,It,may,be,inferred,from,refs,[23,,28],that,the,number,of,metastable,states,for,a,given,ionisation,Z,is,relatively,small,(slide,9,of,ref,[28],indicates,that,all,ionisation,states,for,Oxygen,31,have,Mz,≤,4;,slide,19,suggests,MZ,≤,6,for,W,when,T,e,<,100,eV).,The,coefficients,X,,,S,,Q,in,Equation,(130),are,functions,of,electron,density,as,well,as,temperature,so,may,require,at,least,100,sample,points,to,specify,,hence,the,total,data,can,be,estimated,as,Zsum×MZ,×8MZ,×100.,However,FISPACT-II,[30],experience,with,rate,equations,indicates,the,cost,of,these,additional,computations,with,MZ,metastables,far,exceeds,the,cost,of,inputting,of,order,ten,or,so,thousand,coefficients,from,disc.,Where,the,demands,of,data,might,become,important,is,in,the,translation,of,the,nZ,σ,into,spectral,lines.,First,the,regular,excited,states,,because,they,equilibrate,on,the,usual,atomic,timescales,which,are,negligible,compared,to,plasma,timescales,,are,calculated,using,a,purely,algebraic,rela-,tion,[29,,eq.,(5)],,nZ,i,/ne,=,(cid:88),X,FiσnZ,σ,+,I,FiµnZm,µ,+,(cid:88),(cid:88),RFiνnZp,ν,(136),σ,µ,ν,where,X,I,RFiσ,are,the,coefficients,of,excitation,,ionisation,and,recombination,for,the,transition,from,metastable,state,σ,to,regular,excited,state,i,,each,is,a,function,of,ne,and,Te,with,correspond-,ing,storage,requirement,of,order,100.,Equation,(136),requires,Zsum,×,MS,×,MZ,F,coefficients,where,MS,is,the,number,of,states,,which,is,potentially,infinite,,and,indeed,in,practice,could,be,as,large,as,≈,500,,necessitating,the,use,of,‘bundling’,of,the,higher,energy,states,to,reduce,the,number,to,manageable,proportions,,say,10,[29].,Next,,as,explained,in,the,opening,paragraph,,to,each,state,there,corresponds,a,description,of,its,spectrum,,which,may,contain,many,separate,lines,,each,described,by,its,wavelength,,relative,amplitude,and,a,profile,shape,which,may,require,several,further,parameters,to,describe.,Mitigating,the,demand,for,coefficient,data,,is,the,fact,that,the,diagnostics,need,only,be,computed,intermittently.,To,treat,atomic,physics,UQ,in,a,later,stage,of,NEPTUNE,,a,Monte-Carlo,calculation,might,be,considered,,involving,all,the,different,interactions,between,all,the,metastable,states,where,the,Maxwellian,assumption,is,relaxed,,posing,a,multiscale,multiphysics,problem.,However,,the,validity,of,this,approach,requires,further,consideration,as,Henderson,et,al,[31],also,indicates,that,even,as,recently,as,2017,,errors,of,30,%,were,present,in,important,coefficients,,although,the,discrepancies,have,now,been,reduced,to,approximately,5,%,[32].,32 :pdfembed:`src:_static/CD-EXCALIBUR-FMS0021-1.01-M1.2.1_YearOneSummaryReport.pdf, height:1600, width:1100, align:middle`