vortex shedding (POV-Ray)

Vortex shedding around a half-cylinder rendered by POV-Ray.

Here the POV-Ray arrow layer is produced from Gerris (GFS) output with the command

vfplot \
    --verbose \
    --width 4in \
    --margin 2/2/0.2 \
    --scale 2e-4 \
    --iterations 250/2 \
    --symbol triangle \
    --pen 0 \
    --fill 0 \
    --domain domain.geojson \
    --output-format povray \
    --output vfplot.inc \
    gfs/frame-2.0.gfs

producing a file vfplot.inc (for notes on the format, see here) to be included in in a wrapper script vfplot.pov.

As in the PostScript version of this plot, the vorticity is extracted from the GFS file to make a GMT grd file vort.grd but now this is used to make a PNG of the vorticity and that is used in the wrapper script to colour the symbols in POV-Ray.

Download the plot as pdf, high resolution png or view the GitLab sources.

vortex shedding plot
Vortex shedding around a half-cylinder (POV-Ray)