Skip to content

slitvinov/karman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Karman Vortex Street

This repository uses Basilisk for simulating Karman vortex street phenomena. Follow these steps for installation:

$ wget http:https://basilisk.fr/basilisk/basilisk.tar.gz
$ tar zx basilisk.tar.gz
$ cd basilisk/src

On Linux:

$ cp config.gcc config

On macOS

$ cp config.osx config
$ make ast && make qcc
$ cp qcc "$HOME/.local/bin/"

See deploy/README.md.

Two-dimensional

Usage: cylinder [-h] [-i] [-v] -r  -l  -p  -e 
Options:
  -h     Display this help message
  -v     Verbose
  -i     Enable PPM image dumping
  -r      the Reynolds number (a decimal number)
  -l     Minimum resolution level (positive integer)
  -m     Maximum resolution level (positive integer)
  -o               a prefix for the output files
  -p          the dump period (positive integer)
  -e             end time of the simulation (decimal number)

Example usage:
  ./cylinder -v -i -r 100 -l 7 -m 10 -p 100 -e 2 -o h

and three-dimensional

Usage: cylinder [-h] [-v] [-a] [-F] [-r  -l  -m  -o  -p  -e  -f  -S cylinder|sphere -z  [-b ] [-d ]

Options:
  -h          Display this help message
  -v          Verbose
  -F          Output the full field
  -a          Use adoptation
  -b  Periodic boundary (ft|f|t: front (f), top (t) or both, default is symmetric boundary)
  -r     Reynolds number
  -t     dt
  -l     Minimum resolution level (positive integer)
  -m     Maximum resolution level (positive integer)
  -o  Prefix for the output files
  -p     Dump period (positive integer)
  -e     End time of the simulation (decimal number)
  -f    Output force file
  -S  Specify shape (cylinder|sphere)
  -d    Restart simulation from the dump file
  -z     Domain size

  npe: 1
Example usage:
  ./cylinder -v -r 100 -l 7 -m 10 -p 100 -e 2 -z 2.5 -S sphere
  ./cylinder -v -r 100 -l 7 -m 10 -p 100 -e 2 -f force.dat -z 2.5 -S cylinder -o h -b t

Results

About

Karman vortex street simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages