1 / 52

The FLASH Code Parallel AMR Made Easy

The FLASH Code Parallel AMR Made Easy. Tomek Plewa. LACSI Symposium Santa Fe, 10/12/2004. FLASH Center Astrophysics as primary application Verification and Validation activities External contributors and users. Outline. FLASH Code View from the outside Source tree and functionality

Download Presentation

The FLASH Code Parallel AMR Made Easy

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

E N D

Presentation Transcript


  1. The FLASH CodeParallel AMR Made Easy Tomek Plewa LACSI Symposium Santa Fe, 10/12/2004

  2. FLASH Center Astrophysics as primary application Verification and Validation activities External contributors and users Outline FLASH Code • View from the outside • Source tree and functionality • User level • Problem configuration • Intra-module modifications • Developer level • Extending the source tree • Inter-module communications Summary

  3. Target Applications Compact accreting stars (white dwarf, neutron star) Reactive hydrodynamics (DNS or subgrid model) Initial conditions close to hydrostatic equilibrium (self-gravity) Complex EOS (dense nuclear matter) FLASH Application: Astrophysics Example: Type Ia Supernova • Massive white dwarf • Subgrid model for nuclear flame • Self-gravity • Degenerate EOS

  4. Length scales in White Dwarf Deflagration Before 2000 Now BG/L

  5. FLASH Verification & Validation Program Verification: solving equations right Validation: solving the right equations Verification ranging from simple analytic problems to code-code comparison. Validation: no direct access to experiments, use scaling laws Absolutely NO culture of validation in astrophysics!

  6. FLASH Verification

  7. Experimental time series, water/glycol fog visualization of SF6 mole fraction. Images correspond to 50, 190, 330, 470, 610, and 750 ms after shock impact Composite image does not preserve time-distance relationship FLASH V&V Complete Example

  8. AMR-generated Timestep-dependent Signal CFL=0.8 CFL=0.4 CFL=0.2

  9. AMR-generated Timestep-dependent Signal

  10. FLASH As An Open Source Research Code FLASH is community code, freely (with minimal restrictions) available for research External contribution: shock-cylinder experiment (Jacobs, LANL)

  11. FLASH Center and AMR Community

  12. FLASH Code Primary objective To create robust, reliable, efficient and expandable code, that stands the test of time and users. Primary characteristics parallel adaptive mesh (possibly different mesh packages) block-structured (currently) multi-physics (hydro, MHD, SRHD, gravity, particles…) Fortran 9x portable freely accessible documented & actively maintained

  13. FLASH Code As Seen From The Outside

  14. FLASH Code As Seen From The Outside

  15. FLASH Code As Seen From The Outside

  16. FLASH Code As Seen From The Outside

  17. FLASH Code As Seen From The Outside

  18. FLASH Code As Seen From The Outside

  19. FLASH Code As Seen From The Outside

  20. FLASH Code As Seen From The Outside

  21. FLASH Code As Seen From The Outside

  22. FLASH Code As Seen From The Outside

  23. FLASH Portability: BG/L • Successful early runs up to 2048 processors Communication is scaling well. Test size limited by small number of available processors. • Large runs scheduled Several days of 16K-32K processors. • Focusing on FLOPS Make up for slower CPUs, beta-compilers

  24. FLASH Code Access

  25. FLASH Source Tree And Functionality

  26. FLASH Source Tree And Functionality

  27. FLASH Driver

  28. FLASH Driver

  29. FLASH Hydrodynamics Unit

  30. FLASH EOS Unit

  31. FLASH Unit Hierarchy API/ Stubs Common API Impl API impl API impl API impl Wrapper Wrapper Wrapper kernel kernel kernel

  32. FLASH Solvers: Poisson

  33. FLASH Source Terms

  34. FLASH Common Fabric

  35. FLASH Inter-Module Connectivity

  36. FLASH Inter-Module Connectivity

  37. Putting It All Together

  38. FLASH Config Files

  39. FLASH Setups

  40. FLASH Setup Example

  41. FLASH Initial Conditions

  42. Configuring FLASH Application

  43. FLASH Application Build Tree

  44. FLASH Documentation

  45. FLASH I/O

  46. FLASH Visualization

  47. FLASH Results

  48. Summary • Overall architecture • Unit types • Unit architecture • Near future

  49. Summary: Architecture Config files define components Unit Architecture API Inheritance Data management Setup tool assemble application Driver module organize interactions

  50. Summary: Units Types • Physics hydro gravity • Infrastructure driver grid I/O • Utility profiler runtime visualization • Data analysis Fidlr flashview

More Related