Scroll to navigation

SPLASH:(1) User Commands SPLASH:(1)

NAME

splash -- A visualisation tool for SPH data (c)2004-2020 Daniel Price and contributors

SYNOPSIS

splash file1 file2 file3...

DESCRIPTION

SPLASH: A visualisation tool for SPH data (c)2004-2020 Daniel Price and contributors v2.10.1 [24th June 2020]

Usage with flags: splash [-p fileprefix] [-d defaultsfile] [-l limitsfile] [-ev] [-lowmem] [-o format] [-x col] [-y col] [-render col] [-cont col] file1 file2 ...

Command line options:

: change prefix to ALL settings files read/written by splash
: change name of defaults file read/written by splash
: change name of limits file read/written by splash
: use default options best suited for line plotting (.ev files)
-360
: set default options suited to 360 video
: use low memory mode [applies only to sphNG data read at present]
: dump pixel map in specified format (use just -o for list of formats)

Command line plotting mode:

: specify x plot on command line (ie. do not prompt for x)
: specify y plot on command line (ie. do not prompt for y)
: specify rendered quantity on command line (ie. no render prompt) (will take columns 1 and 2 as x and y if -x and/or -y not specified)
: specify vector plot quantity on command line (ie. no vector prompt)

-c[ontour] column : specify contoured quantity on command line (ie. no contour prompt)

: specify plotting device on command line (ie. do not prompt)
convert mode ("splash to X dumpfiles"): splash to ascii : convert SPH data to ascii file dumpfile.ascii
: convert SPH data to simple unformatted binary dumpfile.binary:
write(1) time,np,ncols
do i=1,np
write(1) dat(1:ncols),itype
enddo
: convert SPH data to streamed binary format dumpfile.binarystream:
t,np,ncols,np*(dat(1:ncols),itype) [4,4,4,np*(ncols*4,4)] bytes
to phantom : convert SPH data to binary dump file for PHANTOM to gadget : convert SPH data to default GADGET snapshot file format
Grid conversion mode ("splash to X dumpfiles"):
: interpolate basic SPH data (density, plus velocity if present in data)
to 2D or 3D grid, write grid data to file (using default output=ascii)
: as above, grid data written in ascii format
: grid data written in ascii format, all in one file
: as above, grid data in simple unformatted binary format:
write(unit) (((rho(i,j,k),i=1,nx),j=1,ny),k=1,nz) [ 8 bytes each ] write(unit) (((vx(i,j,k), i=1,nx),j=1,ny),k=1,nz) [ 8 bytes each ] write(unit) (((vy(i,j,k), i=1,nx),j=1,ny),k=1,nz) [ 8 bytes each ] write(unit) (((...(i,j,k),i=1,nx),j=1,ny),k=1,nz) [ 8 bytes each ]
: grid data in byte-stream binary format (e.g. for python):
nx,ny,nz,ncolumns,time,xmin,xmax,ymin,ymax,zmin,zmax,rho [ 4,4,4,4,8*7,8*nx*ny*nz ]
: as above, interpolating *all* columns to the grid (and output file)
: as above, with ascii output
: as above, with binary output
Analysis mode ("splash calc X dumpfiles") on a sequence of dump files:
: calculate KE,PE,total energy vs time
output to file called 'energy.out'
output to file called 'massaboverho.out'
: maximum of each column vs. time
output to file called 'maxvals.out'
: minimum of each column vs. time
output to file called 'minvals.out'
: (max - min) of each column vs. time
output to file called 'diffvals.out'
: 0.5*(max - min) of each column vs. time
output to file called 'ampvals.out'
: 0.5*(max - min)/mean of each column vs. time
output to file called 'deltavals.out'
: mean of each column vs. time
output to file called 'meanvals.out'
: (mass weighted) root mean square of each column vs. time
output to file called 'rmsvals.out'
: track particle data vs time for selected* particle,
output to file called 'tracks.out'
( * select "xy limits relative to particle" in l)imits menu", or
press "t" in interactive mode, and save settings to splash.defaults )
the above options all produce a small ascii file with one row per input file. the following option produces a file equivalent in size to one input file (in ascii format):
: time average of *all* entries for every particle
output to file called 'time_average.out'
: ratio of *all* entries in each file compared to first
output to file called 'ratio.out'
Basic splash usage is explained in the userguide,
located in the directory splash/docs/splash.pdf

