Git Product home page Git Product logo

ssagynbayeva / athenapp-globacc-dataanalysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ppjanka/athenapp-globacc-dataanalysis

0.0 0.0 0.0 6.92 MB

Data extraction and analysis suite in Python for Athena++ MHD (CFD) simulations, particularly suited for global accretion disk models (see, e.g., Pjanka & Stone 2020). Generally intended for use with MHD simulations in spherical-polar coordinates with AMR and HDF5 output.

License: BSD 3-Clause "New" or "Revised" License

Shell 0.05% C++ 0.53% Python 2.62% Makefile 0.01% Jupyter Notebook 96.79%

athenapp-globacc-dataanalysis's Introduction

This is a set of Python data extraction and analysis tools to be used with Athena++ MHD (CFD) simulations, particularly suited for global accretion disk models (see, e.g., Pjanka & Stone 2020). Generally intended for use with MHD simulations in spherical-polar coordinates with AMR and HDF5 output.

Note: this toolkit has been evolving over time and, unfortunately, I am not able to test all the pathways for correctness over time. Thus, please make sure to check that the results you obtain are sensible and self-consistent, and that no debugging is needed. (This is perhaps a good general advice as well ;)

Typical workflow

  • Use scripts in aspect_ratios and 1stLook_and_processing while running a simulation to monitor its progress.

  • Extract secondary diagnostics as pkl files with 1stLook_and_processing.

  • Extract and plot final diagnostics using final_products and 3D_plots. Using pkl files from previous steps allows for quick changes without need for costly data reprocessing.

Contents (separate READMEs inside)

  • 0_aspect_ratios/: tools to investigate cell aspect ratios and time step constraints in Athena++ HDF5 output snapshots with MHD data.

  • 1_1stLook_and_processing/: scripts usefull in monitoring runs in progress, as well as extracting secondary diagnostics as pkl binary files. These pkl files can then be used to extract final products for data investigation without the need for costly re-processing of the data when changes are made.

  • 2_final_products/: in-depth analysis of the results. Includes commands to generate plots in Pjanka & Stone (2020).

  • 3_3D_plots/: mayavi scripts to generate 3D renderings of simulation data, see Fig. 1 of Pjanka & Stone (2020). Uses MayAvi.

Contributing

Written by Patryk Pjanka to aid design and implementation of global accretion disk simulations (e.g., Pjanka & Stone 2020). Contains elements of Athena++ to aid read-in of the simulations' .athdf (hdf5) outputs.

License

Per Athena++ use license, BSD 3-Clause License (see the root folder of this repo).

athenapp-globacc-dataanalysis's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.