SlideShare a Scribd company logo
1 of 51
Download to read offline
Astronum	
  2012	
  
The	
  7th	
  Annual	
  Interna4onal	
  Conference	
  On	
  Numerical	
  Modeling	
  of	
  Space	
  
Plasma	
  Flows,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
A Solution Accurate, Efficient and Stable
3D Unsplit Staggered Mesh (USM) MHD
Solver in FLASH
Dongwook Lee
University of Chicago
The	
  Flash	
  Center	
  for	
  Computa2onal	
  Science	
  
Two	
  USM	
  papers	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
2D	
  paper,	
  JCP,	
  2009	
  
3D	
  paper,	
  submi.ed	
  to	
  JCP,	
  2012	
  
Astrophysical	
  Applica2ons	
  
	
  
	
  
HEDP	
  Applica2ons	
  
Outline	
  
q  Part	
  1:	
  
q  Reduced/Full	
  corner-­‐transport-­‐upwind	
  (CTU)	
  for	
  3D	
  
q  6	
  Riemann	
  solves	
  for	
  USM;	
  3	
  for	
  UHD	
  in	
  3D	
  
q  CFL	
  stability	
  limit	
  reaches	
  1	
  in	
  the	
  full	
  CTU	
  algorithm	
  
q  Part	
  2:	
  
q  Third	
  order	
  electric	
  fields	
  constrained-­‐transport	
  (CT)	
  scheme	
  for	
  USM-­‐
MHD	
  (Lee	
  and	
  Deane,	
  JCP,	
  2009)	
  
q  A	
  new	
  upwind	
  biased	
  CT	
  (Lee,	
  JCP,	
  2012,	
  under	
  review)	
  
	
  
q  Summary	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Part	
  1	
  
3D	
  Unsplit	
  Algorithms	
  for	
  USM	
  &	
  UHD:	
  	
  
Reduced	
  &	
  Full	
  CTU	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
MHD	
  Governing	
  Equa2ons	
  
q  MHD	
  system	
  of	
  equa4ons:	
  
