turbulence_generator
TurbGen - Turbulence driving and initial conditions generator.
Science Score: 57.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
Found 1 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.3%) to scientific vocabulary
Repository
TurbGen - Turbulence driving and initial conditions generator.
Basic Info
- Host: GitHub
- Owner: chfeder
- Language: C++
- Default Branch: master
- Homepage: https://www.mso.anu.edu.au/~chfeder/codes/turbgen/turbgen.html
- Size: 14.9 MB
Statistics
- Stars: 11
- Watchers: 3
- Forks: 11
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
TurbGen - Turbulence Generator
This tool generates a time sequence of random Fourier modes via an Ornstein-Uhlenbeck (OU) process, used to drive turbulence in hydrodynamical simulation codes. It can also generate single turbulent realisations.
Turbulence driving based on this method is currently supported by implementations in AREPO, FLASH, GADGET, PHANTOM, PLUTO.
Main files:
- 'TurbGen.h' contains the main C++ class with functions and data structures used by the generator.
- 'TurbGen.cpp' is an MPI-parallelised program that computes turbulent field(s) with specified parameters and writes the field(s) to an HDF5 file.
- 'TurbGenDemo.cpp' contains 3 basic examples for how to include and use the generator, including the generation of driving via an OU process and the generation of single turbulent fields.
- 'TurbGen.par' is the parameter file that controls the turbulence driving.
Directory 'plugins' contains examples of how TurbGen.h is used in hydrodynamical codes.
Directory 'python' contains a python frontend, which calls TurbGen to generate single turbulent fields and to analyse their properties (statistics, PDFs, power spectra).
What are the first steps when working with this repository?
- Create a fork of this repo to your own bitbucket account.
- Clone the fork from your bitbucket account to your local computer.
- Make your own modifications, commit, push, etc.
- If you want (some of) your own changes to go into this main repo, please create a pull request.
Copyright notes
If you use this code, please refer to and cite Federrath et al. (2010, A&A 512, A81): https://ui.adsabs.harvard.edu/abs/2010A%26A...512A..81F/abstract
@ARTICLE{2010A&A...512A..81F,
author = {{Federrath}, C. and {Roman-Duval}, J. and {Klessen}, R.~S. and {Schmidt}, W. and {Mac Low}, M. -M.},
title = "{Comparing the statistics of interstellar turbulence in simulations and observations. Solenoidal versus compressive turbulence forcing}",
journal = {\aap},
keywords = {hydrodynamics, ISM: clouds, ISM: kinematics and dynamics, methods: numerical, methods: statistical, turbulence, Astrophysics - Solar and Stellar Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics},
year = 2010,
month = mar,
volume = {512},
eid = {A81},
pages = {A81},
doi = {10.1051/0004-6361/200912437},
archivePrefix = {arXiv},
eprint = {0905.1060},
primaryClass = {astro-ph.SR},
adsurl = {https://ui.adsabs.harvard.edu/abs/2010A&A...512A..81F },
adsnote = {Provided by the SAO/NASA Astrophysics Data System}}
Main contact
- Christoph Federrath (christoph.federrath@anu.edu.au)
Owner
- Name: Christoph Federrath
- Login: chfeder
- Kind: user
- Location: Canberra
- Company: Australian National University
- Website: https://www.mso.anu.edu.au/~chfeder/index.html
- Twitter: CFederrath
- Repositories: 1
- Profile: https://github.com/chfeder
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: Turbulence Generator
message: >-
This tool generates a time sequence of random
Fourier modes via an Ornstein-Uhlenbeck (OU)
process, used to drive turbulence in hydrodynamical
simulation codes. It can also generate single
turbulent realisations.
type: software
authors:
- given-names: Christoph
family-names: Federrath
email: christoph.federrath@anu.edu.au
affiliation: Australian National University
orcid: 'https://orcid.org/0000-0002-0706-2306'
identifiers:
- type: doi
value: 10.1051/0004-6361/200912437
- type: url
value: >-
https://ui.adsabs.harvard.edu/abs/2010A%26A...512A..81F/abstract
repository-code: 'https://github.com/chfeder/turbulence_generator'
url: >-
https://ui.adsabs.harvard.edu/abs/2010A%26A...512A..81F/abstract
keywords:
- Turbulence
- Fourier transformation
- Hydrodynamics
license: MIT
GitHub Events
Total
- Watch event: 4
- Fork event: 1
Last Year
- Watch event: 4
- Fork event: 1