# Presentation: 035246

## FACETS: Framework Application for Core-Edge Transport Simulations

- J. R. Cary
**Tech-X Corporation**

- https://www.facetsproject.org/facets

## FACETS: Framework Application for Core-Edge Transport Simulations

***Framework application:***** an application designed to allow a series of computations with ever increasing fidelity and, therefore, to include successively more sophisticated models, in particular of each of the aspects of a fusion confinement device.**

- In-reach:
- Fang (Cherry) Liu, Bramley/IU, Dist components
- Mahmood Miah, Jardin/PPPL, MHD Eq.

## FACETS background

**Part of SciDAC portfolio of the Office of Fusion Energy Sciences**
**Proposed in April, 2006**
**Funded January 1, 2007**
**Multi-institutional main project: Tech-X (Physics, CS/AM), LLNL (Physics, CS/AM), PPPL (Physics), ANL (CS/AM), UCSD (Physics), CSU (AM), ORNL (CS, perf), ParaTools (CS, perf)**
**Appended SAP: GA, ORNL**
**Advisory: Columbia, LBNL, IU, MIT, NYU, Lodestar**
**In collaboration with the CETs: TOPS, TASCS, VACET**

- PSCAI, PPPL, 8 Jun 07

## FACETS goals

**Provide coupled core-edge-wall computational capability to the fusion community **
**At various levels of detail**
**Serial and **parallel
**Make impact on ITER and existing/new machines**
**Device selection (heating)**
**Scenario development**
**Operation**
**Analysis**
**Maximal reuse of existing (legacy) software**
**Take advantage of petascale computing facilities: **a priori parallel
**Have FACETS broadly installed and in use (move beyond “users = developers”)**

- PSCAI, PPPL, 8 Jun 07

## Core-edge-wall integration involves multiple dimensionalities

- PSCAI, PPPL, 8 Jun 07

**Plasma-wall interaction is 2-D**

- 

**Closed field lines: slow perpendicular + fast ****parallel transport**
**	********Quantities 1-D**
**Hot plasma**
**	********Collisionless, no significant atomic physics ****	****	****(except beams)**

**Open field lines: so parallel transport must balance perpendicular**
**	********Quantities are 2-D**
**Cool plasma**
**	********Collisional, atomic physics is important**

## Idealized view: Surfacial couplings between phase transitions

**Core is a collisionless, 1-D transport system with local, only-cross-surface fluxes.**
**Edge is a collisional, 2-D transport system.**
**Wall: beginning of a particle trapping matrix.**
*Surfacial couplings*

**Same points**

**Wall**

**Coupling**

## Justification for core-edge coupling needs matching

**Sufficiently inside the last closed flux surface, 2-D effects are small.**
**Moving out, plasma becomes more collisional.**
**Both approximations exist—allows matching.**
**Basis requires matching theory**

**single point magnetically**

**Separation represents 1/parallel transport**

## FRAMEWORK: Layering set packages not dependent on their layer or higher

**Edge**

- PSCAI, PPPL, 8 Jun 07

**facets**
- main

**fcifcs**
- fusion objects, interactions, access

**external util**
- MPI, HDF5,

**fcstd**
- fusion independent objects

**stdc++, txbase**
- containers

**fctrol**
- overall container and control

**Equilib**

**Transport**

**Wall**

**IO**

**Comm**

- Invocation

- Control

- Implementation

- Data and interaction

- Tools

**external phys, slv**
- NUBEAM,UEDGE

**fctest**
- regression tests

**fcunit**
- Unit tests

## Contacts

- John R. Cary
- Tech-X Corporation(303) 448-0728
- cary@txcorp.com
- J. A. Kuehn
- Future Technologies GroupComputer Science and MathematicsOak Ridge National Laboratory
- (865) 241-6134
- kuehn@ornl.gov

-    Cary_FACETS_SC07