Interfaces and simulations in SELALIB

Size: px
Start display at page:

Download "Interfaces and simulations in SELALIB"

Transcription

1 Interfaces and simulations in SELALIB M. Mehrenberger IRMA, Université de Strasbourg Garching, Selalib Day, November 2014 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

2 Introduction Outline 0. Discussion on interfaces 1. Some examples of abstract interfaces Interpolation Characteristics Advection Poisson solvers Simulation 2. Other interfaces (not abstract) Initial function Remap 3. A specific example of abstract class 4. About simulations M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

3 Interfaces 0. Discussions on interfaces Use of Fortran 2003 capabilities is one of the most flexible way to define interfaces Define rules that are common Each people can focus on a specific implementation Main code remains unchanged How to propose a new abstract interface? Give mathematical description of the interface Give proposed implementation of the common interface (_base) Send the proposition to selalib work Finding the right interface takes time and can result from discussion Other interfaces (non fortran2003) are sometimes enough do not abuse with fortran2003 sometimes, first develop a type do then a wrapper to abstract, when everything is ready and works M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

4 1. Examples of abstract interfaces Examples Some examples are developed Other examples not developed here (but of interest!) Coordinate transformations Mesh Scalar fields Sparse matrix Multi-patch PIC M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

5 1. Examples of abstract interfaces INTERPOLATION Mathematical description Gives the value of f (η). f is function known on some grid points. η should be inside the domain. η can be a single value η R or several values η R N. Precomputations are done first, from known grid points values. Examples : splines, Hermite, Lagrange. Extension in 2D : η = (η 1, η 2 ) R N 1 N 2 and f (η) R N 1 N 2. M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

6 1. Examples of abstract interfaces INTERPOLATION Suggested implementation f u n c t i o n interpolate_value ( & interp, & eta ) & r e s u l t ( val ) sll_real64 : : val class ( sll_interpolator_1d_base ), i n t e n t ( i n ) : : interp sll_real64, i n t e n t ( i n ) : : eta & For info, usage is η R = eta, f (η) = val val= interp%interpolate_value ( eta ) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

7 1. Examples of abstract interfaces INTERPOLATION Suggested implementation subroutine interpolate_array_values ( & interp, & num_pts, & eta, & val ) class ( sll_interpolator_1d_base ), & i n t e n t ( i n ) : : interp sll_int32, i n t e n t ( i n ) : : num_pts sll_real64, dimension ( : ), i n t e n t ( i n ) : : eta sll_real64, dimension ( : ), i n t e n t ( out ) : : val η R N = eta(1:num_pts), f (η) R N = val(1:num_pts) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

8 1. Examples of abstract interfaces INTERPOLATION Suggested implementation f u n c t i o n compute_interpolants ( & interp, & input ) class ( sll_interpolator_1d_base ), & i n t e n t ( i n o u t ) : : interp sll_real64, dimension ( : ), i n t e n t ( i n ) : : input f at grid points = input M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

9 1. Examples of abstract interfaces INTERPOLATION Suggested implementation Some changes for extension in 2D class ( sll_interpolator_2d_base ) sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : input sll_int32, i n t e n t ( i n ) : : num_pts1 sll_int32, i n t e n t ( i n ) : : num_pts2 sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : eta1 sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : eta2 sll_real64, dimension ( :, : ), i n t e n t ( out ) : : val η 1 R N 1 N 2 = eta1(1:num_pts1,1:num_pts2), η 2 R N 1 N 2 = eta2(1:num_pts1,1:num_pts2), f (η 1, η 2 ) R N 1 N 2 = val(1:num_pts1,1:num_pts2) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

10 Exemple of use 1. Examples of abstract interfaces INTERPOLATION class ( sll_interpolator_2d_base ) sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : input sll_int32, i n t e n t ( i n ) : : num_pts1 sll_int32, i n t e n t ( i n ) : : num_pts2 sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : eta1 sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : eta2 sll_real64, dimension ( :, : ), i n t e n t ( out ) : : val M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

11 1. Examples of abstract interfaces CHARACTERISTICS Characteristics We solve η (t) = A(η(t)) We suppose to know η( t) and want to compute η(0). Examples are : explicit Euler, implicit Euler, Verlet. In 2D, A = (A 1, A 2 ), with A 1 and A 2 known on a grid In 2D, η = (η 1, η 2 ). We suppose that η 1 ( t) and η 2 ( t) are on a 1D grid. M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

12 1. Examples of abstract interfaces CHARACTERISTICS compute_characteristics subroutine compute_characteristics ( & charac, & A, & dt, & input, & output ) class ( sll_characteristics_1d_base ) : : charac sll_real64, dimension ( : ), i n t e n t ( i n ) : : A sll_real64, i n t e n t ( i n ) : : dt sll_real64, dimension ( : ), i n t e n t ( i n ) : : input sll_real64, dimension ( : ), i n t e n t ( out ) : : output A = A, t = dt, η( t) = input, η(0) = output M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

13 Extension in 2D 1. Examples of abstract interfaces CHARACTERISTICS subroutine compute_characteristics (... ) class ( sll_characteristics_2d_base ) : : charac sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : A1 sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : A2 sll_real64, i n t e n t ( i n ) : : dt sll_real64, dimension ( : ), i n t e n t ( i n ) : : input1 sll_real64, dimension ( : ), i n t e n t ( i n ) : : input2 sll_real64, dimension ( :, : ), i n t e n t ( out ) : : output1 sll_real64, dimension ( :, : ), i n t e n t ( out ) : : output2 A 1 = A1, A 2 = A2, t = dt, η 1 ( t) = input1, η 2 ( t) = input2, η 1 (0) = output1, η 2 (0) = output2 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

14 1. Examples of abstract interfaces ADVECTION Advection We solve t f + A x f = 0, over a time interval t. A does not depend on the variable t. We suppose to know f (t = 0), on a grid and then compute f (t = t) on the same grid. In 2D, A = (A 1, A 2 ) with A 1 and A 2 known on a grid. Advection can be initialized with characteristics and interpolation. Examples : BSL, CSL, FSL M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

15 1. Examples of abstract interfaces ADVECTION Constant advection : advect_1d_constant For constant advection, we use the following interface subroutine advect_1d_constant (& adv, & A, & dt, & input, & output ) class ( sll_advection_1d_base ) : : adv sll_real64, i n t e n t ( i n ) : : A sll_real64, i n t e n t ( i n ) : : dt sll_real64, dimension ( : ), i n t e n t ( i n ) : : input sll_real64, dimension ( : ), i n t e n t ( out ) : : output A R = A, t = dt, f (t = 0) = input, f (t = t) = output M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

16 advect 2d 1. Examples of abstract interfaces ADVECTION subroutine advect_2d (... ) class ( sll_advection_2d_base ) : : adv sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : A1 sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : A2 sll_real64, i n t e n t ( i n ) : : dt sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : input sll_real64, dimension ( :, : ), i n t e n t ( out ) : : output A 1 = A1, A 2 = A2, t = dt, f (t = 0) = input, f (t = t) = output M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

17 1. Examples of abstract interfaces POISSON SOLVERS Poisson solvers compute potential Φ from charge density ρ or compute electric field E from charge density ρ in 2D, E = (E 1, E 2 ). ρ, Φ, E are on grid points. Examples : periodic, polar M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

18 In 1D 1. Examples of abstract interfaces POISSON SOLVERS subroutine compute_phi_from_rho (... ) class ( sll_poisson_1d_base ) : : poisson sll_real64, dimension ( : ), i n t e n t ( i n ) : : input sll_real64, dimension ( : ), i n t e n t ( out ) : : output ρ = input, Φ = output subroutine compute_e_from_rho (... ) class ( sll_poisson_1d_base ) : : poisson sll_real64, dimension ( : ), i n t e n t ( i n ) : : input sll_real64, dimension ( : ), i n t e n t ( out ) : : output ρ = input, E = output M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

19 In 2D 1. Examples of abstract interfaces POISSON SOLVERS subroutine compute_phi_from_rho (... ) class ( sll_poisson_2d_base ) : : poisson sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : input sll_real64, dimension ( :, : ), i n t e n t ( out ) : : output ρ = input, Φ = output subroutine compute_e_from_rho (... ) class ( sll_poisson_2d_base ) : : poisson sll_real64, dimension ( :, : ), i n t e n t ( i n ) : : input sll_real64, dimension ( :, : ), i n t e n t ( out ) : : output1 sll_real64, dimension ( :, : ), i n t e n t ( out ) : : output2 ρ = input, E 1 = output1, E 2 = output2 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

20 Simulation 1. Examples of abstract interfaces SIMULATION subroutine run ( sim ) class ( sll_simulation_base ), i n t e n t ( i n o u t ) : : sim & just run a simulation M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

21 2. Other interfaces Other interfaces Not all the interfaces need fortran 2003 abstract class Do not use fortran 2003, if not necessary try to choose the simplest solution (not always easy) Some examples developed Initial function Remap Examples not developed Point to point communication M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

