No description or website provided.
C++ Shell C FORTRAN Matlab Python Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
blitz
cases
gnuplot
m4
scripts
src
static
AUTHORS
COPYING
ChangeLog
INSTALL
Makefile.am
Makefile.in
NEWS
README
TODO
aclocal.m4
bootstrap.sh
configure
configure.ac
depcomp
install-sh
local-install.sh
missing
run-tests.sh

README

*Install*
Run 
./local-install.sh

*Restart file format*
<start time>
<number of particles>
...
<material name> <X> <Y> <Vx> <Vy> <density> <pressure> <temperature>
...
<empty line>

*Input file format*
To use restart file 
INITIAL_CONDITION	1

The level of statistics output
DIAGNOSE			2

number of cells in x and y direction
CELLS 

size of one cell
CELL_SIZE			5.0e-3

support length
SMOOTHING_LENGTH	5.0e-3

the number of particle in one direction in a cell
CELL_RATIO			3

the basic of dimensions
DIMENSION

TIMING  <inital time> <the last time> <output timestep>

gravity force vector
G_FORCE

DIMENSION

type code of coundary
1: periodic
0: wall coundary
BOUNDARY <use or not wall file, must be 0> <type codes of boundry X0, X1, Y0,
Y1>
<velocity of the wall>

MATERIALS


*Simulations*
cd src
Couette simulation
./sph ../cases/couette
To stop CTRL+c

*Postprocessing*
cd outdata/
../../scripts/dat2punto.sh > punto.dat

*Visualization*
punto -D 2 -V -s 50 punto.dat
punto -D 2 -c 4 -B 0:0:0.04:0.04 -G -0.2:0.2 punto.dat
<s> to start 

gnuplot 
plot n=1, 'punto.dat' u 2:3 every :::n::n
plot n=10, A=250.0, 'punto.dat' u 2:3 every :::n::n+5, A*x*(L-x)

*Others*
To remove output directory
rm -rf outdata/