Skip to content

jzrake/ctf

Repository files navigation

Overview

CTF stands for Computational Turbulence Framework. That may be a little ambitious. Really it's a just hydrodynamics code with lots of room for expansion. It currently includes the following Lua modules as subdirectories, which are themselves independent projects managed through git subtree.

  • Mara: Relativistic MHD turbulence code
  • C.O.W.: "Cube of Wonder" analysis tools
  • fish: Solvers for systems of conservation laws
  • lua-hdf5: High-level parallel I/O with HDF5
  • lua-mpi: Lua interface to the Message Passing Interface
  • lua-glut: Lua wrappers for OpenGL and GLUT

Build instructions

Copy the Makefile.in.template file to Makefile.in, and modify it for your system, then type make.

Examples

There is an examples directory showing how to use most of the modules. Try something like this:

./ctf examples/tests-1d.lua soundwave -o output.dat

or if you have gnuplot installed,

./ctf examples/tests-1d.lua soundwave --plot

License

This code is made freely available for anybody's use. I only ask that if you find it useful, please send me an email about how it works, and in what project you are using it.

The CTF is licensed under the same terms as Lua itself.

Copyright (c) 2012, Jonathan Zrake jonathan.zrake@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Mara: Computational Turbulence Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published