22 Initial function 2. Other interfaces INITIAL FUNCTION f u n c t i o n s l l _ s c a l a r _ i n i t i a l i z e r _ 2 d ( & x1, & x2, & params ) & r e s u l t ( val ) sll_real64 : : val sll_real64, i n t e n t ( i n ) : : x1 sll_real64, i n t e n t ( i n ) : : x2 sll_real64, dimension ( : ), & i n t e n t ( i n ), o p t i o n a l : : params f (x 1, x 2 ) = val, x 1 = x1, x 2 = x2 params : storage of parameters describing f M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

23 2. Other interfaces REMAP Remap Handles parallelism with collective operations. permits to go from parallel in some direction(s) to parallel in other direction(s). Example of 4D array array of size N 1 N 2 N 3 N 4 dispatched in 32 processors f_parx1x2x4 is cut in directions x1, x2, x4 f_parx3 is cut in directions x3 remap changes from first to second configuration M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

24 Remap 2. Other interfaces REMAP par4d_x1x2x4 => new_layout_4d ( sll_world_collective ) c a l l i n i t i a l i z e _ l a y o u t _ w i t h _ d i s t r i b u t e d _ 4 D _ a r r a y ( & 129, & 257, & 33, & 129, & 4, & 4, & 1, & 2, & par4d_x1x2x4 ) N 1 = 129, N 2 = 257, N 3 = 33, N 4 = 129. for f_parx1x2x4 of size M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

25 Remap 2. Other interfaces REMAP par4d_x3 => new_layout_4d ( sll_world_collective ) c a l l i n i t i a l i z e _ l a y o u t _ w i t h _ d i s t r i b u t e d _ 4 D _ a r r a y ( & 129, & 257, & 33, & 129, & 1, & 1, & 32, & 1, & par4d_x3 ) N 1 = 129, N 2 = 257, N 3 = 33, N 4 = 129. for f_parx3 of size M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

26 Remap 2. Other interfaces REMAP par4d_x1x2x4_to_x3 => new_remap_plan ( & par4d_x1x2x4, & par4d_x3, & f_parx1x2x4 ) c a l l apply_remap_4d ( & par4d_x1x2x4_to_x3, & f_parx1x2x4, & f_parx3 ) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

27 3. A specific example of abstract class Specific example of abstract class An abstract class permit to give some common rules An abstract class is initialized to a specific implementation through new initialize Initializationnew are not common to the interface M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

28 3. A specific example of abstract class INTERPOLATOR An example for cubic splines interp => new_cubic_spline_interpolator_1d ( & 129, & 0. _f64, & 1. _f64, & SLL_PERIODIC ) val = interp%interpolate_value ( eta ) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

29 3. A specific example of abstract class INTERPOLATOR Initialization of cubic splines interpolator with new f u n c t i o n new_cubic_spline_interpolator_1d (... )& r e s u l t ( interp ) type ( sll_cubic_spline_interpolator_1d ), & p o i n t e r : : interp sll_int32, i n t e n t ( i n ) : : num_points sll_real64, i n t e n t ( i n ) : : xmin sll_real64, i n t e n t ( i n ) : : xmax sll_int32, i n t e n t ( i n ) : : bc_type sll_real64, i n t e n t ( i n ), o p t i o n a l : : s l o p e _ l e f t sll_real64, i n t e n t ( i n ), o p t i o n a l : : s l o p e _ r i g h t M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

30 3. A specific example of abstract class INTERPOLATOR Initialization of cubic splines interpolator with initialize subroutine initialize_cubic_spline_interpolator_1d (.. ) class ( sll_cubic_spline_interpolator_1d ), & i n t e n t ( i n o u t ) : : interp sll_int32, i n t e n t ( i n ) : : num_points sll_real64, i n t e n t ( i n ) : : xmin sll_real64, i n t e n t ( i n ) : : xmax sll_int32, i n t e n t ( i n ) : : bc_type sll_real64, i n t e n t ( i n ), o p t i o n a l : : s l o p e _ l e f t sll_real64, i n t e n t ( i n ), o p t i o n a l : : s l o p e _ r i g h t M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

31 3. A specific example of abstract class INTERPOLATOR Comments new has always the same structure (no need to think!) allocate the pointer call to initialize new and initialize have a specific name and with this name, we can choose the specific method M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

32 4. About simulations Simulation Simulations can be done, using Selalib as external library Simulations can be done, as programs inside Selalib (but not a module) Simulations can be done as a module (top level) Each simulation has his own flexibility Different simulations can be developed independently M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

33 4. About simulations Initialization of a simulation Incremental degree of flexibility Initialization with default parameters Initialization with filename : Use of filenames.nml Use of keywords "SLL_CUBIC_SPLINES" translated into select case at initialization Initialization by hand (most flexible feature) Abstract class is a parameter of the simulation Specific abstract class implementation coded outside the module. M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

34 4. About simulations Test of a simulation ctest selalib-result.sh run small example with optimized parameters give the results, with a simple diagnostic M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

35 Swirling deformation flow 4. About simulations EXAMPLES &geometry mesh_case_x1= "SLL_LOGICAL_MESH" num_ cells_x1 = 64 x1_min = x1_max = mesh_case_x2= "SLL_LOGICAL_MESH" num_ cells_x2 = 64 x2_min = x2_max = M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

36 Swirling deformation flow 4. About simulations EXAMPLES & i n i t i a l _ f u n c t i o n i n i t i a l _ f u n c t i o n _ c a s e = "SLL_COS_BELL" xc_1 = 1. xc_2 = 0.2 &t i m e _ i t e r a t i o n s dt = number_iterations = 10 freq_diag = 1 freq_diag_time = 1 time_loop_case = "SLL_PREDICTOR_CORRECTOR" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

37 Swirling deformation flow 4. About simulations EXAMPLES &advector advect2d_case = " SLL_BSL" f_interp2d_case = "SLL_CUBIC_SPLINES" phi_interp2d_case = "SLL_CUBIC_SPLINES" charac2d_case = " SLL_VERLET" A_interp_case = "SLL_CUBIC_SPLINES" a d v e c t i o n _ f i e l d _ c a s e & = "SLL_SWIRLING_DEFORMATION_FLOW" time_period = 1.5 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

