Git Product home page Git Product logo

lagrangiancoherentstructures's Introduction

Update 03/12/2021

This page has been setup to support the work presented in the poster: Lagrangian hairpins in atmospheric boundary layers. Please find the poster here: https://doi.org/10.1103/APS.DFD.2021.GFM.P0018. The GPU code developed will be added over time along with a documentation.

Update 13/12/2021

This version of the code features all functions as described in the poster. However, reading 2D and 3D data needs to be made more user-friendly. I will keep updating the code whenever I get time.

As of now, one can play with the parameters of a Bickley jet, time dependent and independent double gyre and ABC flow data. The code structure takes a module based approach where one or several modules can be activated. For instance, to run a Bickley jet example, one needs to set the following parameters:

_system = 'Bickley'
_integrationType = 'forward' # or 'backward'
_computeVelocity = False
_writeVelocityData = False
_advectParticles = True
_computeFTLE = True

Other parameters such as the start, end time and number of integration steps can be set within if _system == 'Bickley':.
Further parameters for the Bickley jet can be set in the file Dynamical_systems/Bickley.py for serial and multiprocessing modes. For GPU, navigate to GPU/Bickley_rk4.py.

If you'd like to have a visualization with python's matplotlib, the following needs to be set to True

_contourFTLE = True

Finally, the code can be run with 3 modes: Serial, CPU-parallelized with multiprocessing and GPU-parallelized with numba-cuda.

For CPU-parallelization, set _enableMultiProcessing = True and set _CPU = 'The number of CPUs you want'. For GPU-parallelization, set _enableGPU = True. Block dimensions and grid dimensions can be set within the code if necessary. The default mode is serial when both _enableMultiProcessing and _enableGPU are False.

Finally, the code feaures writing the result in either Tecplot ASCII, Amira ASCII or Amira binary formats. Support for RAW3D will be added soon.

Please cite my work if you'd like to use my code

BibTex

@article{harikrishnanp0018,
title={P0018: Lagrangian hairpins in atmospheric boundary layers},
author={Harikrishnan, Abhishek Paraswarar and Ernst, Natalia and Ansorge, Cedrick and Klein, Rupert and Vercauteren, Nikki},
publisher={APS}
}

APA

Harikrishnan, A. P., Ernst, N., Ansorge, C., Klein, R., & Vercauteren, N. P0018: Lagrangian hairpins in atmospheric boundary layers.

lagrangiancoherentstructures's People

Contributors

pelperscience avatar phoenixfire1081 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.