Giter VIP home page Giter VIP logo

dyniso's Introduction

Dyniso Installation and Usage Guide

Dyniso logo

Background

Dyniso solves the incompressible Navier-Stokes equations in a box with the intent of simulating the decay of homogeneous, isotropic turbulence.

For more information see Dyniso wiki.

Building Dyniso

Assuming a Linux system with the Intel compilers in your path and a threaded FFTW 2.1.5 available at: $(HOME)/local/fftw-thread simply do:

cd src
make opt

Note, if your compilers are not available using different names you may need to explicitly tell make where to find them, such as:

env CC=gcc-9 FC=gfortran-9 make opt

Dyniso has not been updated yet to work with FFTW3.

Running Dyniso

To execute dyniso, you redirect a namelist input file, such as:

./dyniso.exe < test.inp

to select the number of OpenMP threads, do:

env OMP_NUM_THREADS=4 ./dyniso.exe < test.inp

The code will output a number of files including:

  1. Time statistics in stat?.dat
  2. Spectra at selected timesteps in spectra.*
  3. Plot3d visualization files in out.{xyz,q}
  4. Use Paraview to visuzlize Plot3d files

Notes:

  1. The Plot3d files are in Fortran unformated (not C-binary)
  2. Performance is highly dependant on the FFT library used. If using FFTW v2 you should read:
    FFTW Documentation
  3. Note that FFTW must be build with --enable-threads and --with-openmp
  4. Dyniso does not work with FFTW v3, yet...

Isosurface of Velocity Magnitude

Isosurface of velocity magnitude

Isosurface of Vorticity Magnitude

Isosurface of vorticity

Ponst of Contact

S. Scott Collis
[email protected]

dyniso's People

Contributors

sscollis avatar yeechin 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.