38 Swirling deformation flow (0.1s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

39 guiding center simulation cartesian &geometry mesh_case_x1= "SLL_LANDAU_MESH" num_ cells_x1 = 32 x1_min = 0.0 nbox_x1 = 1 mesh_case_x2= "SLL_LANDAU_MESH" num_ cells_x2 = 32 x2_min = 0.0 nbox_x2 = 1 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

40 guiding center simulation cartesian & i n i t i a l _ f u n c t i o n i n i t i a l _ f u n c t i o n _ c a s e = "SLL_KHP1" kmode_x1 = 0.5 kmode_x2 = 1. eps = 1e 6! &t i m e _ i t e r a t i o n s dt = 0.5 number_iterations = 120 freq_diag = 100 freq_diag_time = 1 time_ loop_ case = " SLL_LEAP_FROG" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

41 guiding center simulation cartesian &advector advect2d_case = " SLL_BSL" charac2d_case = " SLL_VERLET" f_interp2d_case = "SLL_CUBIC_SPLINES" phi_interp2d_case = "SLL_CUBIC_SPLINES" A_interp_case = "SLL_CUBIC_SPLINES" &poisson poisson_case = "SLL_PHI_FROM_RHO" poisson_solver = "SLL_POISSON_FFT" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

42 Guiding center simulation cartesian (0.23s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

43 guiding center simulation polar &geometry mesh_case= "SLL_POLAR_MESH" num_ cells_x1 = 64 r_min = 1. r_max = 10. num_ cells_x2 = 32 & i n i t i a l _ f u n c t i o n i n i t i a l _ f u n c t i o n _ c a s e = "SLL_DIOCOTRON" r_minus = 4. r_plus = 5. kmode_x2 = 3. eps = 1. e 6 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

44 guiding center simulation polar &t i m e _ i t e r a t i o n s dt = 0.5 number_iterations = 160 freq_diag = 80 freq_diag_time = 1 time_loop_case = "SLL_PREDICTOR_CORRECTOR" &poisson poisson_case = "SLL_PHI_FROM_RHO" poisson_solver = "SLL_POLAR_FFT" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

45 guiding center simulation polar &advector advect2d_case = " SLL_BSL" f_interp2d_case = "SLL_HERMITE" hermite_degree_eta1 = 6 hermite_degree_eta2 = 6 phi_interp2d_case = "SLL_CUBIC_SPLINES" charac2d_case = " SLL_VERLET" A_interp_case = "SLL_CUBIC_SPLINES" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

46 Guiding center simulation polar (0.9s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

47 vlasov poisson cartesian (landau) &geometry mesh_case_x1 = "SLL_LANDAU_MESH" num_ cells_x1 = 32 x1_min = 0.0 nbox_x1 = 1 mesh_case_x2 = "SLL_LOGICAL_MESH" num_ cells_x2 = 64 x2_min = 6.0 x2_max = 6.0 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

48 vlasov poisson cartesian (landau) & i n i t i a l _ f u n c t i o n i n i t i a l _ f u n c t i o n _ c a s e kmode = 0.5 eps = = "SLL_LANDAU" &t i m e _ i t e r a t i o n s dt = 0.1 number_iterations = 600 freq_diag = 100 freq_diag_time = 1 nb_mode = 20 t i m e _ i n i t = 0. s p l i t _ c a s e = "SLL_STRANG_VTV" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

49 vlasov poisson cartesian (landau) &advector advector_x1 = " SLL_SPLINES " order_x1 = 4 advector_x2 = " SLL_SPLINES " order_x2 = 4 &poisson poisson_solver = " SLL_FFT " &d r i v e d r i v e _ t y p e = "SLL_NO_DRIVE" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

50 vlasov poisson cartesian (landau) (0.6s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

51 vlasov poisson cartesian (bump on tail) &geometry mesh_case_x1 = "SLL_LANDAU_MESH" num_ cells_x1 = 256 x1_min = 0.0 nbox_x1 = 3 mesh_case_x2 = "SLL_LOGICAL_MESH" num_ cells_x2 = 256 x2_min = 8.0 x2_max = 8.0 & i n i t i a l _ f u n c t i o n i n i t i a l _ f u n c t i o n _ c a s e = "SLL_BUMP_ON_TAIL" kmode = 0.3 eps = M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

52 vlasov poisson cartesian (bump on tail) &t i m e _ i t e r a t i o n s dt = 2.5 number_iterations = 40 freq_diag = 10 freq_diag_time = 1 s p l i t _ c a s e = "SLL_ORDER6VPnew1_VTV" &advector advector_x1 = "SLL_LAGRANGE" order_x1 = 10 advector_x2 = "SLL_LAGRANGE" order_x2 = 10 &poisson poisson_solver = " SLL_FFT " M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

53 vlasov poisson cartesian (bump on tail) &advector advector_x1 = "SLL_LAGRANGE" order_x1 = 10 advector_x2 = "SLL_LAGRANGE" order_x2 = 10 &poisson poisson_solver = " SLL_FFT " &d r i v e d r i v e _ t y p e = "SLL_NO_DRIVE" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

54 vlasov poisson cartesian (bump on tail) (2s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

55 vlasov poisson cartesian (two stream instability) &geometry mesh_case_x1 = "SLL_LANDAU_MESH" num_ cells_x1 = 256 x1_min = 0.0 nbox_x1 = 1 mesh_case_x2 = "SLL_LOGICAL_MESH" num_ cells_x2 = 1024 x2_min = 6.0 x2_max = 6.0 & i n i t i a l _ f u n c t i o n i n i t i a l _ f u n c t i o n _ c a s e = "SLL_TWO_STREAM_INSTABILITY" kmode = 0.5 eps = M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

56 vlasov poisson cartesian (two stream instability) &t i m e _ i t e r a t i o n s dt = 1.75! 0.5 number_iterations = 20 freq_diag = 5 freq_diag_time = 1 s p l i t _ c a s e = "SLL_ORDER6VPnew1_VTV" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

57 vlasov poisson cartesian (two stream instability) &poisson poisson_solver = " SLL_FFT " &d r i v e d r i v e _ t y p e = "SLL_NO_DRIVE" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

58 vlasov poisson cartesian (two stream instability) (3s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

59 vlasov poisson cartesian (KEEN wave) &geometry mesh_case_x1 = "SLL_LANDAU_MESH" num_ cells_x1 = 128 x1_min = 0.0 nbox_x1 = 1 mesh_case_x2 = "SLL_LOGICAL_MESH" num_ cells_x2 = 174 x2_min = 6.0 x2_max = 6.0 mesh_case_x2 = "SLL_TWO_GRID_MESH" x2_fine_min = 0.375! 0.36 x2_fine_max = 2. 25! density_x2_min_to_x2_fine_min = 1 density_x2_fine_min_to_x2_fine_max = 12 density_ x2_ fine_ max_ to_ x2_ max = 1 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

60 vlasov poisson cartesian (KEEN wave) & i n i t i a l _ f u n c t i o n i n i t i a l _ f u n c t i o n _ c a s e = "SLL_LANDAU" kmode = eps = 0.0 &t i m e _ i t e r a t i o n s dt = 2. number_iterations = 100 freq_diag = 20 f r e q _ d i a g _ r e s t a r t = 100 freq_diag_time = 1 nb_mode = 20 t i m e _ i n i t = 0. s p l i t _ c a s e = "SLL_ORDER6VPnew1_VTV" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

61 vlasov poisson cartesian (KEEN wave) &advector advector_x1 = "SLL_LAGRANGE" order_x1 = 18 advector_x2 = "SLL_NON_UNIFORM_CUBIC_SPLINES" order_x2 = 18 advection_ form_ x2 = " SLL_CONSERVATIVE" i n t e g r a t i o n _ c a s e = "SLL_CONSERVATIVE" &poisson poisson_solver = " SLL_FFT " M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

62 vlasov poisson cartesian (KEEN wave) &d r i v e d r i v e _ t y p e = "SLL_KEEN_DRIVE" keen_t0 = 0. keen_tl = 69. keen_tr = 307. keen_twl = 20. keen_twr = 20. k e e n _ t f l a t = 100. k e e n _ t u r n _ d r i v e _ o f f =. t r u e. keen_edrmax = 0.2 keen_omegadr = M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

63 vlasov poisson cartesian (KEEN wave) (1.5s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

64 vlasov poisson cartesian (beam) &geometry mesh_case_x1 = "SLL_LOGICAL_MESH" num_ cells_x1 = 128 x1_min = 4.0 x1_max = 4.0 mesh_case_x2 = "SLL_LOGICAL_MESH" num_ cells_x2 = 128 x2_min = 4.0 x2_max = 4.0 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

65 vlasov poisson cartesian (beam) & i n i t i a l _ f u n c t i o n i n i t i a l _ f u n c t i o n _ c a s e = "SLL_LANDAU" kmode = 0.5 eps = i n i t i a l _ f u n c t i o n _ c a s e = "SLL_BEAM" alpha_gaussian = 0. 2 &t i m e _ i t e r a t i o n s dt = 0.5 number_iterations = 41 freq_diag = 10 freq_diag_time = 1 s p l i t _ c a s e = "SLL_ORDER6VPnew1_VTV" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

66 vlasov poisson cartesian (beam) &advector advector_x1 = " SLL_SPLINES " order_x1 = 4 advector_x2 = " SLL_SPLINES " order_x2 = 4 f a c t o r _ x 1 = factor_x2_1 = factor_x2_rho = 1. &poisson poisson_solver = "SLL_POLAR" &d r i v e d r i v e _ t y p e = "SLL_NO_DRIVE" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

67 vlasov poisson cartesian (beam) (0.54s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

68 vlasov poisson cartesian no splitting (beam) (0.4s) &geometry mesh_case_x1 = "SLL_LOGICAL_MESH" num_ cells_x1 = 64 x1_min = 4.0 x1_max = 4.0 mesh_case_x2 = "SLL_LOGICAL_MESH" num_ cells_x2 = 64 x2_min = 4.0 x2_max = 4.0 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

69 vlasov poisson cartesian no splitting (beam) (0.4s) & i n i t i a l _ f u n c t i o n! i n i t i a l _ f u n c t i o n _ c a s e = "SLL_LANDAU" kmode = 0.5 eps = i n i t i a l _ f u n c t i o n _ c a s e = "SLL_BEAM" alpha_gaussian = 0. 2 &t i m e _ i t e r a t i o n s dt = 0.25 number_iterations = 80 freq_diag = 20 freq_diag_time = 1 time_loop_case = "SLL_PREDICTOR_CORRECTOR" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

70 vlasov poisson cartesian no splitting (beam) (0.4s) &advector advect2d_case = " SLL_BSL" f_interp2d_case = "SLL_CUBIC_SPLINES" phi_interp2d_case = "SLL_CUBIC_SPLINES"! charac2d_case = "SLL_EULER" charac2d_case = " SLL_VERLET" A_interp_case = "SLL_CUBIC_SPLINES" f a c t o r _ x 1 = ! factor_x2_1 = ! factor_x2_rho = 1. &poisson poisson_solver = "SLL_POLAR" &d r i v e M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

71 vlasov poisson cartesian no splitting (beam) (0.4s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

72 vlasov poisson cartesian 4d (landau) &geometry mesh_case_x1= "SLL_LANDAU_MESH" num_ cells_x1 = 16 x1_min = 0.0 nbox_x1 = 1 mesh_case_x2= "SLL_LANDAU_MESH" num_ cells_x2 = 16 x2_min = 0.0 nbox_x2 = 1 mesh_case_x3= "SLL_LOGICAL_MESH" num_ cells_x3 = 32 x3_min = 6. x3_max = 6. mesh_case_x4= "SLL_LOGICAL_MESH" num_ cells_x4 = 32 x4_min = 6. x4_max = 6. M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

73 vlasov poisson cartesian 4d (landau) & i n i t i a l _ f u n c t i o n i n i t i a l _ f u n c t i o n _ c a s e = "SLL_LANDAU" kmode_x1 = 0.5 kmode_x2 = 0.5 eps = 1e 3 &t i m e _ i t e r a t i o n s dt = 2 number_iterations = 5 freq_diag = 20 freq_diag_time = 1 s p l i t _ c a s e = "SLL_ORDER6VPnew1_VTV" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

74 vlasov poisson cartesian 4d (landau) &advector advector_x1 = "SLL_LAGRANGE" order_x1 = 4 advector_x2 = "SLL_LAGRANGE" order_x2 = 4 advector_x3 = "SLL_LAGRANGE" order_x3 = 4 advector_x4 = "SLL_LAGRANGE" order_x4 = 4 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

75 vlasov poisson cartesian 4d (landau) (2.3s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

76 drift kinetic 4d 4. About simulations EXAMPLES &mesh num_ cells_x1 = 32 num_ cells_x2 = 32 num_ cells_x3 = 8 num_ cells_x4 = 32 r_min = 0.1 r_max = z_min = 0. z_max = v_min = 7.32 v_max = M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

77 drift kinetic 4d 4. About simulations EXAMPLES &e q u i l i b r i u m tau0 = 1. rho_peak = 0.5 kappan = 13.2! d e l t a r n = 0.2! 2.9 kappati = 66.! d e l t a r T i = 0.1! 1.45 kappate = 66.! d e l t a r T e = 0.1! 1.45 QN_case = "SLL_QUASI_NEUTRAL_WITHOUT_ZONAL_FLOW" poisson2d_bc_rmin = "SLL_NEUMANN_MODE_0" poisson2d_bc_rmax = " SLL_DIRICHLET " M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

78 drift kinetic 4d 4. About simulations EXAMPLES &p e r t u r b a t i o n perturb_choice = 1 mmode = 5 nmode = 1 eps_perturb = 1.0e 6 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

79 drift kinetic 4d 4. About simulations EXAMPLES &sim_params dt = 16 number_iterations = 100 freq_diag_time = 1 freq_diag = 100 time_loop_case = "SLL_TIME_LOOP_PREDICTOR_CORRECTOR" charac2d_case = "SLL_CHARAC_EULER" charac2d_tol = 1e 12 charac2d_maxiter = 1000 advect2d_case = " SLL_BSL" interp_x1x2 = "SLL_CUBIC_SPLINES" phi_interp_x1x2 = "SLL_CUBIC_SPLINES" p h i _ i n t e r p _ x 3 = "SLL_CUBIC_SPLINES" advector_x3 = " SLL_SPLINES " order_x3 = 4 advector_x4 = " SLL_SPLINES " order_x4 = 4 poisson2d_case = " POLAR_FFT" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

80 drift kinetic 4d (21s) 4. About simulations EXAMPLES M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

81 drift kinetic 4d one mu (22s) &mesh num_ cells_x1 = 32 num_ cells_x2 = 32 num_ cells_x3 = 8 num_ cells_x4 = 32 r_min = 0.1 r_max = z_min = 0. z_max = v_min = 7.32 v_max = M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

82 drift kinetic 4d one mu (22s) &e q u i l i b r i u m tau0 = 1. rho_peak = 0.5 kappan = 13.2! d e l t a r n = 0.2! 2.9 kappati = 66.! d e l t a r T i = 0.1! 1.45 kappate = 66.! d e l t a r T e = 0.1! 1.45 QN_case = "SLL_QUASI_NEUTRAL_WITHOUT_ZONAL_FLOW" poisson2d_bc_rmin = "SLL_NEUMANN_MODE_0" poisson2d_bc_rmax = " SLL_DIRICHLET " M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

83 drift kinetic 4d one mu (22s) &p e r t u r b a t i o n perturb_choice = 1 mmode = 5 nmode = 1 eps_perturb = 1.0e 6 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

84 drift kinetic 4d one mu (22s) &sim_params dt = 32 number_iterations = 50! number_iterations = 1 freq_diag_time = 1 freq_diag = 100! time_loop_case = "SLL_TIME_LOOP_EULER" time_loop_case = "SLL_TIME_LOOP_PREDICTOR_CORRECTOR" charac2d_case = "SLL_CHARAC_VERLET" charac2d_tol = 1e 12 charac2d_maxiter = 1000 advect2d_case = " SLL_BSL" interp_x1x2 = "SLL_CUBIC_SPLINES" interp_x1x2 = "SLL_HERMITE" hermite_degree_eta1 = 6 hermite_degree_eta2 = 6 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

85 drift kinetic 4d one mu (22s) phi_interp_x1x2 = "SLL_CUBIC_SPLINES" p h i _ i n t e r p _ x 3 = "SLL_CUBIC_SPLINES" advector_x3 = " SLL_SPLINES " order_x3 = 4 advector_x4 = " SLL_SPLINES " order_x4 = 4 poisson2d_case = " POLAR_FFT" gyroaverage_case = "HERMITE_C1_PRECOMPUTE" mu = 2.2e 0 gyroaverage_n_points = 1024 gyroaverage_interp_degree_x1 = 3 gyroaverage_interp_degree_x2 = 3 delta_f_method = 1 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

86 drift kinetic 4d one mu (22s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

87 drift kinetic 4d field aligned &mesh num_ cells_x1 = 32 num_ cells_x2 = 32 num_ cells_x3 = 8 num_ cells_x4 = 32 r_min = 0.1 r_max = z_min = 0. z_max = v_min = 7.32 v_max = M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

88 drift kinetic 4d field aligned &e q u i l i b r i u m tau0 = 1. rho_peak = 0.5 kappan = 13.2! d e l t a r n = 0.2! 2.9 kappati = 66.! d e l t a r T i = 0.1! 1.45 kappate = 66.! d e l t a r T e = 0.1! 1.45 QN_case = "SLL_QUASI_NEUTRAL_WITHOUT_ZONAL_FLOW" poisson2d_bc_rmin = "SLL_NEUMANN_MODE_0" poisson2d_bc_rmax = " SLL_DIRICHLET " i o t a 0 = 0.8 Dr_iota0 = 0 B0 = 1. M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

89 drift kinetic 4d field aligned &p e r t u r b a t i o n perturb_choice = 1 mmode = 5 nmode = 3 eps_perturb = 1.0e 6 M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

90 drift kinetic 4d field aligned &sim_params dt = 16 number_iterations = 100! 8000! number_iterations = 1 freq_diag_time = 1 freq_diag = 50! time_loop_case = "SLL_TIME_LOOP_EULER" time_loop_case = "SLL_TIME_LOOP_PREDICTOR_CORRECTOR" charac2d_case = "SLL_CHARAC_VERLET" charac2d_tol = 1e 12 charac2d_maxiter = 2! 1000 advect2d_case = " SLL_BSL" interp_x1x2 = "SLL_CUBIC_SPLINES" phi_interp_x1x2 = "SLL_CUBIC_SPLINES" p h i _ i n t e r p _ x 3 = "SLL_CUBIC_SPLINES" M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

91 drift kinetic 4d field aligned advector_x2 = " SLL_SPLINES " order_x2 = 4 advector_x3 = " SLL_SPLINES " order_x3 = 4 advector_x4 = " SLL_SPLINES " order_x4 = 4 poisson2d_case = " POLAR_FFT" l a g r a n g e _ s t e n c i l _ l e f t = 2 l a g r a n g e _ s t e n c i l _ r i g h t = 3 d e r i v _ s t e n c i l _ l e f t = 3 d e r i v _ s t e n c i l _ r i g h t = 3 u s e _ f i e l d _ a l i g n e d _ i n t e r p o l a t i o n = T u s e _ f i e l d _ a l i g n e d _ d e r i v a t i v e = T M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

92 drift kinetic 4d field aligned (60s) M. Mehrenberger (UDS) Interfaces and simulations in SELALIB Garching, November

Berk-Breizman and diocotron instability testcases

Berk-Breizman and diocotron instability testcases Berk-Breizman and diocotron instability testcases M. Mehrenberger, N. Crouseilles, V. Grandgirard, S. Hirstoaga, E. Madaule, J. Petri, E. Sonnendrücker Université de Strasbourg, IRMA (France); INRIA Grand

More information

Massively parallel semi-lagrangian solution of the 6d Vlasov-Poisson problem

Massively parallel semi-lagrangian solution of the 6d Vlasov-Poisson problem Massively parallel semi-lagrangian solution of the 6d Vlasov-Poisson problem Katharina Kormann 1 Klaus Reuter 2 Markus Rampp 2 Eric Sonnendrücker 1 1 Max Planck Institut für Plasmaphysik 2 Max Planck Computing

More information

Michel Mehrenberger 1 & Eric Sonnendrücker 2 ECCOMAS 2016

Michel Mehrenberger 1 & Eric Sonnendrücker 2 ECCOMAS 2016 for Vlasov type for Vlasov type 1 2 ECCOMAS 2016 In collaboration with : Bedros Afeyan, Aurore Back, Fernando Casas, Nicolas Crouseilles, Adila Dodhy, Erwan Faou, Yaman Güclü, Adnane Hamiaz, Guillaume

More information

A particle-in-cell method with adaptive phase-space remapping for kinetic plasmas

A particle-in-cell method with adaptive phase-space remapping for kinetic plasmas A particle-in-cell method with adaptive phase-space remapping for kinetic plasmas Bei Wang 1 Greg Miller 2 Phil Colella 3 1 Princeton Institute of Computational Science and Engineering Princeton University

More information

Edwin Chacon-Golcher 1, Sever A. Hirstoaga 2 and Mathieu Lutz 3. Introduction

Edwin Chacon-Golcher 1, Sever A. Hirstoaga 2 and Mathieu Lutz 3. Introduction ESAIM: PROCEEDINGS AND SURVEYS, March 2016, Vol. 53, p. 177-190 M. Campos Pinto and F. Charles, Editors OPTIMIZATION OF PARTICLE-IN-CELL SIMULATIONS FOR VLASOV-POISSON SYSTEM WITH STRONG MAGNETIC FIELD

More information

Optimization of Particle-In-Cell simulations for Vlasov-Poisson system with strong magnetic field

Optimization of Particle-In-Cell simulations for Vlasov-Poisson system with strong magnetic field Optimization of Particle-In-Cell simulations for Vlasov-Poisson system with strong magnetic field Edwin Chacon-Golcher Sever A. Hirstoaga Mathieu Lutz Abstract We study the dynamics of charged particles

More information

A new fully two-dimensional conservative semi-lagrangian method: applications on polar grids, from diocotron instability to ITG turbulence

A new fully two-dimensional conservative semi-lagrangian method: applications on polar grids, from diocotron instability to ITG turbulence A new fully two-dimensional conservative semi-lagrangian method: applications on polar grids, from diocotron instability to ITG turbulence Nicolas Crouseilles, Pierre Glanc, Sever Adrian Hirstoaga, Eric

More information

What place for mathematicians in plasma physics

What place for mathematicians in plasma physics What place for mathematicians in plasma physics Eric Sonnendrücker IRMA Université Louis Pasteur, Strasbourg projet CALVI INRIA Nancy Grand Est 15-19 September 2008 Eric Sonnendrücker (U. Strasbourg) Math

More information

Moments conservation in adaptive Vlasov solver

Moments conservation in adaptive Vlasov solver 12 Moments conservation in adaptive Vlasov solver M. Gutnic a,c, M. Haefele b,c and E. Sonnendrücker a,c a IRMA, Université Louis Pasteur, Strasbourg, France. b LSIIT, Université Louis Pasteur, Strasbourg,

More information

Arches Part 1: Introduction to the Uintah Computational Framework. Charles Reid Scientific Computing Summer Workshop July 14, 2010

Arches Part 1: Introduction to the Uintah Computational Framework. Charles Reid Scientific Computing Summer Workshop July 14, 2010 Arches Part 1: Introduction to the Uintah Computational Framework Charles Reid Scientific Computing Summer Workshop July 14, 2010 Arches Uintah Computational Framework Cluster Node Node Node Node Node

More information

Kinetic/Fluid micro-macro numerical scheme for Vlasov-Poisson-BGK equation using particles

Kinetic/Fluid micro-macro numerical scheme for Vlasov-Poisson-BGK equation using particles Kinetic/Fluid micro-macro numerical scheme for Vlasov-Poisson-BGK equation using particles Anaïs Crestetto 1, Nicolas Crouseilles 2 and Mohammed Lemou 3. The 8th International Conference on Computational

More information

ORBIT Code Review and Future Directions. S. Cousineau, A. Shishlo, J. Holmes ECloud07

ORBIT Code Review and Future Directions. S. Cousineau, A. Shishlo, J. Holmes ECloud07 ORBIT Code Review and Future Directions S. Cousineau, A. Shishlo, J. Holmes ECloud07 ORBIT Code ORBIT (Objective Ring Beam Injection and Transport code) ORBIT is an object-oriented, open-source code started

More information

An asymptotic-preserving micro-macro scheme for Vlasov-BGK-like equations in the diffusion scaling

An asymptotic-preserving micro-macro scheme for Vlasov-BGK-like equations in the diffusion scaling An asymptotic-preserving micro-macro scheme for Vlasov-BGK-like equations in the diffusion scaling Anaïs Crestetto 1, Nicolas Crouseilles 2 and Mohammed Lemou 3 Saint-Malo 13 December 2016 1 Université

More information

Numerical stability of plasma sheath

Numerical stability of plasma sheath Numerical stability of plasma sheath Mehdi Badsi, Michel Mehrenberger, Laurent Navoret To cite this version: Mehdi Badsi, Michel Mehrenberger, Laurent Navoret. Numerical stability of plasma sheath. 2018.

More information

A forward semi-lagrangian method for the numerical solution of the Vlasov equation

A forward semi-lagrangian method for the numerical solution of the Vlasov equation A forward semi-lagrangian method for the numerical solution of the Vlasov equation Nicolas Crouseilles Thomas Respaud Eric Sonnendrücker November 2, 28 Abstract This work deals with the numerical solution

More information

Conservative semi-lagrangian schemes for Vlasov equations

Conservative semi-lagrangian schemes for Vlasov equations Conservative semi-lagrangian schemes for Vlasov equations Nicolas Crouseilles Michel Mehrenberger Eric Sonnendrücker October 3, 9 Abstract Conservative methods for the numerical solution of the Vlasov

More information

Physic-based Preconditioning and B-Splines finite elements method for Tokamak MHD

Physic-based Preconditioning and B-Splines finite elements method for Tokamak MHD Physic-based Preconditioning and B-Splines finite elements method for Tokamak MHD E. Franck 1, M. Gaja 2, M. Mazza 2, A. Ratnani 2, S. Serra Capizzano 3, E. Sonnendrücker 2 ECCOMAS Congress 2016, 5-10

More information

Semi-Lagrangian Formulations for Linear Advection Equations and Applications to Kinetic Equations

Semi-Lagrangian Formulations for Linear Advection Equations and Applications to Kinetic Equations Semi-Lagrangian Formulations for Linear Advection and Applications to Kinetic Department of Mathematical and Computer Science Colorado School of Mines joint work w/ Chi-Wang Shu Supported by NSF and AFOSR.

More information

An Overview of Fluid Animation. Christopher Batty March 11, 2014

An Overview of Fluid Animation. Christopher Batty March 11, 2014 An Overview of Fluid Animation Christopher Batty March 11, 2014 What distinguishes fluids? What distinguishes fluids? No preferred shape. Always flows when force is applied. Deforms to fit its container.

More information

A charge preserving scheme for the numerical resolution of the Vlasov-Ampère equations.

A charge preserving scheme for the numerical resolution of the Vlasov-Ampère equations. A charge preserving scheme for the numerical resolution of the Vlasov-Ampère equations. Nicolas Crouseilles Thomas Respaud January, Abstract In this report, a charge preserving numerical resolution of

More information

Landau Damping Simulation Models

Landau Damping Simulation Models Landau Damping Simulation Models Hua-sheng XIE (u) huashengxie@gmail.com) Department of Physics, Institute for Fusion Theory and Simulation, Zhejiang University, Hangzhou 310027, P.R.China Oct. 9, 2013

More information

VLASOV1: One-dimensional electrostatic Vlasov code Hands-on session in 13th International School for Space Simulations (ISSS-13)

VLASOV1: One-dimensional electrostatic Vlasov code Hands-on session in 13th International School for Space Simulations (ISSS-13) VLASOV1: One-dimensional electrostatic Vlasov code Hands-on session in 13th International School for Space Simulations (ISSS-13) Takayuki Umeda Ver.2: September 6, 2018 for ISSS-13@UCLA, USA Ver.1: July

More information

Earth System Modeling Domain decomposition

Earth System Modeling Domain decomposition Earth System Modeling Domain decomposition Graziano Giuliani International Centre for Theorethical Physics Earth System Physics Section Advanced School on Regional Climate Modeling over South America February

More information

Adaptive simulation of Vlasov equations in arbitrary dimension using interpolatory hierarchical bases

Adaptive simulation of Vlasov equations in arbitrary dimension using interpolatory hierarchical bases Adaptive simulation of Vlasov equations in arbitrary dimension using interpolatory hierarchical bases Erwan Deriaz Fusion Plasma Team Institut Jean Lamour (Nancy), CNRS / Université de Lorraine VLASIX

More information

Nhung Pham 1, Philippe Helluy 2 and Laurent Navoret 3

Nhung Pham 1, Philippe Helluy 2 and Laurent Navoret 3 ESAIM: PROCEEDINGS AND SURVEYS, September 014, Vol. 45, p. 379-389 J.-S. Dhersin, Editor HYPERBOLIC APPROXIMATION OF THE FOURIER TRANSFORMED VLASOV EQUATION Nhung Pham 1, Philippe Helluy and Laurent Navoret

More information

Kinetic/Fluid micro-macro numerical scheme for Vlasov-Poisson-BGK equation using particles

Kinetic/Fluid micro-macro numerical scheme for Vlasov-Poisson-BGK equation using particles Kinetic/Fluid micro-macro numerical scheme for Vlasov-Poisson-BGK equation using particles Anaïs Crestetto 1, Nicolas Crouseilles 2 and Mohammed Lemou 3. Workshop Asymptotic-Preserving schemes, Porquerolles.

More information

Fluid Animation. Christopher Batty November 17, 2011

Fluid Animation. Christopher Batty November 17, 2011 Fluid Animation Christopher Batty November 17, 2011 What distinguishes fluids? What distinguishes fluids? No preferred shape Always flows when force is applied Deforms to fit its container Internal forces

More information

Benchmarks in Computational Plasma Physics

Benchmarks in Computational Plasma Physics Benchmarks in Computational Plasma Physics P. Londrillo INAF, Bologna, Italie S. Landi Università di Firenze, Italie What you compute when you do computations of the Vlasov equation? Overview A short review

More information

Study of Laser Plasma Interactions Using an Eulerian Vlasov Code

Study of Laser Plasma Interactions Using an Eulerian Vlasov Code PSFC/JA-04-6 Study of Laser Plasma Interactions Using an Eulerian Vlasov Code D. J. Strozzi, M. M. Shoucri*, and A. Bers March 2004 Plasma Science and Fusion Center Massachusetts Institute of Technology

More information

Modeling, Simulating and Rendering Fluids. Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan

Modeling, Simulating and Rendering Fluids. Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan Applications Mostly Hollywood Shrek Antz Terminator 3 Many others Games Engineering Animating Fluids is

More information

The Shallow Water Equations

The Shallow Water Equations If you have not already done so, you are strongly encouraged to read the companion file on the non-divergent barotropic vorticity equation, before proceeding to this shallow water case. We do not repeat

More information

High Order Semi-Lagrangian WENO scheme for Vlasov Equations

High Order Semi-Lagrangian WENO scheme for Vlasov Equations High Order WENO scheme for Equations Department of Mathematical and Computer Science Colorado School of Mines joint work w/ Andrew Christlieb Supported by AFOSR. Computational Mathematics Seminar, UC Boulder

More information

Assignment on iterative solution methods and preconditioning

Assignment on iterative solution methods and preconditioning Division of Scientific Computing, Department of Information Technology, Uppsala University Numerical Linear Algebra October-November, 2018 Assignment on iterative solution methods and preconditioning 1.

More information

Une décomposition micro-macro particulaire pour des équations de type Boltzmann-BGK en régime de diffusion

Une décomposition micro-macro particulaire pour des équations de type Boltzmann-BGK en régime de diffusion Une décomposition micro-macro particulaire pour des équations de type Boltzmann-BGK en régime de diffusion Anaïs Crestetto 1, Nicolas Crouseilles 2 et Mohammed Lemou 3 La Tremblade, Congrès SMAI 2017 5

More information

Treecodes for Cosmology Thomas Quinn University of Washington N-Body Shop

Treecodes for Cosmology Thomas Quinn University of Washington N-Body Shop Treecodes for Cosmology Thomas Quinn University of Washington N-Body Shop Outline Motivation Multipole Expansions Tree Algorithms Periodic Boundaries Time integration Gravitational Softening SPH Parallel

More information

Maria Cameron Theoretical foundations. Let. be a partition of the interval [a, b].

Maria Cameron Theoretical foundations. Let. be a partition of the interval [a, b]. Maria Cameron 1 Interpolation by spline functions Spline functions yield smooth interpolation curves that are less likely to exhibit the large oscillations characteristic for high degree polynomials Splines

More information

FVM for Fluid-Structure Interaction with Large Structural Displacements

FVM for Fluid-Structure Interaction with Large Structural Displacements FVM for Fluid-Structure Interaction with Large Structural Displacements Željko Tuković and Hrvoje Jasak Zeljko.Tukovic@fsb.hr, h.jasak@wikki.co.uk Faculty of Mechanical Engineering and Naval Architecture

More information

Hybrid semi-lagrangian finite element-finite difference methods for the Vlasov equation

Hybrid semi-lagrangian finite element-finite difference methods for the Vlasov equation Numerical Analysis and Scientific Computing Preprint Seria Hybrid semi-lagrangian finite element-finite difference methods for the Vlasov equation W. Guo J. Qiu Preprint #21 Department of Mathematics University

More information

Outline. 1 Why PIC Simulations Make Sense. 2 The Algorithm. 3 Examples Surface High Harmonics Generation. 4 Extensions Of The PIC Algorithm

Outline. 1 Why PIC Simulations Make Sense. 2 The Algorithm. 3 Examples Surface High Harmonics Generation. 4 Extensions Of The PIC Algorithm PIC Simulations an Introduction GRK 1203 Meeting February 12-15, 2008, Oelde Outline 1 Simulations Make Sense 2 3 Surface High Harmonics Generation 4 Of PIC Plasma Physics Is Complex Experiment real thing

More information

Simulations of Kinetic Electrostatic Electron Nonlinear (KEEN) Waves with Variable Velocity Resolution Grids and High-Order Time-Splitting

Simulations of Kinetic Electrostatic Electron Nonlinear (KEEN) Waves with Variable Velocity Resolution Grids and High-Order Time-Splitting EPJ manuscript No. (will be inserted by the editor) Simulations of Kinetic Electrostatic Electron Nonlinear (KEEN) Waves with Variable Velocity Resolution Grids and High-Order Time-Splitting B. Afeyan

More information

EP2Plus: a hybrid plasma. plume/spacecraft. interaction code. F. Cichocki, M. Merino, E. Ahedo

EP2Plus: a hybrid plasma. plume/spacecraft. interaction code. F. Cichocki, M. Merino, E. Ahedo EP2Plus: a hybrid plasma plume/spacecraft interaction code F. Cichocki, M. Merino, E. Ahedo 24 th SPINE meeting ESTEC, Noordwijk, October 23 rd, 2017 Contents Introduction to EP2PLUS Overall structure

More information

Implicit kinetic relaxation schemes. Application to the plasma physic

Implicit kinetic relaxation schemes. Application to the plasma physic Implicit kinetic relaxation schemes. Application to the plasma physic D. Coulette 5, E. Franck 12, P. Helluy 12, C. Courtes 2, L. Navoret 2, L. Mendoza 2, F. Drui 2 ABPDE II, Lille, August 2018 1 Inria

More information

Micro-macro methods for Boltzmann-BGK-like equations in the diffusion scaling

Micro-macro methods for Boltzmann-BGK-like equations in the diffusion scaling Micro-macro methods for Boltzmann-BGK-like equations in the diffusion scaling Anaïs Crestetto 1, Nicolas Crouseilles 2, Giacomo Dimarco 3 et Mohammed Lemou 4 Saint-Malo, 14 décembre 2017 1 Université de

More information

The Advanced Research WRF (ARW) Dynamics Solver

The Advanced Research WRF (ARW) Dynamics Solver Dynamics: Introduction The Advanced Research WRF (ARW) Dynamics Solver 1. What is a dynamics solver? 2. Variables and coordinates 3. Equations 4. Time integration scheme 5. Grid staggering 6. Advection

More information

A Numerical Method for Parallel Particle Motions in Gyrokinetic Vlasov Simulations )

A Numerical Method for Parallel Particle Motions in Gyrokinetic Vlasov Simulations ) A Numerical Method for Parallel Particle Motions in Gyrokinetic Vlasov Simulations ) Shinya MAEYAMA, Akihiro ISHIZAWA 1), Tomo-Hiko WATANABE 1), Noriyoshi NAKAJIMA 1), Shunji TSUJI-IIO and Hiroaki TSUTSUI

More information

Hideyuki Usui 1,3, M. Nunami 2,3, Y. Yagi 1,3, T. Moritaka 1,3, and JST/CREST multi-scale PIC simulation team

Hideyuki Usui 1,3, M. Nunami 2,3, Y. Yagi 1,3, T. Moritaka 1,3, and JST/CREST multi-scale PIC simulation team Hideyuki Usui 1,3, M. Nunami 2,3, Y. Yagi 1,3, T. Moritaka 1,3, and JST/CREST multi-scale PIC simulation team 1 Kobe Univ., Japan, 2 NIFS,Japan, 3 JST/CREST, Outline Multi-scale interaction between weak

More information

Chapter 5. Methods for Solving Elliptic Equations

Chapter 5. Methods for Solving Elliptic Equations Chapter 5. Methods for Solving Elliptic Equations References: Tannehill et al Section 4.3. Fulton et al (1986 MWR). Recommended reading: Chapter 7, Numerical Methods for Engineering Application. J. H.

More information

A parallel Vlasov solver based on local cubic spline interpolation on patches

A parallel Vlasov solver based on local cubic spline interpolation on patches A parallel Vlasov solver based on local cubic spline interpolation on patches Nicolas Crouseilles Guillaume Latu Eric Sonnendrücker September 4, 2008 Abstract A method for computing the numerical solution

More information

1 Background: The Gray-Scott Reaction-Diffusion System

1 Background: The Gray-Scott Reaction-Diffusion System MSE 350 Modeling 2-D Reaction-Diffusion Instructor: R.G. Erdmann In this project, worth 3 points, you will simulate the dynamics of the Gray-Scott reaction diffusion system. (see the following: http://www-swiss.ai.mit.edu/projects/amorphous/

More information

Nonlinear Iterative Solution of the Neutron Transport Equation

Nonlinear Iterative Solution of the Neutron Transport Equation Nonlinear Iterative Solution of the Neutron Transport Equation Emiliano Masiello Commissariat à l Energie Atomique de Saclay /DANS//SERMA/LTSD emiliano.masiello@cea.fr 1/37 Outline - motivations and framework

More information

Motivation: Sparse matrices and numerical PDE's

Motivation: Sparse matrices and numerical PDE's Lecture 20: Numerical Linear Algebra #4 Iterative methods and Eigenproblems Outline 1) Motivation: beyond LU for Ax=b A little PDE's and sparse matrices A) Temperature Equation B) Poisson Equation 2) Splitting

More information

Implementing a Partitioned Algorithm for Fluid-Structure Interaction of Flexible Flapping Wings within Overture

Implementing a Partitioned Algorithm for Fluid-Structure Interaction of Flexible Flapping Wings within Overture 10 th Symposimum on Overset Composite Grids and Solution Technology, NASA Ames Research Center Moffett Field, California, USA 1 Implementing a Partitioned Algorithm for Fluid-Structure Interaction of Flexible

More information

The Lattice Boltzmann method for hyperbolic systems. Benjamin Graille. October 19, 2016

The Lattice Boltzmann method for hyperbolic systems. Benjamin Graille. October 19, 2016 The Lattice Boltzmann method for hyperbolic systems Benjamin Graille October 19, 2016 Framework The Lattice Boltzmann method 1 Description of the lattice Boltzmann method Link with the kinetic theory Classical

More information

Numerical Methods II

Numerical Methods II Numerical Methods II Kevin Li With acknowledgements to: H. Bartosik, X. Buffat, L.R. Carver, S. Hegglin, G. Iadarola, L. Mether, E. Metral, N. Mounet, A. Oeftiger, A. Romano, G. Rumolo, B. Salvant, M.

More information

Z. Lin University of California, Irvine, CA 92697, USA. Supported by SciDAC GPS-TTBP, GSEP & CPES

Z. Lin University of California, Irvine, CA 92697, USA. Supported by SciDAC GPS-TTBP, GSEP & CPES GTC Framework Development and Application Z. Lin University of California, Irvine, CA 92697, USA and dgpsttbp GPS-TTBP Team Supported by SciDAC GPS-TTBP, GSEP & CPES GPS-TTBP Workshop on GTC Framework

More information

Splitting based Implicit solvers for compressible fluid models

Splitting based Implicit solvers for compressible fluid models Splitting based Implicit solvers for compressible fluid models D. Coulette 3, E. Franck 1, M. Gaja 2, P. Helluy 3, J. Lakhlili 2, M. Mazza 2, M. Mehrenberger 3, A. Ratnani 2, S. Serra-Capizzano 4, E. Sonnendrücker

More information

EXASCALE COMPUTING. Implementation of a 2D Electrostatic Particle in Cell algorithm in UniÞed Parallel C with dynamic load-balancing

EXASCALE COMPUTING. Implementation of a 2D Electrostatic Particle in Cell algorithm in UniÞed Parallel C with dynamic load-balancing ExaScience Lab Intel Labs Europe EXASCALE COMPUTING Implementation of a 2D Electrostatic Particle in Cell algorithm in UniÞed Parallel C with dynamic load-balancing B. Verleye P. Henry R. Wuyts G. Lapenta

More information

ME751 Advanced Computational Multibody Dynamics

ME751 Advanced Computational Multibody Dynamics ME751 Advanced Computational Multibody Dynamics November 2, 2016 Antonio Recuero University of Wisconsin-Madison Quotes of the Day The methods which I set forth do not require either constructions or geometrical

More information

Directional Field. Xiao-Ming Fu

Directional Field. Xiao-Ming Fu Directional Field Xiao-Ming Fu Outlines Introduction Discretization Representation Objectives and Constraints Outlines Introduction Discretization Representation Objectives and Constraints Definition Spatially-varying

More information

Adaptive semi-lagrangian schemes for transport

Adaptive semi-lagrangian schemes for transport for transport (how to predict accurate grids?) Martin Campos Pinto CNRS & University of Strasbourg, France joint work Albert Cohen (Paris 6), Michel Mehrenberger and Eric Sonnendrücker (Strasbourg) MAMCDP

More information

Fluid-Structure Interaction Problems using SU2 and External Finite-Element Solvers

Fluid-Structure Interaction Problems using SU2 and External Finite-Element Solvers Fluid-Structure Interaction Problems using SU2 and External Finite-Element Solvers R. Sanchez 1, D. Thomas 2, R. Palacios 1, V. Terrapon 2 1 Department of Aeronautics, Imperial College London 2 Department

More information

Numerical Modelling in Fortran: day 9. Paul Tackley, 2017

Numerical Modelling in Fortran: day 9. Paul Tackley, 2017 Numerical Modelling in Fortran: day 9 Paul Tackley, 2017 Today s Goals 1. Implicit time stepping. 2. Useful libraries and other software 3. Fortran and numerical methods: Review and discussion. New features

More information

Multistep Methods for IVPs. t 0 < t < T

Multistep Methods for IVPs. t 0 < t < T Multistep Methods for IVPs We are still considering the IVP dy dt = f(t,y) t 0 < t < T y(t 0 ) = y 0 So far we have looked at Euler s method, which was a first order method and Runge Kutta (RK) methods

More information

OPEN CHANNEL FLOW. Computer Applications. Numerical Methods and. Roland Jeppson. CRC Press UNIVERSITATSB'BUOTHEK TECHNISCHE. INFORMATlONSBiBUOTHEK

OPEN CHANNEL FLOW. Computer Applications. Numerical Methods and. Roland Jeppson. CRC Press UNIVERSITATSB'BUOTHEK TECHNISCHE. INFORMATlONSBiBUOTHEK OPEN CHANNEL FLOW Numerical Methods and Computer Applications Roland Jeppson TECHNISCHE INFORMATlONSBiBUOTHEK UNIVERSITATSB'BUOTHEK HANNOVER Si. i. CRC Press Taylor &.Francis Group Boca Raton London New

More information

FDM for parabolic equations

FDM for parabolic equations FDM for parabolic equations Consider the heat equation where Well-posed problem Existence & Uniqueness Mass & Energy decreasing FDM for parabolic equations CNFD Crank-Nicolson + 2 nd order finite difference

More information

Interpolation. 1. Judd, K. Numerical Methods in Economics, Cambridge: MIT Press. Chapter

Interpolation. 1. Judd, K. Numerical Methods in Economics, Cambridge: MIT Press. Chapter Key References: Interpolation 1. Judd, K. Numerical Methods in Economics, Cambridge: MIT Press. Chapter 6. 2. Press, W. et. al. Numerical Recipes in C, Cambridge: Cambridge University Press. Chapter 3

More information

(Refer Slide Time: 03: 09)

(Refer Slide Time: 03: 09) Computational Electromagnetics and Applications Professor Krish Sankaran Indian Institute of Technology Bombay Lecture No 26 Finite Volume Time Domain Method-I Welcome back in the precious lectures we

More information

A unifying model for fluid flow and elastic solid deformation: a novel approach for fluid-structure interaction and wave propagation

A unifying model for fluid flow and elastic solid deformation: a novel approach for fluid-structure interaction and wave propagation A unifying model for fluid flow and elastic solid deformation: a novel approach for fluid-structure interaction and wave propagation S. Bordère a and J.-P. Caltagirone b a. CNRS, Univ. Bordeaux, ICMCB,

More information

Comparing the formulations of CCAM and VCAM and aspects of their performance

Comparing the formulations of CCAM and VCAM and aspects of their performance Comparing the formulations of CCAM and VCAM and aspects of their performance John McGregor CSIRO Marine and Atmospheric Research Aspendale, Melbourne PDEs on the Sphere Cambridge 28 September 2012 CSIRO

More information

ICON. The Icosahedral Nonhydrostatic modelling framework

ICON. The Icosahedral Nonhydrostatic modelling framework ICON The Icosahedral Nonhydrostatic modelling framework Basic formulation, NWP and high-performance computing aspects, and its perspective towards a unified model for seamless prediction Günther Zängl,

More information

PDE Solvers for Fluid Flow

PDE Solvers for Fluid Flow PDE Solvers for Fluid Flow issues and algorithms for the Streaming Supercomputer Eran Guendelman February 5, 2002 Topics Equations for incompressible fluid flow 3 model PDEs: Hyperbolic, Elliptic, Parabolic

More information

Faster Kinetics: Accelerate Your Finite-Rate Combustion Simulation with GPUs

Faster Kinetics: Accelerate Your Finite-Rate Combustion Simulation with GPUs Faster Kinetics: Accelerate Your Finite-Rate Combustion Simulation with GPUs Christopher P. Stone, Ph.D. Computational Science and Engineering, LLC Kyle Niemeyer, Ph.D. Oregon State University 2 Outline

More information

Dual Reciprocity Boundary Element Method for Magma Ocean Simulations

Dual Reciprocity Boundary Element Method for Magma Ocean Simulations Dual Reciprocity Boundary Element Method for Magma Ocean Simulations Tyler W. Drombosky drombosk@math.umd.edu Saswata Hier-Majumder saswata@umd.edu 28 April 2010 Physical Motivation Earth s early history

More information

GTC Simulation of Turbulence and Transport in Tokamak Plasmas

GTC Simulation of Turbulence and Transport in Tokamak Plasmas GTC Simulation of Turbulence and Transport in Tokamak Plasmas Z. Lin University it of California, i Irvine, CA 92697, USA and GPS-TTBP Team Supported by SciDAC GPS-TTBP, GSEP & CPES Motivation First-principles

More information

Matlab Course. Anna Kristine Wåhlin. Department of Geophysics, University of Oslo. January Matlab Course p.1/??

Matlab Course. Anna Kristine Wåhlin. Department of Geophysics, University of Oslo. January Matlab Course p.1/?? Matlab Course Anna Kristine Wåhlin Department of Geophysics, University of Oslo January 2003 Matlab Course p.1/?? Numerical estimate of the derivative An estimate of the time derivative of dataset at time

More information

Numerically Solving Partial Differential Equations

Numerically Solving Partial Differential Equations Numerically Solving Partial Differential Equations Michael Lavell Department of Applied Mathematics and Statistics Abstract The physics describing the fundamental principles of fluid dynamics can be written

More information

Computational Methods in Plasma Physics

Computational Methods in Plasma Physics Computational Methods in Plasma Physics Richard Fitzpatrick Institute for Fusion Studies University of Texas at Austin Purpose of Talk Describe use of numerical methods to solve simple problem in plasma

More information

6810 Session 6 (last revised: January 28, 2017) 6 1

6810 Session 6 (last revised: January 28, 2017) 6 1 6810 Session 6 (last revised: January 28, 2017) 6 1 6. 6810 Session 6 a. Follow-ups to Session 5 (and earlier) Normalization of u nl (r) from eigen tridiagonal.cpp. This code implemented the following

More information

A High Order Conservative Semi-Lagrangian Discontinuous Galerkin Method for Two-Dimensional Transport Simulations

A High Order Conservative Semi-Lagrangian Discontinuous Galerkin Method for Two-Dimensional Transport Simulations Motivation Numerical methods Numerical tests Conclusions A High Order Conservative Semi-Lagrangian Discontinuous Galerkin Method for Two-Dimensional Transport Simulations Xiaofeng Cai Department of Mathematics

More information

Lecture V: The game-engine loop & Time Integration

Lecture V: The game-engine loop & Time Integration Lecture V: The game-engine loop & Time Integration The Basic Game-Engine Loop Previous state: " #, %(#) ( #, )(#) Forces -(#) Integrate velocities and positions Resolve Interpenetrations Per-body change

More information

Incompressible MHD simulations

Incompressible MHD simulations Incompressible MHD simulations Felix Spanier 1 Lehrstuhl für Astronomie Universität Würzburg Simulation methods in astrophysics Felix Spanier (Uni Würzburg) Simulation methods in astrophysics 1 / 20 Outline

More information

Investigation of an implicit solver for the simulation of bubble oscillations using Basilisk

Investigation of an implicit solver for the simulation of bubble oscillations using Basilisk Investigation of an implicit solver for the simulation of bubble oscillations using Basilisk D. Fuster, and S. Popinet Sorbonne Universités, UPMC Univ Paris 6, CNRS, UMR 79 Institut Jean Le Rond d Alembert,

More information

PIC Algorithm with Multiple Poisson Equation Solves During One Time Step

PIC Algorithm with Multiple Poisson Equation Solves During One Time Step Journal of Physics: Conference Series PAPER OPEN ACCESS PIC Algorithm with Multiple Poisson Equation Solves During One Time Step To cite this article: Junxue Ren et al 2015 J. Phys.: Conf. Ser. 640 012033

More information

Postprint.

Postprint. http://www.diva-portal.org Postprint This is the accepted version of a chapter published in Domain Decomposition Methods in Science and Engineering XXI. Citation for the original published chapter: Gander,

More information

Yuri Feldman, MUMPS User Days, Grenoble, France, June 2017

Yuri Feldman, MUMPS User Days, Grenoble, France, June 2017 Yuri Feldman, MUMPS User Days, Grenoble, France, June 2017 1 Outline 1. History of using MUMPS 2. Motivation of the Research 3. Governing Equations 4. Numerical Method 5. Direct Numerical Simulations o

More information

Modeling Myths. Modeling Facts

Modeling Myths. Modeling Facts Spiegelman: Columbia University, February 8, 22 Modeling Myths Modeling is Difficult Numerical models can do everything Numerical models will solve your problems Modeling Facts Modeling is simple book-keeping

More information

Progress in Numerical Methods at ECMWF

Progress in Numerical Methods at ECMWF Progress in Numerical Methods at ECMWF EWGLAM / SRNWP October 2016 W. Deconinck, G. Mengaldo, C. Kühnlein, P.K. Smolarkiewicz, N.P. Wedi, P. Bauer willem.deconinck@ecmwf.int ECMWF November 7, 2016 2 The

More information

Understanding the pulsar magnetosphere through first-principle simulations

Understanding the pulsar magnetosphere through first-principle simulations Understanding the pulsar magnetosphere through first-principle simulations Alexander Y. Chen In collaboration with: Andrei Beloborodov Rui Hu The Many Faces of Neutron Stars August 25, 2015 Pulsars: Rotating

More information

SOLVING ELLIPTIC PDES

SOLVING ELLIPTIC PDES university-logo SOLVING ELLIPTIC PDES School of Mathematics Semester 1 2008 OUTLINE 1 REVIEW 2 POISSON S EQUATION Equation and Boundary Conditions Solving the Model Problem 3 THE LINEAR ALGEBRA PROBLEM

More information

Gyrokinetics an efficient framework for studying turbulence and reconnection in magnetized plasmas

Gyrokinetics an efficient framework for studying turbulence and reconnection in magnetized plasmas Frank Jenko Gyrokinetics an efficient framework for studying turbulence and reconnection in magnetized plasmas Max-Planck-Institut für Plasmaphysik, Garching Workshop on Vlasov-Maxwell Kinetics WPI, Vienna,

More information

Chapter 9 Implicit integration, incompressible flows

Chapter 9 Implicit integration, incompressible flows Chapter 9 Implicit integration, incompressible flows The methods we discussed so far work well for problems of hydrodynamics in which the flow speeds of interest are not orders of magnitude smaller than

More information

Anatomy of a Multi-Code Verification Test System

Anatomy of a Multi-Code Verification Test System Approved for public release; distribution is unlimited. Title: Anatomy of a Multi-Code Verification Test System Author(s): Doebling, Scott W. Intended for: ASME 2014 Verification & Validation Symposium,

More information

( ) Notes. Fluid mechanics. Inviscid Euler model. Lagrangian viewpoint. " = " x,t,#, #

( ) Notes. Fluid mechanics. Inviscid Euler model. Lagrangian viewpoint.  =  x,t,#, # Notes Assignment 4 due today (when I check email tomorrow morning) Don t be afraid to make assumptions, approximate quantities, In particular, method for computing time step bound (look at max eigenvalue

More information

Theoretical Developments in Group Combustion of Droplets and Sprays

Theoretical Developments in Group Combustion of Droplets and Sprays Theoretical Developments in Group Combustion of Droplets and Sprays William A. Sirignano University of California, Irvine Collaborations: Guang Wu, current student; Randall Imaoka, former student, US Navy;

More information

Une décomposition micro-macro particulaire pour des équations de type Boltzmann-BGK en régime de diffusion

Une décomposition micro-macro particulaire pour des équations de type Boltzmann-BGK en régime de diffusion Une décomposition micro-macro particulaire pour des équations de type Boltzmann-BGK en régime de diffusion Anaïs Crestetto 1, Nicolas Crouseilles 2 et Mohammed Lemou 3 Rennes, 14ème Journée de l équipe

More information

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 1 / 43 AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS Treatment of Boundary Conditions These slides are partially based on the recommended textbook: Culbert

More information

Analysis and modelling of the effective reaction rate in a developing mixing layer using OpenFOAM R libraries

Analysis and modelling of the effective reaction rate in a developing mixing layer using OpenFOAM R libraries Analysis and modelling of the effective reaction rate in a developing mixing layer using OpenFOAM R libraries Karol Wedolowski 1,2, Konrad Bajer 1,2, Kamil Kwiatkowski 1,2 1 Faculty of Physics, University

More information

Multi-water-bag model and method of moments for Vlasov

Multi-water-bag model and method of moments for Vlasov and method of moments for the Vlasov equation 1, Philippe Helluy 2, Nicolas Besse 3 FVCA 2011, Praha, June 6. 1 INRIA Nancy - Grand Est & University of Strasbourg - IRMA crestetto@math.unistra.fr (PhD

More information

Numerical Modelling in Fortran: day 8. Paul Tackley, 2017

Numerical Modelling in Fortran: day 8. Paul Tackley, 2017 Numerical Modelling in Fortran: day 8 Paul Tackley, 2017 Today s Goals 1. Introduction to parallel computing (applicable to Fortran or C; examples are in Fortran) 2. Finite Prandtl number convection Motivation:

More information

PETSc for Python. Lisandro Dalcin

PETSc for Python.  Lisandro Dalcin PETSc for Python http://petsc4py.googlecode.com Lisandro Dalcin dalcinl@gmail.com Centro Internacional de Métodos Computacionales en Ingeniería Consejo Nacional de Investigaciones Científicas y Técnicas

More information