GfsOutputView

From Gerris

Revision as of 06:40, 22 July 2010; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

GfsOutputView creates images in various formats using GfsView to visualise the simulation. The creation of PPM-format images also works in parallel (other image formats are not supported in parallel yet).

The syntax in parameter files is

[ GfsOutput ] [ GfsGl2PSParams ] file.gfv

where the GfsGl2PSParams parameter block is optional (the default output is a 640 x 480 PPM-format image) and file.gfv is a GfsView parameter file.

See also

GfsView module

Examples

  • Parallel simulation on four processors
  •   OutputView { step = 0.05 } { 
          ppm2mpeg -s 800x100 > pid.mpg 
      } { width = 1600 height = 200 } pid.gfv
    

  • Collapse of a column of grains
  •     OutputView { step = 5e-2 } { ppm2theora -s 640x240 > movie.ogv } {
    	width = 1280 height = 480
        } movie.gfv
    

  • Starting vortex of a NACA 2414 aerofoil
  •   OutputView { step = FRAMEPERIOD } { ppm2mpeg > starting.mpg } {
          width = 720 height = 240
      } starting.gfv
    

      OutputView { start = 1. } { convert ppm:- -geometry 720x240 starting.eps } { 
          format = PPM width = 1440 height = 480 
      } starting.gfv
    

  • Viscous folding of a fluid interface
  •     OutputView { step = 0.5 } { ppm2mpeg -s 400x300 > viscmix.mpg } { 
    	width = 1280 height = 960 
        } viscmix.gfv
    

        OutputView { start = end } { convert -colors 256 ppm:- viscmix.eps } { 
    	width = 1280 height = 960
        } viscmix.gfv
    

  • Savart--Plateau--Rayleigh instability of a water column
  •     OutputView { istep = 7 } { ppm2theora -s 480x480 > plateau.ogv } { 
        	width = 960 height = 960 
        } plateau.gfv
    

        OutputView { istep = 7 } { ppm2theora -s 480x480 > closeup.ogv } { 
        	width = 960 height = 960 
        } closeup.gfv
    

        OutputView { istep = 7 } { ppm2theora -s 480x480 > white.ogv } { 
        	width = 960 height = 960 
        } white.gfv
    

  • Atomisation of a pulsed liquid jet
  •     OutputView { step = 4e-3 } { ppm2theora -s 640x480 > jet.ogv } {
    	format = PPM width = 1280 height = 960 
        } jet.gfv
    

        OutputView { step = 4e-3 } { ppm2theora -s 640x480 > back.ogv } {
    	format = PPM width = 1280 height = 960 
        } back.gfv
    

        OutputView { start = end } jet.ppm { format = PPM width = 1280 height = 960 } jet.gfv
    

        OutputView { start = end } back.ppm { format = PPM width = 1280 height = 960 } back.gfv
    

  • Forced isotropic turbulence in a triply-periodic box
  •   OutputView { step = 0.1 end = 150 } { ppm2mpeg > multiview.mpg } {
          width = 512 height = 512
      } multiview.gfv
    

      OutputView { start = end } { convert ppm:- multiview.eps } {
          width = 512 height = 512
      } multiview.gfv
    

  • Wingtip vortices behind a rectangular NACA 2414 wing
  •   OutputView { step = FRAMEPERIOD } { ppm2mpeg > wingtip.mpg } wingtip.gfv
    

      OutputView { start = 1 } { convert ppm:- wingtip.eps } wingtip.gfv
    

  • Shock reflection by a circular cylinder
  •     OutputView { step = 0.0025 } {
    	ppm2mpeg -b 3600K > depth.mpg
        } { width = 400 height = 400 } depth.gfv
    

        OutputView { start = end } { 
    	convert ppm:- depth.eps 
        } { width = 400 height = 400 } depth.gfv
    

        OutputView { start = end } { 
    	convert ppm:- mesh.eps 
        } { width = 400 height = 400 } mesh.gfv
    

  • Tsunami runup onto a complex three-dimensional beach
  •     OutputView { start = 9 step = 0.0416 } { ppm2mpeg -s 640x480 > monai.mpg } { 
    	width = 1280 height = 960
        } 3D.gfv
    

        OutputView { start = 14.63 end = 19.5 step = 0.033333333 } { 
    	ppm2mpeg -s 400x600 > overhead.mpg 
        } { 
    	width = 800 height = 1200
        } overhead.gfv
    

  • The 2004 Indian Ocean tsunami
  •     OutputView { step = 60 } { ppm2mpeg > h.mpg } { 
    	width = 800 height = 700
        } h.gfv
    

        OutputView { start = 7200 } { convert ppm:- eps2:h.eps } { 
    	width = 800 height = 700
        } h.gfv
    

        OutputView { step = 60 } { ppm2mpeg > level.mpg } { 
    	width = 800 height = 700
        } level.gfv
    

        OutputView { start = 7200 } { convert ppm:- eps2:level.eps } { 
    	width = 800 height = 700 
        } level.gfv
    

        OutputView { start = end } { convert ppm:- eps2:hmax.eps } { 
    	width = 1600 height = 1600
        } hmax.gfv
    

        OutputView { start = end } { convert ppm:- eps2:hmax-detail.eps } { 
    	width = 1600 height = 1600
        } hmax-detail.gfv
    

  • Time-reversed advection with curvature-based refinement
  •     OutputView { start = 2.5 } t-2.5.eps { format = EPS line_width = 0.5 } curvature.gfv
    

  • Rotation of a straight interface
  •     OutputView { step = 1 } rotate-%g.gnu { format = Gnuplot } rotate.gfv
    

        OutputView { start = end } cells.gnu { format = Gnuplot } cells.gfv
    

  • Lid-driven cavity with a non-uniform metric
  •   OutputView { start = end } isolines.gnu { format = Gnuplot } isolines.gfv
    

  • Wind-driven lake
  •     OutputView { start = end } lake.eps { format = EPS } lake.gfv
    

  • Scalings for Plateau--Rayleigh pinchoff
  •    OutputView { start = 0.6 istep = 5 end = 0.7455 } { 
           ppm2mpeg -s 640x480 > plateau.mpg 
       } { width = 1280 height = 960 } zoom.gfv
    

       OutputView { step = 0.2 } plateau-%g.eps { format = EPS } plateau.gfv
    

       OutputView { start = 0.7451 } plateau-t0.eps { format = EPS } plateau.gfv
    

       OutputView { start = 0.7451 } zoom-t0.eps { format = EPS } zoom.gfv
    

  • Geostrophic adjustment
  •   OutputView {  istart = 100 iend = 500 istep = 100 } error-%ld.eps { format = EPS } geo.gfv
    

      OutputView {  istart = 1500 } error-%ld.eps { format = EPS } geo.gfv
    

  • Geostrophic adjustment with Saint-Venant
  •   OutputView {  istart = 100 iend = 500 istep = 100 } error-%ld.eps { format = EPS } geo.gfv
    

      OutputView {  istart = 1500 } error-%ld.eps { format = EPS } geo.gfv
    

  • Lake-at-rest balance in an inclined domain with cut cells
  •     OutputView { start = end } still.eps { format = EPS } still.gfv
    

  • Lake-at-rest balance in an inclined domain with bipolar metric
  •     OutputView { start = end } p.gnu { format = Gnuplot } p.gfv
    

        OutputView { start = end } mesh.gnu { format = Gnuplot } mesh.gfv
    

  • Circular dam break on a sphere
  •     OutputView { start = 0.3 step = 0.3 } isolines-%g.eps { 
    	format = EPS line_width = 0.5 
        } isolines.gfv
    

  • Circular dam break on a rotating sphere
  •     OutputView { start = 0.4 step = 0.4 } isolines-%g.eps { 
    	format = EPS line_width = 0.5 
        } isolines.gfv
    

  • Circular dam break on a ``cubed sphere''
  •     OutputView { start = 0.3 step = 0.3 } isolines-%g.gnu { 
    	format = Gnuplot
        } isolines.gfv
    

  • Rossby--Haurwitz wave
  •     OutputView { start = end } ehp-LEVEL.gnu { format = Gnuplot } ehp.gfv
    

        OutputView { start = end } ehm-LEVEL.gnu { format = Gnuplot } ehm.gfv
    

        OutputView { start = end } h-LEVEL.gnu { format = Gnuplot } h.gfv
    

        OutputView { start = end } href-LEVEL.gnu { format = Gnuplot } href.gfv
    

  • Rossby--Haurwitz wave with a free surface
  •     OutputView { start = end } ehp-LEVEL.gnu { format = Gnuplot } ehp.gfv
    

        OutputView { start = end } ehm-LEVEL.gnu { format = Gnuplot } ehm.gfv
    

        OutputView { start = end } h-LEVEL.gnu { format = Gnuplot } h.gfv
    

        OutputView { start = end } href-LEVEL.gnu { format = Gnuplot } href.gfv
    

  • Rossby--Haurwitz wave with Saint-Venant
  •    OutputView { start = end } ehp-LEVEL.gnu { format = Gnuplot } ehp.gfv
    

       OutputView { start = end } ehm-LEVEL.gnu { format = Gnuplot } ehm.gfv
    

       OutputView { start = end } h-LEVEL.gnu { format = Gnuplot } h.gfv
    

       OutputView { start = end } href-LEVEL.gnu { format = Gnuplot } href.gfv
    

Personal tools
communication