q  This	
  can	
  be	
  wri[en	
  in	
  a	
  simple	
  	
  matrix	
  form:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
∂U
∂t
+
∂F
∂x
+
∂G
∂y
+
∂H
∂z
= 0
q  A	
  primi4ve	
  form:	
  
	
  	
  	
  	
  	
  	
  	
  
	
  	
  	
  	
  	
  	
  where	
  the	
  coefficient	
  matrix	
  is	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
Linearized	
  System	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
High-­‐Order	
  Corner	
  Transport	
  Upwind	
  (CTU)	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
q  Use	
  a	
  linearized	
  system	
  in	
  primi4ve	
  form	
  
q  High-­‐order	
  spa4al	
  reconstruc4on	
  &	
  
temporal	
  evolu4on	
  to	
  obtain	
  Riemann	
  
states	
  at	
  interfaces	
  (e.g.,	
  MH)	
  
q  Solve	
  Riemann	
  problems	
  using	
  the	
  
Riemann	
  states	
  
	
  
q  x-­‐direc4on:	
  
q  y-­‐direc4on:	
  
q  z-­‐direc4on:	
  
High-­‐Order	
  Corner	
  Transport	
  Upwind	
  (CTU)	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
q  Use	
  a	
  linearized	
  system	
  in	
  primi4ve	
  form	
  
q  High-­‐order	
  spa4al	
  reconstruc4on	
  &	
  
temporal	
  evolu4on	
  to	
  obtain	
  Riemann	
  
states	
  at	
  interfaces	
  (e.g.,	
  MH)	
  
q  Solve	
  Riemann	
  problems	
  using	
  the	
  
Riemann	
  states	
  
	
  
q  x-­‐direc4on:	
  
q  y-­‐direc4on:	
  
q  z-­‐direc4on:	
  
Normal	
  predictor	
   Transverse	
  corrector	
  
Usual	
  CTU	
  Algorithms	
  take…	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Usual	
  CTU	
  Algorithms	
  take…	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Usual	
  CTU	
  Algorithms	
  take…	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
	
  
q  Solve	
  1D	
  high-­‐order	
  reconstruc4ons	
  using	
  characteris4c	
  tracing	
  in	
  each	
  
normal	
  direc4on	
  to	
  get	
  Riemann	
  states	
  
Usual	
  CTU	
  Algorithms	
  take…	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Usual	
  CTU	
  Algorithms	
  take…	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
F∗
Vi, j,E
n+1/2
,Vi+1, j,W
n+1/2
( )G∗
Vi, j,N
n+1/2
,Vi, j+1,S
n+1/2
( )
Usual	
  CTU	
  Algorithms	
  take…	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
F∗
Vi, j,E
n+1/2
,Vi+1, j,W
n+1/2
( )G∗
Vi, j,N
n+1/2
,Vi, j+1,S
n+1/2
( )
+	
  Trans	
  Fluxes	
  in	
  y	
  &	
  z	
  
+	
  Trans	
  Fluxes	
  in	
  x	
  &	
  y	
  
+	
  Trans	
  Fluxes	
  in	
  x	
  &	
  z	
  
This	
  Leads	
  To	
  6-­‐CTU	
  &	
  12-­‐CTU	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
q  Depends	
  on	
  the	
  number	
  of	
  Riemann	
  problems	
  per	
  cell	
  per	
  4me	
  step:	
  
q  6-­‐CTU	
  (6	
  Riemann	
  problems)	
  	
  
q  Colella,	
  JCP,	
  1990;	
  Gardiner	
  &	
  Stone,	
  JCP,	
  2008	
  
q  A	
  simple	
  direct	
  extension	
  of	
  2D	
  CTU	
  to	
  3D	
  accoun4ng	
  for	
  a	
  single	
  
intermediate	
  state	
  n+1/2	
  
q  CFL	
  <	
  ½	
  
q  12-­‐CTU	
  (12	
  Riemann	
  problems)	
  
q  Saltzman,	
  JCP,	
  1992;	
  Gardiner	
  &	
  Stone,	
  JCP,	
  2008;	
  Minia4	
  &	
  Mar4n,	
  
ApJS,	
  2011	
  
q  More	
  expensive	
  approach	
  
q  Accoun4ng	
  for	
  two	
  intermediate	
  states	
  of	
  n+1/3	
  &	
  n+1/2	
  
q  CFL	
  <	
  1	
  
q  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  (Gardiner	
  &	
  Stone,	
  JCP,	
  2008)	
  
CPU12−ctu
CPU6−ctu
≈1
Different	
  Treatment	
  for	
  Transverse	
  Fluxes	
  in	
  USM	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Normal	
  predictor	
   Transverse	
  corrector	
  	
  
q  Use	
  characteris4c	
  tracing	
  in	
  BOTH	
  normal	
  and	
  transverse	
  flux	
  
calcula4ons	
  (Lee	
  &	
  Deane,	
  JCP,	
  2009)	
  
Different	
  Treatment	
  for	
  Transverse	
  Fluxes	
  in	
  USM	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Normal	
  predictor	
   Transverse	
  corrector	
  	
  
q  Use	
  characteris4c	
  tracing	
  in	
  BOTH	
  normal	
  and	
  transverse	
  flux	
  
calcula4ons	
  (Lee	
  &	
  Deane,	
  JCP,	
  2009)	
  
!	
  Normal	
  predictor	
  
Different	
  Treatment	
  for	
  Transverse	
  Fluxes	
  in	
  USM	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Normal	
  predictor	
   Transverse	
  corrector	
  	
  
q  Use	
  characteris4c	
  tracing	
  in	
  BOTH	
  normal	
  and	
  transverse	
  flux	
  
calcula4ons	
  (Lee	
  &	
  Deane,	
  JCP,	
  2009)	
  
!	
  Transverse	
  corrector	
  
!	
  Normal	
  predictor	
  
Different	
  Treatment	
  for	
  Transverse	
  Fluxes	
  in	
  USM	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Normal	
  predictor	
   Transverse	
  corrector	
  	
  
q  Use	
  characteris4c	
  tracing	
  in	
  BOTH	
  normal	
  and	
  transverse	
  flux	
  
calcula4ons	
  (Lee	
  &	
  Deane,	
  JCP,	
  2009)	
  
!	
  Transverse	
  corrector	
  
!	
  Normal	
  predictor	
  
Different	
  Treatment	
  for	
  Transverse	
  Fluxes	
  in	
  USM	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Normal	
  predictor	
   Transverse	
  corrector	
  	
  
q  Use	
  characteris4c	
  tracing	
  in	
  BOTH	
  normal	
  and	
  transverse	
  flux	
  
calcula4ons	
  (Lee	
  &	
  Deane,	
  JCP,	
  2009)	
  
!	
  Transverse	
  corrector	
  
!	
  Normal	
  predictor	
  
Different	
  Treatment	
  for	
  Transverse	
  Fluxes	
  in	
  USM	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Normal	
  predictor	
   Transverse	
  corrector	
  	
  
q  Use	
  characteris4c	
  tracing	
  in	
  BOTH	
  normal	
  and	
  transverse	
  flux	
  
calcula4ons	
  (Lee	
  &	
  Deane,	
  JCP,	
  2009)	
  
!	
  Transverse	
  corrector	
  
!	
  Normal	
  predictor	
  
!	
  Monotonicity	
  
!	
  Stability	
  
Characteris2c	
  tracing	
  for	
  Transverse	
  corrector	
  
q A	
  jump	
  rela4onship:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
AyVl +
m=1
m0−1
Σλm
rm
Δ
~
α = AyVr −
m=m0
7
Σλm
rm
Δ
~
α
Characteris2c	
  tracing	
  for	
  Transverse	
  corrector	
  
q A	
  jump	
  rela4onship:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
m=1
7
Σλm
rm
Δ
~
α = AyVr − AyVl
m=1
7
Σλm
rm
Δ
~
α = AyVr − AyVl
= AyΔ
= Gr −Gl
= Gi+1/2, j −Gi−1/2, j
Characteris2c	
  tracing	
  for	
  Transverse	
  corrector	
  
q The	
  summa4on	
  of	
  all	
  waves	
  becomes	
  an	
  upwind	
  transverse	
  flux	
  gradient:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
m=1
7
Σλm
rm
Δ
~
α = AyVr − AyVl
= AyΔ
= Gr −Gl
= Gi+1/2, j −Gi−1/2, j
Characteris2c	
  tracing	
  for	
  Transverse	
  corrector	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
q The	
  summa4on	
  of	
  all	
  waves	
  becomes	
  an	
  upwind	
  transverse	
  flux	
  gradient:	
  
Different	
  Treatment	
  for	
  Transverse	
  Fluxes	
  in	
  USM	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
!	
  Transverse	
  corrector	
  
!	
  Normal	
  predictor	
  
Single-­‐Step	
  Data	
  Reconstruc2on-­‐Evolu2on	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Reduced	
  &	
  Full	
  CTU	
  in	
  UHD	
  
q  New	
  approach	
  of	
  using	
  characteris4c	
  tracing	
  for	
  BOTH	
  normal	
  predictor	
  and	
  
transverse	
  corrector	
  
q  Reduced	
  3D	
  CTU	
  
q  A	
  direct	
  extension	
  of	
  2D	
  CTU	
  to	
  3D	
  
q  Requires	
  3	
  Riemann	
  solves	
  for	
  3D	
  (6-­‐CTU	
  needs	
  6	
  Riemann	
  solves)	
  
q  Only	
  including	
  second	
  cross	
  deriva4ves	
  
q  CFL	
  limit	
  ~	
  0.5	
  
q  Full	
  3D	
  CTU	
  
q  Full	
  considera4ons	
  of	
  accoun4ng	
  for	
  third	
  cross	
  deriva4ves	
  
q  Requires	
  3	
  Riemann	
  solves	
  for	
  3D	
  (12-­‐CTU	
  needs	
  12	
  Riemann	
  solves)	
  
q  CFL	
  limit	
  ~	
  1.0	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
∂3
/∂x∂y∂z
Reduced	
  &	
  Full	
  CTU	
  in	
  USM	
  
q  New	
  approach	
  of	
  using	
  characteris4c	
  tracing	
  for	
  BOTH	
  normal	
  predictor	
  and	
  
transverse	
  corrector	
  
q  Reduced	
  3D	
  CTU	
  
q  A	
  direct	
  extension	
  of	
  2D	
  CTU	
  to	
  3D	
  
q  Requires	
  6	
  Riemann	
  solves	
  for	
  3D	
  (6-­‐CTU	
  needs	
  6	
  Riemann	
  solves)	
  
q  Only	
  including	
  second	
  cross	
  deriva4ves	
  
q  CFL	
  limit	
  ~	
  0.5	
  
q  Full	
  3D	
  CTU	
  
q  Full	
  considera4ons	
  of	
  accoun4ng	
  for	
  third	
  cross	
  deriva4ves	
  
q  Requires	
  6	
  Riemann	
  solves	
  for	
  3D	
  (12-­‐CTU	
  needs	
  12	
  Riemann	
  solves)	
  
q  CFL	
  limit	
  ~	
  1.0	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
∂3
/∂x∂y∂z
Performance	
  of	
  Full-­‐CTU	
  
q  Verifica4on	
  tests	
  for	
  the	
  reduced/full	
  3D	
  CTU	
  schemes:	
  
q  CFL=0.95	
  for	
  all	
  3D	
  simula4ons	
  using	
  the	
  full	
  CTU	
  scheme	
  
q  CFL=0.475	
  for	
  the	
  reduced	
  CTU	
  scheme	
  
q  They	
  both	
  converge	
  in	
  2nd	
  order	
  
q  20%	
  performance	
  gain	
  in	
  using	
  the	
  full	
  CTU	
  scheme:	
  
	
  
CPUF−ctu
CPUR−ctu
≈ 0.8
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
cf.
CPU12−ctu
CPU6−ctu
≈1
#
$
%
&
'
(
2nd	
  order	
  Convergence	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
3D	
  Orszag-­‐Tang	
  (PPM+MC+Roe+cfl	
  0.95)	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Cloud-­‐Shock	
  (WENO5+VL+Roe+cfl	
  0.95)	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Part	
  2	
  
Divergence-­‐Free	
  fields:	
  
Constrained	
  Transport	
  (CT)	
  MHD	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Constrained-­‐Transport	
  by	
  Balsara	
  &	
  Spicer	
  
q  CT	
  scheme	
  by	
  Balsara	
  and	
  Spicer,	
  JCP,	
  1999:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Lack	
  of	
  Upwind	
  Considera2on	
  in	
  CT	
  
q  CT	
  scheme	
  by	
  Balsara	
  and	
  Spicer,	
  1998:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
q  Consider	
  u>0,	
  v"0:	
  
Lack	
  of	
  Upwind	
  Considera2on	
  in	
  CT	
  
q  CT	
  scheme	
  by	
  Balsara	
  and	
  Spicer,	
  1998:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
q  Consider	
  u>0,	
  v"0:	
  
q  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  is	
  the	
  only	
  E	
  term	
  in	
  the	
  	
  
	
  	
  	
  	
  	
  	
  	
  upwind	
  direc4on!	
  
Lack	
  of	
  Upwind	
  Considera2on	
  in	
  CT	
  
q  CT	
  scheme	
  by	
  Balsara	
  and	
  Spicer,	
  1998:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
q  Consider	
  u>0,	
  v"0:	
  
q  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  is	
  the	
  only	
  E	
  term	
  in	
  the	
  	
  
	
  	
  	
  	
  	
  	
  	
  upwind	
  direc4on!	
  
	
  
q  Numerical	
  	
  
	
  	
  	
  	
  	
  	
  Oscilla4ons!	
  
q  This	
  is	
  true	
  in	
  
	
  	
  	
  	
  	
  	
  	
  most	
  CT	
  schemes!	
  
Standard-­‐MEC	
  
q  3rd	
  order	
  modified	
  electric	
  field	
  construc4on	
  (standard-­‐MEC),	
  Lee	
  &	
  Deane,	
  
JCP,	
  2009:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
New	
  Upwind-­‐MEC	
  
q  New	
  upwind	
  biased	
  modified	
  electric	
  field	
  construc4on(upwind-­‐MEC),	
  Lee,	
  
JCP,	
  submi[ed,	
  2012	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
New	
  Upwind-­‐MEC	
  
q  New	
  upwind	
  biased	
  modified	
  electric	
  field	
  construc4on(upwind-­‐MEC),	
  Lee,	
  
JCP,	
  submi[ed,	
  2012.	
  Considering	
  u>0,	
  v"0:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
New	
  Upwind-­‐MEC	
  
q  New	
  upwind	
  biased	
  modified	
  electric	
  field	
  construc4on(upwind-­‐MEC),	
  Lee,	
  
JCP,	
  submi[ed,	
  2012.	
  Considering	
  u>0,	
  v"0:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
New	
  Upwind-­‐MEC	
  
q  New	
  upwind	
  biased	
  modified	
  electric	
  field	
  construc4on(upwind-­‐MEC),	
  Lee,	
  
JCP,	
  submi[ed,	
  2012.	
  Considering	
  u>0,	
  v"0:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
New	
  Upwind-­‐MEC	
  
q  New	
  upwind	
  biased	
  modified	
  electric	
  field	
  construc4on(upwind-­‐MEC),	
  Lee	
  
2012:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
CT	
  vs.	
  Upwind-­‐MEC	
  
q  Small	
  angle	
  advec4on	
  of	
  the	
  2D	
  field	
  loop:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
θ = tan−1
(0.01) = 0.573
CT,	
  Standard	
  &	
  Upwind	
  MECs	
  
q  Small	
  angle	
  advec4on	
  of	
  the	
  3D	
  field	
  loop:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
θ = tan−1
(0.01) = 0.573
Conclusion	
  
q  Direc4onally	
  unsplit	
  formula4ons	
  for	
  the	
  USM-­‐MHD	
  (also	
  valid	
  for	
  the	
  
unsplit	
  hydro	
  solver)	
  in	
  FLASH4	
  
q  Two	
  new	
  features:	
  	
  
q  The	
  reduced	
  and	
  full	
  3D	
  CTU	
  algorithms	
  
q  Upwind-­‐MEC	
  scheme	
  for	
  MHD	
  
q  Efficiency	
  and	
  accuracy	
  in	
  the	
  full	
  CTU	
  scheme:	
  
q  Stable	
  solu4ons	
  with	
  2nd	
  order	
  convergence	
  with	
  CFL=0.95	
  
q  20%	
  performance	
  gain	
  in	
  the	
  full	
  CTU	
  scheme	
  over	
  the	
  reduced	
  CTU	
  
scheme	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
CPUF−ctu
CPUR−ctu
≈ 0.8
Thank	
  You	
  
Ques2ons?	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  
Standard	
  &	
  Upwind	
  MEC	
  
q  Small	
  angle	
  advec4on	
  of	
  the	
  3D	
  field	
  loop:	
  
The	
  7th	
  Astronum,	
  The	
  Big	
  Island,	
  HI,	
  U.S.A,	
  Jun	
  25-­‐29,	
  2012	
  

More Related Content

Similar to Dongwook Astronum 2012

Manipulating continuous variable photonic entanglement
Manipulating continuous variable photonic entanglementManipulating continuous variable photonic entanglement
Manipulating continuous variable photonic entanglement
wtyru1989
 
The Low Energy Physics Frontier of the Standard Model at the MAMI accelerator
The Low Energy Physics Frontier of the Standard Model at the MAMI acceleratorThe Low Energy Physics Frontier of the Standard Model at the MAMI accelerator
The Low Energy Physics Frontier of the Standard Model at the MAMI accelerator
Concettina Sfienti
 
Born reciprocity
Born reciprocityBorn reciprocity
Born reciprocity
Rene Kotze
 

Similar to Dongwook Astronum 2012 (20)

Notre Dame Afb Seminar 2009
Notre Dame Afb Seminar 2009Notre Dame Afb Seminar 2009
Notre Dame Afb Seminar 2009
 
Manipulating continuous variable photonic entanglement
Manipulating continuous variable photonic entanglementManipulating continuous variable photonic entanglement
Manipulating continuous variable photonic entanglement
 
Angulo contacto
Angulo contacto Angulo contacto
Angulo contacto
 
Adamek_SestoGR18.pdf
Adamek_SestoGR18.pdfAdamek_SestoGR18.pdf
Adamek_SestoGR18.pdf
 
The Low Energy Physics Frontier of the Standard Model at the MAMI accelerator
The Low Energy Physics Frontier of the Standard Model at the MAMI acceleratorThe Low Energy Physics Frontier of the Standard Model at the MAMI accelerator
The Low Energy Physics Frontier of the Standard Model at the MAMI accelerator
 
Simulation and Modeling of Gravitational Wave Sources
Simulation and Modeling of Gravitational Wave SourcesSimulation and Modeling of Gravitational Wave Sources
Simulation and Modeling of Gravitational Wave Sources
 
Kinematic Variables for Dark Matter at the LHC and Beyond
Kinematic Variables for Dark Matter at the LHC and BeyondKinematic Variables for Dark Matter at the LHC and Beyond
Kinematic Variables for Dark Matter at the LHC and Beyond
 
Gwendolyn Eadie: A New Method for Time Series Analysis in Astronomy with an A...
Gwendolyn Eadie: A New Method for Time Series Analysis in Astronomy with an A...Gwendolyn Eadie: A New Method for Time Series Analysis in Astronomy with an A...
Gwendolyn Eadie: A New Method for Time Series Analysis in Astronomy with an A...
 
[PDF] Bremen2017 - Complementarity in testing gravity with space missions, pu...
[PDF] Bremen2017 - Complementarity in testing gravity with space missions, pu...[PDF] Bremen2017 - Complementarity in testing gravity with space missions, pu...
[PDF] Bremen2017 - Complementarity in testing gravity with space missions, pu...
 
Unidirectional emitter and receiver of an itinerant microwave photon in an op...
Unidirectional emitter and receiver of an itinerant microwave photon in an op...Unidirectional emitter and receiver of an itinerant microwave photon in an op...
Unidirectional emitter and receiver of an itinerant microwave photon in an op...
 
Galalactic Dynamics- Orbits in a Logarithmic Dark Matter Halo Potential
Galalactic Dynamics- Orbits in a Logarithmic Dark Matter Halo PotentialGalalactic Dynamics- Orbits in a Logarithmic Dark Matter Halo Potential
Galalactic Dynamics- Orbits in a Logarithmic Dark Matter Halo Potential
 
2021初版-108課綱-選修物理 -ch6-萬有引力-素養版
2021初版-108課綱-選修物理 -ch6-萬有引力-素養版2021初版-108課綱-選修物理 -ch6-萬有引力-素養版
2021初版-108課綱-選修物理 -ch6-萬有引力-素養版
 
Prof Tom Trainor (University of Washington, Seattle, USA)
Prof Tom Trainor (University of Washington, Seattle, USA)Prof Tom Trainor (University of Washington, Seattle, USA)
Prof Tom Trainor (University of Washington, Seattle, USA)
 
Chaos satellite dynamics 1 aiaa-92-4369
Chaos satellite dynamics 1   aiaa-92-4369Chaos satellite dynamics 1   aiaa-92-4369
Chaos satellite dynamics 1 aiaa-92-4369
 
Climate Extremes Workshop - Decompositions of Dependence for High-Dimensiona...
Climate Extremes Workshop -  Decompositions of Dependence for High-Dimensiona...Climate Extremes Workshop -  Decompositions of Dependence for High-Dimensiona...
Climate Extremes Workshop - Decompositions of Dependence for High-Dimensiona...
 
TFM Astrosismologia K2
TFM Astrosismologia K2TFM Astrosismologia K2
TFM Astrosismologia K2
 
New Broken Time-reversal Symmetry Superconductors: Theoretical Constraints on...
New Broken Time-reversal Symmetry Superconductors: Theoretical Constraints on...New Broken Time-reversal Symmetry Superconductors: Theoretical Constraints on...
New Broken Time-reversal Symmetry Superconductors: Theoretical Constraints on...
 
Born reciprocity
Born reciprocityBorn reciprocity
Born reciprocity
 
Prof. Rob Leight (University of Illinois) TITLE: Born Reciprocity and the Nat...
Prof. Rob Leight (University of Illinois) TITLE: Born Reciprocity and the Nat...Prof. Rob Leight (University of Illinois) TITLE: Born Reciprocity and the Nat...
Prof. Rob Leight (University of Illinois) TITLE: Born Reciprocity and the Nat...
 
Cosmology
CosmologyCosmology
Cosmology
 

Recently uploaded

Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 

Dongwook Astronum 2012

  • 1. Astronum  2012   The  7th  Annual  Interna4onal  Conference  On  Numerical  Modeling  of  Space   Plasma  Flows,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   A Solution Accurate, Efficient and Stable 3D Unsplit Staggered Mesh (USM) MHD Solver in FLASH Dongwook Lee University of Chicago The  Flash  Center  for  Computa2onal  Science  
  • 2. Two  USM  papers   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   2D  paper,  JCP,  2009   3D  paper,  submi.ed  to  JCP,  2012  
  • 5. Outline   q  Part  1:   q  Reduced/Full  corner-­‐transport-­‐upwind  (CTU)  for  3D   q  6  Riemann  solves  for  USM;  3  for  UHD  in  3D   q  CFL  stability  limit  reaches  1  in  the  full  CTU  algorithm   q  Part  2:   q  Third  order  electric  fields  constrained-­‐transport  (CT)  scheme  for  USM-­‐ MHD  (Lee  and  Deane,  JCP,  2009)   q  A  new  upwind  biased  CT  (Lee,  JCP,  2012,  under  review)     q  Summary   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 6. Part  1   3D  Unsplit  Algorithms  for  USM  &  UHD:     Reduced  &  Full  CTU   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 7. MHD  Governing  Equa2ons   q  MHD  system  of  equa4ons:   q  This  can  be  wri[en  in  a  simple    matrix  form:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   ∂U ∂t + ∂F ∂x + ∂G ∂y + ∂H ∂z = 0
  • 8. q  A  primi4ve  form:                            where  the  coefficient  matrix  is                   Linearized  System   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 9. High-­‐Order  Corner  Transport  Upwind  (CTU)   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   q  Use  a  linearized  system  in  primi4ve  form   q  High-­‐order  spa4al  reconstruc4on  &   temporal  evolu4on  to  obtain  Riemann   states  at  interfaces  (e.g.,  MH)   q  Solve  Riemann  problems  using  the   Riemann  states     q  x-­‐direc4on:   q  y-­‐direc4on:   q  z-­‐direc4on:  
  • 10. High-­‐Order  Corner  Transport  Upwind  (CTU)   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   q  Use  a  linearized  system  in  primi4ve  form   q  High-­‐order  spa4al  reconstruc4on  &   temporal  evolu4on  to  obtain  Riemann   states  at  interfaces  (e.g.,  MH)   q  Solve  Riemann  problems  using  the   Riemann  states     q  x-­‐direc4on:   q  y-­‐direc4on:   q  z-­‐direc4on:   Normal  predictor   Transverse  corrector  
  • 11. Usual  CTU  Algorithms  take…   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 12. Usual  CTU  Algorithms  take…   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 13. Usual  CTU  Algorithms  take…   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012     q  Solve  1D  high-­‐order  reconstruc4ons  using  characteris4c  tracing  in  each   normal  direc4on  to  get  Riemann  states  
  • 14. Usual  CTU  Algorithms  take…   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 15. Usual  CTU  Algorithms  take…   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   F∗ Vi, j,E n+1/2 ,Vi+1, j,W n+1/2 ( )G∗ Vi, j,N n+1/2 ,Vi, j+1,S n+1/2 ( )
  • 16. Usual  CTU  Algorithms  take…   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   F∗ Vi, j,E n+1/2 ,Vi+1, j,W n+1/2 ( )G∗ Vi, j,N n+1/2 ,Vi, j+1,S n+1/2 ( ) +  Trans  Fluxes  in  y  &  z   +  Trans  Fluxes  in  x  &  y   +  Trans  Fluxes  in  x  &  z  
  • 17. This  Leads  To  6-­‐CTU  &  12-­‐CTU   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   q  Depends  on  the  number  of  Riemann  problems  per  cell  per  4me  step:   q  6-­‐CTU  (6  Riemann  problems)     q  Colella,  JCP,  1990;  Gardiner  &  Stone,  JCP,  2008   q  A  simple  direct  extension  of  2D  CTU  to  3D  accoun4ng  for  a  single   intermediate  state  n+1/2   q  CFL  <  ½   q  12-­‐CTU  (12  Riemann  problems)   q  Saltzman,  JCP,  1992;  Gardiner  &  Stone,  JCP,  2008;  Minia4  &  Mar4n,   ApJS,  2011   q  More  expensive  approach   q  Accoun4ng  for  two  intermediate  states  of  n+1/3  &  n+1/2   q  CFL  <  1   q                                                                 (Gardiner  &  Stone,  JCP,  2008)   CPU12−ctu CPU6−ctu ≈1
  • 18. Different  Treatment  for  Transverse  Fluxes  in  USM   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   Normal  predictor   Transverse  corrector     q  Use  characteris4c  tracing  in  BOTH  normal  and  transverse  flux   calcula4ons  (Lee  &  Deane,  JCP,  2009)  
  • 19. Different  Treatment  for  Transverse  Fluxes  in  USM   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   Normal  predictor   Transverse  corrector     q  Use  characteris4c  tracing  in  BOTH  normal  and  transverse  flux   calcula4ons  (Lee  &  Deane,  JCP,  2009)   !  Normal  predictor  
  • 20. Different  Treatment  for  Transverse  Fluxes  in  USM   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   Normal  predictor   Transverse  corrector     q  Use  characteris4c  tracing  in  BOTH  normal  and  transverse  flux   calcula4ons  (Lee  &  Deane,  JCP,  2009)   !  Transverse  corrector   !  Normal  predictor  
  • 21. Different  Treatment  for  Transverse  Fluxes  in  USM   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   Normal  predictor   Transverse  corrector     q  Use  characteris4c  tracing  in  BOTH  normal  and  transverse  flux   calcula4ons  (Lee  &  Deane,  JCP,  2009)   !  Transverse  corrector   !  Normal  predictor  
  • 22. Different  Treatment  for  Transverse  Fluxes  in  USM   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   Normal  predictor   Transverse  corrector     q  Use  characteris4c  tracing  in  BOTH  normal  and  transverse  flux   calcula4ons  (Lee  &  Deane,  JCP,  2009)   !  Transverse  corrector   !  Normal  predictor  
  • 23. Different  Treatment  for  Transverse  Fluxes  in  USM   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   Normal  predictor   Transverse  corrector     q  Use  characteris4c  tracing  in  BOTH  normal  and  transverse  flux   calcula4ons  (Lee  &  Deane,  JCP,  2009)   !  Transverse  corrector   !  Normal  predictor   !  Monotonicity   !  Stability  
  • 24. Characteris2c  tracing  for  Transverse  corrector   q A  jump  rela4onship:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   AyVl + m=1 m0−1 Σλm rm Δ ~ α = AyVr − m=m0 7 Σλm rm Δ ~ α
  • 25. Characteris2c  tracing  for  Transverse  corrector   q A  jump  rela4onship:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   m=1 7 Σλm rm Δ ~ α = AyVr − AyVl
  • 26. m=1 7 Σλm rm Δ ~ α = AyVr − AyVl = AyΔ = Gr −Gl = Gi+1/2, j −Gi−1/2, j Characteris2c  tracing  for  Transverse  corrector   q The  summa4on  of  all  waves  becomes  an  upwind  transverse  flux  gradient:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 27. m=1 7 Σλm rm Δ ~ α = AyVr − AyVl = AyΔ = Gr −Gl = Gi+1/2, j −Gi−1/2, j Characteris2c  tracing  for  Transverse  corrector   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   q The  summa4on  of  all  waves  becomes  an  upwind  transverse  flux  gradient:  
  • 28. Different  Treatment  for  Transverse  Fluxes  in  USM   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   !  Transverse  corrector   !  Normal  predictor  
  • 29. Single-­‐Step  Data  Reconstruc2on-­‐Evolu2on   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 30. Reduced  &  Full  CTU  in  UHD   q  New  approach  of  using  characteris4c  tracing  for  BOTH  normal  predictor  and   transverse  corrector   q  Reduced  3D  CTU   q  A  direct  extension  of  2D  CTU  to  3D   q  Requires  3  Riemann  solves  for  3D  (6-­‐CTU  needs  6  Riemann  solves)   q  Only  including  second  cross  deriva4ves   q  CFL  limit  ~  0.5   q  Full  3D  CTU   q  Full  considera4ons  of  accoun4ng  for  third  cross  deriva4ves   q  Requires  3  Riemann  solves  for  3D  (12-­‐CTU  needs  12  Riemann  solves)   q  CFL  limit  ~  1.0   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   ∂3 /∂x∂y∂z
  • 31. Reduced  &  Full  CTU  in  USM   q  New  approach  of  using  characteris4c  tracing  for  BOTH  normal  predictor  and   transverse  corrector   q  Reduced  3D  CTU   q  A  direct  extension  of  2D  CTU  to  3D   q  Requires  6  Riemann  solves  for  3D  (6-­‐CTU  needs  6  Riemann  solves)   q  Only  including  second  cross  deriva4ves   q  CFL  limit  ~  0.5   q  Full  3D  CTU   q  Full  considera4ons  of  accoun4ng  for  third  cross  deriva4ves   q  Requires  6  Riemann  solves  for  3D  (12-­‐CTU  needs  12  Riemann  solves)   q  CFL  limit  ~  1.0   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   ∂3 /∂x∂y∂z
  • 32. Performance  of  Full-­‐CTU   q  Verifica4on  tests  for  the  reduced/full  3D  CTU  schemes:   q  CFL=0.95  for  all  3D  simula4ons  using  the  full  CTU  scheme   q  CFL=0.475  for  the  reduced  CTU  scheme   q  They  both  converge  in  2nd  order   q  20%  performance  gain  in  using  the  full  CTU  scheme:     CPUF−ctu CPUR−ctu ≈ 0.8 The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   cf. CPU12−ctu CPU6−ctu ≈1 # $ % & ' (
  • 33. 2nd  order  Convergence   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 34. 3D  Orszag-­‐Tang  (PPM+MC+Roe+cfl  0.95)   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 35. Cloud-­‐Shock  (WENO5+VL+Roe+cfl  0.95)   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 36. Part  2   Divergence-­‐Free  fields:   Constrained  Transport  (CT)  MHD   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 37. Constrained-­‐Transport  by  Balsara  &  Spicer   q  CT  scheme  by  Balsara  and  Spicer,  JCP,  1999:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 38. Lack  of  Upwind  Considera2on  in  CT   q  CT  scheme  by  Balsara  and  Spicer,  1998:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   q  Consider  u>0,  v"0:  
  • 39. Lack  of  Upwind  Considera2on  in  CT   q  CT  scheme  by  Balsara  and  Spicer,  1998:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   q  Consider  u>0,  v"0:   q                                 is  the  only  E  term  in  the                  upwind  direc4on!  
  • 40. Lack  of  Upwind  Considera2on  in  CT   q  CT  scheme  by  Balsara  and  Spicer,  1998:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   q  Consider  u>0,  v"0:   q                                 is  the  only  E  term  in  the                  upwind  direc4on!     q  Numerical                Oscilla4ons!   q  This  is  true  in                most  CT  schemes!  
  • 41. Standard-­‐MEC   q  3rd  order  modified  electric  field  construc4on  (standard-­‐MEC),  Lee  &  Deane,   JCP,  2009:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 42. New  Upwind-­‐MEC   q  New  upwind  biased  modified  electric  field  construc4on(upwind-­‐MEC),  Lee,   JCP,  submi[ed,  2012   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 43. New  Upwind-­‐MEC   q  New  upwind  biased  modified  electric  field  construc4on(upwind-­‐MEC),  Lee,   JCP,  submi[ed,  2012.  Considering  u>0,  v"0:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 44. New  Upwind-­‐MEC   q  New  upwind  biased  modified  electric  field  construc4on(upwind-­‐MEC),  Lee,   JCP,  submi[ed,  2012.  Considering  u>0,  v"0:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 45. New  Upwind-­‐MEC   q  New  upwind  biased  modified  electric  field  construc4on(upwind-­‐MEC),  Lee,   JCP,  submi[ed,  2012.  Considering  u>0,  v"0:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 46. New  Upwind-­‐MEC   q  New  upwind  biased  modified  electric  field  construc4on(upwind-­‐MEC),  Lee   2012:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 47. CT  vs.  Upwind-­‐MEC   q  Small  angle  advec4on  of  the  2D  field  loop:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   θ = tan−1 (0.01) = 0.573
  • 48. CT,  Standard  &  Upwind  MECs   q  Small  angle  advec4on  of  the  3D  field  loop:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   θ = tan−1 (0.01) = 0.573
  • 49. Conclusion   q  Direc4onally  unsplit  formula4ons  for  the  USM-­‐MHD  (also  valid  for  the   unsplit  hydro  solver)  in  FLASH4   q  Two  new  features:     q  The  reduced  and  full  3D  CTU  algorithms   q  Upwind-­‐MEC  scheme  for  MHD   q  Efficiency  and  accuracy  in  the  full  CTU  scheme:   q  Stable  solu4ons  with  2nd  order  convergence  with  CFL=0.95   q  20%  performance  gain  in  the  full  CTU  scheme  over  the  reduced  CTU   scheme   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012   CPUF−ctu CPUR−ctu ≈ 0.8
  • 50. Thank  You   Ques2ons?   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012  
  • 51. Standard  &  Upwind  MEC   q  Small  angle  advec4on  of  the  3D  field  loop:   The  7th  Astronum,  The  Big  Island,  HI,  U.S.A,  Jun  25-­‐29,  2012