11
Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th May 2007

Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th May 2007

  • Upload
    dolan

  • View
    36

  • Download
    0

Embed Size (px)

DESCRIPTION

Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th May 2007. Visualization of Plasma in Fusion Devices Antecedents. Stellerator TJ-II (Madrid) Magnetic Confinement Investigate Plasma prop. National infrastructure Research CIEMAT. Schema of the TJ-II design. - PowerPoint PPT Presentation

Citation preview

Page 2: Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th  May 2007

1st year Review Interactive European Grid, Brussels 30th May 2007 2

Visualization of Plasma in Fusion Devices

Antecedents

Stellerator TJ-II (Madrid)

• Magnetic Confinement • Investigate Plasma prop.

• National infrastructure

• Research CIEMAT

Schema of the

TJ-II design

Visualization using

Computational tools

(OpenGL, Fox toolkit)

Computing Visualization of TJ-II

Page 3: Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th  May 2007

1st year Review Interactive European Grid, Brussels 30th May 2007 3

Visualization of Plasma in Fusion Devices

Computational details The application visualizes the behaviour of plasma inside a Fusion

device Runs are foreseen as a part of a so called Fusion Virtual Session The plasma is analyzed as a many body system consisting of N

particles

Inputs

Geometry of the vacuum chamberMagnetic field in the environmentInitial number, position, direction, velocity of particlesPossibility of collisions between particlesDensity of particles inside the device

Solves a set of Stochastic Differential Equations with Runge-Kutta method

OutputsTrajectories of the particlesAverage of relevant magnitudes: densities, temperatures...

Page 4: Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th  May 2007

1st year Review Interactive European Grid, Brussels 30th May 2007 4

Porting the application to int.eu.grid

Spread the calculation over hundreds of Worker Nodes on the Grid to increase the number of particles in the plasma.

Design of a Grid collaborative environment for fusion device designing and analysis.

N particles distributed among P processes: MPI

Particle trajectories are displayed graphically

Interactive simulation steering

Page 5: Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th  May 2007

1st year Review Interactive European Grid, Brussels 30th May 2007

Global Schema

MPI + Interactivity + Visualization

Page 6: Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th  May 2007

1st year Review Interactive European Grid, Brussels 30th May 2007

Application startup

P0

P1

P2

P3

MasterP0

N particles divided among P

Processors: N / P

Master process uses mpi-start

to distribute input to Child processes

P1

P2

P3

Magnetic field

background

SE,http,

Input:

Number of particles,

Simulation properties (file),

Magnetic field background

Page 7: Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th  May 2007

1st year Review Interactive European Grid, Brussels 30th May 2007

Fusion Application MPI Schema

P1 P0

P2 P3

MPI job distribution

Independent Processes

Master P0 does renderization

MPI synchronization

Every Process does own i/o

Page 8: Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th  May 2007

1st year Review Interactive European Grid, Brussels 30th May 2007

The User interacts with the Master

process for Visualization and Steering

Migrating Desktop

Application Plugin

Java Gvid Decoder

Event Interception

P0Master

Gvid Encoder

Event Reception

P1 P2

P3

KeyboardMouse

User Screen

Page 9: Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th  May 2007

1st year Review Interactive European Grid, Brussels 30th May 2007

How the whole system works

Job Submission Services CrossBroker

Logging&

Bookkeeping

Roaming Access Server

Computing Element

LRMS

Gatekeeper

JDLMigrating Desktop

RAS port,

RAS host

010011000

WorkerNode

gLoginSimulation +visualisation

SE

Simul. Res. 30GB

WorkerNode

vtk App

MP4 Encoder

Event Decoder

TCPTransport

SocketTransport

FileTransport

PipeTransport

rem

oteG

lut

Ap

plicatio

nG

Vid

Java Video P

layer

MP4 Decoder

Event Encoder

TCPTransport

SocketTransport

FileTransport

PipeTransport

Page 10: Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th  May 2007

1st year Review Interactive European Grid, Brussels 30th May 2007

Java plugin for the Migrating Desktop

pn=new MyPanel(); pn.setBorder(new MyTitledBorder("Simulation profile")); GridBagConstraints gbc1=new GridBagConstraints(); gbc1.insets=new Insets(2,2,2,2); gbc1.gridy=0; gbc1.anchor=GridBagConstraints.WEST;

GridBagLayout gbl1=new GridBagLayout(); pn.setLayout(gbl1); String[] profile_labels={ "Electronic Temperature", "Ionic Temperature", "Density", "Electric Field", "Whole Profile"}; for(i=0;i<profile_labels.length;i++) { JLabel label=new JLabel(profile_labels[i]); gbc1.gridy=i; gbl1.setConstraints(label,gbc1); pn.add(label); }

Page 11: Visualisation of Plasma in Fusion Devices Interactive European Grid 30 th  May 2007

1st year Review Interactive European Grid, Brussels 30th May 2007

Simulation steering on the

Migrating Desktop