v2.10.1 [24th June 2020]

Usage: splash file1 file2 file3...

Usage with flags: splash [-p fileprefix] [-d defaultsfile] [-l limitsfile] [-ev] [-lowmem] [-o format] [-x col] [-y col] [-render col] [-cont col] file1 file2 ...

Command line options:

: change prefix to ALL settings files read/written by splash
: change name of defaults file read/written by splash
: change name of limits file read/written by splash
: use default options best suited for line plotting (.ev files)
-360
: set default options suited to 360 video
: use low memory mode [applies only to sphNG data read at present]
: dump pixel map in specified format (use just -o for list of formats)

Command line plotting mode:

: specify x plot on command line (ie. do not prompt for x)
: specify y plot on command line (ie. do not prompt for y)
: specify rendered quantity on command line (ie. no render prompt) (will take columns 1 and 2 as x and y if -x and/or -y not specified)
: specify vector plot quantity on command line (ie. no vector prompt)

-c[ontour] column : specify contoured quantity on command line (ie. no contour prompt)

: specify plotting device on command line (ie. do not prompt)
convert mode ("splash to X dumpfiles"): splash to ascii : convert SPH data to ascii file dumpfile.ascii
: convert SPH data to simple unformatted binary dumpfile.binary:
write(1) time,np,ncols
do i=1,np
write(1) dat(1:ncols),itype
enddo
: convert SPH data to streamed binary format dumpfile.binarystream:
t,np,ncols,np*(dat(1:ncols),itype) [4,4,4,np*(ncols*4,4)] bytes
to phantom : convert SPH data to binary dump file for PHANTOM to gadget : convert SPH data to default GADGET snapshot file format
Grid conversion mode ("splash to X dumpfiles"):
: interpolate basic SPH data (density, plus velocity if present in data)
to 2D or 3D grid, write grid data to file (using default output=ascii)
: as above, grid data written in ascii format
: grid data written in ascii format, all in one file
: as above, grid data in simple unformatted binary format:
write(unit) (((rho(i,j,k),i=1,nx),j=1,ny),k=1,nz) [ 8 bytes each ] write(unit) (((vx(i,j,k), i=1,nx),j=1,ny),k=1,nz) [ 8 bytes each ] write(unit) (((vy(i,j,k), i=1,nx),j=1,ny),k=1,nz) [ 8 bytes each ] write(unit) (((...(i,j,k),i=1,nx),j=1,ny),k=1,nz) [ 8 bytes each ]
: grid data in byte-stream binary format (e.g. for python):
nx,ny,nz,ncolumns,time,xmin,xmax,ymin,ymax,zmin,zmax,rho [ 4,4,4,4,8*7,8*nx*ny*nz ]
: as above, interpolating *all* columns to the grid (and output file)
: as above, with ascii output
: as above, with binary output
Analysis mode ("splash calc X dumpfiles") on a sequence of dump files:
: calculate KE,PE,total energy vs time
output to file called 'energy.out'
output to file called 'massaboverho.out'
: maximum of each column vs. time
output to file called 'maxvals.out'
: minimum of each column vs. time
output to file called 'minvals.out'
: (max - min) of each column vs. time
output to file called 'diffvals.out'
: 0.5*(max - min) of each column vs. time
output to file called 'ampvals.out'
: 0.5*(max - min)/mean of each column vs. time
output to file called 'deltavals.out'
: mean of each column vs. time
output to file called 'meanvals.out'
: (mass weighted) root mean square of each column vs. time
output to file called 'rmsvals.out'
: track particle data vs time for selected* particle,
output to file called 'tracks.out'
( * select "xy limits relative to particle" in l)imits menu", or
press "t" in interactive mode, and save settings to splash.defaults )
the above options all produce a small ascii file with one row per input file. the following option produces a file equivalent in size to one input file (in ascii format):
: time average of *all* entries for every particle
output to file called 'time_average.out'
: ratio of *all* entries in each file compared to first
output to file called 'ratio.out'

unknown command line argument '--version'

SEE ALSO

The full documentation for SPLASH: is maintained as a Texinfo manual. If the info and SPLASH: programs are properly installed at your site, the command

info SPLASH:

should give you access to the complete manual.

June 2020 SPLASH: A visualisation tool for SPH data (c)2004-2020 Daniel Price and contributors