• Aucun résultat trouvé

Mesh generation for fusion applications

N/A
N/A
Protected

Academic year: 2021

Partager "Mesh generation for fusion applications"

Copied!
2
0
0

Texte intégral

(1)

HAL Id: hal-01950388

https://hal.inria.fr/hal-01950388

Submitted on 10 Dec 2018

HAL is a multi-disciplinary open access

archive for the deposit and dissemination of sci-entific research documents, whether they are pub-lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Mesh generation for fusion applications

Herve Guillard, Jalal Lakhlili, Alexis Loyer, Ahmed Ratnani, Eric Sonnendrücker

To cite this version:

Herve Guillard, Jalal Lakhlili, Alexis Loyer, Ahmed Ratnani, Eric Sonnendrücker. Mesh generation for fusion applications. IPP Ringberg Theory Meeting, Nov 2018, Munich, Germany. �hal-01950388�

(2)

Mesh generation for fusion applications

Herv´e Guillard1, Jalal Lakhlili2 ?, Alexis Loyer1, Ahmed Ratnani2, Eric Sonnendr¨ucker2. 1 Inria Sophia-Antipolis, Nice, France.

2 Max-Planck-Institut f¨ur Plasmaphysik, Garching, Germany.

Mesh generation for fusion applications

Herv´e Guillard1, Jalal Lakhlili2 ?, Alexis Loyer1, Ahmed Ratnani2, Eric Sonnendr¨ucker2. 1 Inria Sophia-Antipolis, Nice, France.

2 Max-Planck-Institut f¨ur Plasmaphysik, Garching, Germany.

Context and motivations

- High anisotropy in magnetized fusion plasmas: ⇒ requires the use of flux aligned meshes. - Complex and realistic geometries:

⇒ need other strategies (equidistribution, orthogonality). - High order derivatives (in MHD for example):

⇒ require regular representation.

Sketch of a Tokamak reactor

Unified code for the generation of flux aligned mesh in the poloidal plane. - Different codes and type of meshes.

- Different numerical methods: – Semi-Lagrangian approaches. – Finite difference, Finite volume

– Finite Element (Spline or Hermite-Bezier on quadrangles; Powell-Sabin, Clough-Tocher on triangles, etc..)

Workflow diagram

Input data:

Flux field ψ from equilibrium code + the original mesh (+ boundary definition of the vacuum vessel)

Data regularization

Segmentation:

Decomposition of the domain into several patches → 1 patch is homeomorphic to a logical square

Splines approximation:

Construction of mesh grids of individual patches Wall interaction treatment

Gluing of diffrent patches to obtain the global mesh ⇒ export the description into HDF5 output

Pre-processing of the data

Isolines regularization

If the equilibrium solver results are not smooth enough : low-order discretization, coarse resolution, .. ⇒ Replace the flux function by its Clough Tocher interpolant on the refined mesh (locally).

Segmentation

- Based on Morse theory and Reeb graph.

- Automatic decomposition of isolines including arbitrary number of X-Points.

- Topological set of the isolines consists of finite connected components and contains only closed orbits. Examples of domain segementation for JET and WEST tokamaks:

Structured grid construction

I. Isolines generation

1. Identify a mapping: (s, t) ∈ [0, 1] × [0, 1] → x(s, t) ∈ Ω 2. Get the radial curve S (s), solution of the ODE:

     dx ds = ψM − ψ0 k∇ψk2 ∇ψ x (0) = x0

3. Compute the spline interpolation of the radial curve and generate a set of internal isolines.

II. Meshing of individual patch Ωk

1. Choose a finite number of isolines f−1(ci).

2. Approximate each level set by a spline: f−1(ci) ∼ Ci(t) = Pj CijNj(t). Nj: Bspline Basis.

Cij: Control Points.

3. Construct a 2D tensor product mapping [0, 1] × [0, 1] → Ωk:

S(s, t) = X

i

X

j

Pi,jNi(s)Nj(t), s.t. S(si, t) = Ci(t), ∀i.

III. Gluing patches

Given 2 subdomains Ω1 and Ω2 described by: S1(s, t) = X i X j Pi,jNi(s)Nj(t) S2(s, t) = X i X j Qi,jNi(s)Nj(t)

with a common boundary for instance: S1(0, t) = S2(0, t) 1. C0 continuity: P0,j = Q0,j, ∀j.

2. G1 continuity: geometric condition on the control points, P1,j, P0,j = Q0,j, Q1,j have to be aligned.

Multipatch example

Flux aligned mesh for JET (Core/Edge/SOL regions):

Summary

Development of a mesh generation software for tokamak simulations: - Can be used by different codes and handle different types of meshes. - Written in Python with Fortran bindings:

→ using open source libraries (except Segmentation module but free for academics).

Références

Documents relatifs

A l’aide d’un modèle postkeynésien, nous cherchons à déterminer si l’économie française est profit-led ou wage-led, c’est-à-dire si une hausse de la part des profits a

Although this value could be computed, seeds are almost never known beforehand: using seeds obtained through simpler (to compute) diagrams, such as Labelle and Shewchuk’s, or from

The responses of students related to the how they acquired their English language mostly, it revealed that social media plays an important role in vocabulary

From a user perspective, the meshing console offers a straightforward interface that enables a user to go from a CAD geometry to a complete Nektar++ XML mesh file without the need

This section details the two main steps of the surface remeshing method: the optimization of a given number of sampling points on the model (Section 3.2.3.1) and the building of

keywords: Unstructured mesh generation; Anisotropic mesh adaptation; Metric-based error estimates; Surface approxiamtion; Euler equations; Navier-Stokes equations; Local

CPU times to generate an empty volume mesh using the new generalized fast collapse operator, the standard collapse and ghs3d-tetmesh industrial mesh generator on a sequence of

left turn at full speed. The objectives of this work were as follows: i) to extend the scope and complexity of the predictions to include more flight conditions, ii) to evaluate