p-flare

A pseudo spectral code for the flux-driven Hasegawa-Wakatani system

https://github.com/piergui/p-flare

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.6%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

A pseudo spectral code for the flux-driven Hasegawa-Wakatani system

Basic Info
  • Host: GitHub
  • Owner: piergui
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 166 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed 10 months ago
Metadata Files
Readme License Citation

README.md

P-FLARE

Penalised FLux-driven Algorithm for REduced models

Application to the Flux-Driven Hasegawa-Wakatani (FDHW) system

Below are some animations of numerical experiments which can be done with the code applied to the FDHW

Spreading of a profile with a large slope on the left

We take an initial profile which is very steep on the left, and completely flat on the right. - The linear instability occurs mostly where the profile is the steepest, which is where turbulence develops. - With, the profile relaxes due to the outward particle flux, and the turbulent region slowly spreads to the right until it reaches the right edge . - The final state is dominated by zonal flows: since $\kappa$ decreases due to the turbulent particle flux, we reach $C/\kappa \sim 0.1$ and the system transitions to a zonal flows dominated state. Then zonal flows decrease the transport and the system is "frozen" by the zonal flows.

Below we can look at the time evolution of the density and zonal velocity radial profiles for a similar simulation with a padded resolution of 4096 $\times$ 4096

Comparison with a 1D reduced model for profile relaxation and turbulence spreading

Adding a localised particle source

Owner

  • Login: piergui
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
authors:
- family-names: "Guillon"
  given-names: "Pierre L."
title: "Penalised flux-driven algorithm for reduced models"
date-released: 2025-02-17
url: "https://github.com/piergui/P-FLARE"

GitHub Events

Total
  • Push event: 13
Last Year
  • Push event: 13