GithubHelp home page GithubHelp logo

dh4gan / tache Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 172 KB

TensoriAl Classification of Hydrodynamic Elements

License: MIT License

Makefile 0.83% Fortran 71.42% Python 27.75%
sph simulation tensor hydrodynamics

tache's Introduction

TACHE - TensoriAl Classification of Hydrodynamic Elements

DOI

This Fortran code performs tensor classification on finite element hydrodynamics simulations - currently smoothed particle hydrodynamics (SPH) simulations only

Science using these algorithms was first published in Forgan et al (2016), Monthly Notices of the Royal Astronomical Society, Volume 457, Issue 3, p.2501-2513, DOI: 10.1093/mnras/stw103

HEALTH WARNING: This is a heavily refactored combination of several codes used in the above work, and as such is still in testing

Features:

  • Reads in SPH snapshot files (currently sphNG formats only)
  • Computes neighbour lists for SPH data (assuming snapshot's smoothing lengths)
  • Computes either the (symmetric) velocity shear tensor or tidal tensor, and their eigenvalues/eigenvectors
  • Classifies fluid elements by number of "positive" eigenvalues
  • Permits decomposition of snapshots into classified components
  • Python plotting scripts

Features in Development:

  • Spiral Fitting Algorithms (Forgan et al, in review)

Future Features/Wishlist:

  • Ability to read in more SPH file formats
  • Ability to process grid, Voronoi and meshless simulations

Requirements:

  • Fortran compiler (gfortran recommended) and Makefile software (e.g. gmake)
  • Python for plotting scripts (scripts developed in Python 2.7) - dependencies include numpy, matplotlib and f2py

Execution:

To compile the code, navigate to the src/ directly and type

> make

to compile the main program

Once compiled, the code is executed with the command

> ./tache

The code reads in a single input parameter file tache.params, which should be modified before execution

The accompanying spiralfind program is compiled via

>make spiralfind

and run by

>./spiralfind

Which reads in spiralfind.params upon execution.

Example parameter files for both tache and spiralfind are available in the paramfiles directory

tache's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.