Turbulence in the edge plasma of a tokamak is a key actor in the determination of the confinement properties. The divertor configuration seems to be beneficial for confinement, suggesting an effect on turbulence of the particular magnetic geometry introduced by the X-point. Simulations with the 3D fluid turbulence code TOKAM3X are performed here to evaluate the impact of a diverted configuration on turbulence in the edge plasma, in an isothermal framework. The presence of the X-point is found, locally, to affect both the shape of turbulent structures and the amplitude of fluctuations, in qualitative agreement with recent experimental observations. In particular, a quiescent region is found in the divertor scrape-off layer (SOL), close to the separatrix. Globally, a mild transport barrier spontaneously forms in the closed flux surfaces region near the separatrix, differently from simulations in limiter configuration. The effect of turbulence-driven Reynolds stress on the formation of the barrier is found to be weak by dedicated simulations, while turbulence damping around the X-point seems to globally reduce turbulent transport on the whole flux surface. The magnetic shear is thus pointed out as a possible element that contributes to the formation of edge transport barriers.
The simulation of fusion plasmas in realistic magnetic configurations and tokamak geometries still requires the development of advanced numerical algorithms owing to the complexity of the problem. In this context, we propose a Hybrid Discontinuous Galerkin (HDG) method to solve 2D transport fluid equations in realistic magnetic and tokamak wall geometries. This high-order solver can handle magnetic equilibrium free structured and unstructured meshes allowing a much more accurate discretization of the plasma facing components than current solvers based on magnetic field aligned methods associated with finite-differences (volumes) discretization. In addition, the method allows for handling realistic magnetic equilibrium, eventually non steady, a critical point in the modeling of full discharges including ramp up and ramp down phases. In this paper, we introduce the HDG algorithm with a special focus on recent developments related to the treatment of the cross-field diffusive terms, and to an adaptive mesh refinement technique improving the numerical efficiency and robustness of the scheme. The updated solver is verified with a manufactured solution method, and numerical tests are provided to illustrate the new capabilities of the code.