Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] addj_v1_0.tar.gz(243 Kbytes)
Manuscript Title: CARRE: a quasi-orthogonal mesh generator for 2D edge plasma modelling.
Authors: R. Marchand, M. Dumberry
Program title: CARRE
Catalogue identifier: ADDJ_v1_0
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 96(1996)232
Programming language: Fortran.
Computer: DEC alpha 3000.
Operating system: UNIX.
RAM: 1.2M words
Word size: 32
Keywords: Plasma physics, Transport, Orthogonal mesh Generation, Tokamak edge and Divertor modelling.
Classification: 19.11.

Nature of problem:
CARRE calculates a structured mesh with quadrilateral elements of the type used in several transport codes which simulate edge and divertor regions of tokamaks from numerically generated equilibria. The code accounts for actual machine geometry.

Solution method:
The mesh is constructed by parametrising contour curves for specified values of the poloidal flux function, and by distributing grid points so as to obtain a mesh which is as orthogonal as possible. From a distribution of points on an initial flux surface, the points on neighbouring surfaces are calculated iteratively by a relaxation process.

Restrictions:
The only geometries considered in CARRE are those with a divertor. Those include single null, connected double null, and disconnected double null geometries.

Running time:
On a DEC-alpha 3000, the construction of a disconnected double null geometry with a total of 3676 mesh points takes approximately two minutes of CPU.