Order-of-magnitude estimates for tokamak edge modelling

Suppose plasma number density n1018  m3. Order of magnitude dimensions are L00.1 m for SOL thickness, reactor minor and major radii say a=3 m and R0=10 m, so the volume of SOL 4π2aR0L0100 m3. It follows that the total number of electrons 1020.

The shortest timescale is inverse |e|B/me, the electron cyclotron frequency, where the ratio of charge to mass for the electron is |e|/me=1.76×1011 C kg1, and B10 T, so τce1012 s. Hence the number of particle-steps to evolve 1 s of physical time is 1020+12+1 (assuming of order 10π timesteps per orbit), which assuming 1000 flop per update, needs a total of 1036 flop. Thus to complete a computation in 1 s on Exascale machine, only one 1 particle-step in 1018 is allowed. This implies for example only 100 superparticles in the volume can be used supposing each has a weight 1018, which is unlikely to be adequate because electrostatic and other effects will produce a noise level that swamps any physical effects. However if 3 or 4 months (approx. 107 s) are allowed, then a calculation with 109 particles may be performed if memory-access bandwidth constraints can be satisfied, when the noise levels may be manageable.

The situation may be shown to be a million times easier for neutrals considered separately, assuming neutral density n=n, particle mass mp and temperature Tn=10 eV, for a timescale of τn=Lmfp/vn where the mean free path LmfpL0 and the neutral speed typically is vn. For then vn=|e|Tn/mp=|e|/meme/mpTn, ie. vn4×105×(1/40)×103×104. Thus τn106 s, ie. a million times longer than the electron cyclotron timescale.

Suppose a fluid model is employed instead, ie. the electron distribution is represented by its first 3 moments. If the electron temperature Te10 eV, then the thermal speed cse40vn106 m s1. Supposing the SOL to be sampled at a uniform 1 mm interval, then the number of sample-points 1011, and the timestep for an explicit scheme (103/106)109 s, so the number of sample-point updates is 1011+9. Assuming 1000 flop each update, this means one second of physical time needs 1023 flop or 105 s1 d of Exascale machine time, if memory-access bandwidth constraints can be satisfied. If an implicit scheme is used to simulate plasma ions as a fluid on a drift type timescaleL0/csi, then possibly the timestep τiτn106 s, ie. a thousand times larger, and calculations lasting only a few minutes might suffice.

Another way of looking at this is to suppose that numerical problem is D-dimensional, 1000 flop are needed for each sample update and ND samples per spatial dimension and ND2 time samples are allowed. Then to update such a model in 1 s requires NDD+21015. Thus if D=3, N31000, and N5100. It seems that accuracy controlled, unstructured, implicit fluid models should be possible, although for the more complex models 1000 flop per update may be an underestimate by orders of magnitude.