1 / 11

Discussion Slides

S.E. Kruger, J.D. Callen, J. Carlson, C.C. Hegna, E.D. Held, T. Jenkins, J. Ramos, D.D. Schnack, C.R. Sovinec, D.A. Spong ORNL SWIM Meet October 15, 2007. Discussion Slides. Discussion Issues. Formulation issues Computational issues Applied math issues (esp. numerical accuracy)

kiara
Download Presentation

Discussion Slides

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. S.E. Kruger, J.D. Callen, J. Carlson, C.C. Hegna, E.D. Held, T. Jenkins, J. Ramos, D.D. Schnack, C.R. Sovinec, D.A. Spong ORNL SWIM Meet October 15, 2007 Discussion Slides

  2. Discussion Issues • Formulation issues • Computational issues • Applied math issues (esp. numerical accuracy) • Computer science problems (esp. MxN problem) • Longer term issues

  3. Formulation questions • Fundamental equation is: • What is the best way of formulating the problem? • Lots of discussion

  4. Issues of time dependence impact computer science coupling to be discussed next • What is the temporal dependence of the source? • For the plasma parameters thatwe are studying: • Slowing down time is ~100msec-1 sec? • Mod-B changes slow and small • MHD time scales: • NIMROD time step ~ 1 A ~1E-7 sec • Tearing mode growth rate ~ 1-100 msec • Total simulation time ~ 100 msec

  5. Possibilities for coupling include minimal coupling to full coupling • Assume Frfis ~constant in shape over simulation time • Coupling procedure: • Calculate Frf(x) from same equilibrium file that NIMROD uses • NIMROD reads Frf(x) and uses it like phenomenological sources (include such time dependence as phasing) • Assume Frfis much slower than NIMROD time step • Need to calculate source as NIMROD runs, but do not need to do it every time step • More difficult case: Calculate Frfat every time step • Propose: Start with first step, dump n=0 fields as simulation advances, perform ray tracing on it, see how Frf(x,t) changes in time

  6. Computer Science Issues for Full Scale Coupling Require a Solution to the MxN problem Processor Elements • Need to give fields (B,n,T) on multiple processors to ray tracing code in format that it understands • Possible solutions: • File based: Unlikely to work for anything but the loosest coupling • MPI-based that is hand-coded: • Very doable (see next slide) • MCT or other parallel coupling toolkit package • Overkill for this problem, but for long term gains? Ray Tracing (Assumed serial) Fluid Processors

  7. NIMROD already has solution for MxN problem for CEL closures • Recall for of CEL closure: • Each integration is independent -- trivially parallizable • Difficulties are in load balancing as related to temporal advance • Exact same coding can be used to do ECCD ray tracing Processor Elements Processor Elements Fluid Processors Closure Processors Fluid Processors Closure Processors

  8. Implementation Details • What codes are we coupling? • NIMROD • GENRAY? • Does it handle island geometry? • Should we write one from scratch using the CEL machinery?

  9. Numerical issues for closure • Synchronization/numerical stability issues • Closure relation used in MHD code at time t, but based on field data from t - t (or earlier) • Is it adequate to only update closure relation at every N (>1) timesteps rather than every time step? • Computational readiness issues • Data connections/interfaces need to be developed between MHD code and closure relation code and vice versa • Feasibility of calculating closure relations in real-time with time-evolving MHD code vs. computing closure relation offline for a few “typical” NTM cases and fitting to a model • Island detection and separatrix tracking • Could save time by allowing closure relation calculations to focus only on regions interior to islands rather than entire plasma volume • Issues specific to collisional particle models • Need to run finite time interval to get beyond startup transient => collisional quasi-equilibrium • Need to test warm restarts from previous time step • Noise reduction/filtering/smoothing methods (GLRA SVD, spline fit) required in going from discrete particle data back to MHD equations • Form of closure relation • Provide viscosity (stress) tensor - maintains consistency with flow velocities from MHD model • “Black box” closure relation - only supplies pressure tensor - possibly consistent with MHD flows after many time steps, but not at a detailed level

  10. Longer term issues • ITER has more than ECCD • Lower hybrid CD and Ion Cyclotron CD • Lower Hybrid • LHCD produces a long tail on electrons. What to do for closure consistency? • ICRF • Moment approach definitely not OK • Hot particle closure would work (?) • Lots of overlap with the energetic particle SciDAC here • Can they handle island geometry? • Our goal should be for full ITER simulation capability, but lots of details are buried here • Need improved Fokker-Planck codes • Sensitivity to hot particle distribution functions (ref. Diego’s work) • MxN issues between full-wave codes and MHD codes • Island effects in full wave codes?

  11. Near term issues • Let’s get Frf(x) from a ray tracing code ASAP • What code we use? • Where do we get Qnl?

More Related