[Nek5000-users] Stream function

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu Jun 21 17:02:23 CDT 2018


You could as an alternative compute the stream function in nek (as Poisson euqation with the vorticity as rhs) and write out that as a scalar. 
Philipp

On June 21, 2018 11:24:22 PM GMT+02:00, nek5000-users at lists.mcs.anl.gov wrote:
>Hi All,
>
>I am reading in a Nek output file to postx, and would like to compute a
>streamfunction in postx and save that to a file format I can view in
>Visit.
>
>After I select “DUMP vtk ALL”,  the resulting VTK file only contains a
>“VORTEX” and a “PRESSURE” variable when I plot it in VisIt.
>
>I think I might be doing something wrong. Is there some other way this
>could be done in either Visit or ParaView?
>
>Thanks,
>
>Hannah
>
>OUTPUT FILE
>1  MAIN MENU
>2  Set vtk sampling size
>3  VIEW vtk S
>4  DUMP vtk XYZ+S
>5  DUMP vtk ALL
>6  DUMP vtk surface
>7  Animate vtk srf
>8  Animate vtk multifield
>9  Animate vtk vol
>10  XYZ dump
>11  XWD dump
>12  pixel dump
>13  set pixel window size
>
>DUMP vtk ALL
>This is iffmt_vtk: T
>nelclip       1038      1038
>ntot          9342     66432
>call mapreg3d mx,nx         3         8
>NVERT LEXICO:        1125           3        1038
>THIS is nglb        4325           3        1038
>this is nglb        4325        9342           3        1038
>call mapreg3d mx,nx         3         8
>inside compress         9342        4325        4325
>inside compress         9342        4325        4325
>inside compress         9342        4325        4325
>LTRUNC: string:           7
>vtkfile
>vtkfile
>setwrk:   T  X  N                      VORTEX
>ifnew_work: T T TOTAL PRESSURE                 4           4
>T  quant: VORTEX
>in vortex routine ifds, ialg F           2
>  derivative:NO   (      64)
>wkmax,delt:VORTEX                 9.69377422      -74.0063782      
>83.7001495
>WORK - MAX,MIN:    9.6938       -74.006
>wkmin: -7.4006E+01  4.0000E+01  1.0000E+00  0.0000E+00    43137
>wkmax:  9.6938E+00  4.0048E+01  1.0000E+00  0.0000E+00    43139
>Volume   of   domain:   1559.92
>Integral of function: -0.411983E-01
>inside compress         9342        4325        4325
>POINT_DATA      4325
>SCALARS VORTEX               float
>LOOKUP_TABLE default
>minmax: -6.005E+00  1.264E+00  VORTEX
>setwrk:   F  M  N                      PRESSURE
>ifnew_work: T F VORTEX                         4           4
>T  quant: PRESSURE
>  derivative:NO   (      64)
>wkmax,delt:PRESSURE              0.223040715     -0.476195186     
>0.699235916
>WORK - MAX,MIN:   0.22304      -0.47620
>wkmin: -4.7620E-01  4.0000E+01  1.0000E+00  0.0000E+00    29561
>wkmax:  2.2304E-01  4.1428E+01  0.0000E+00  0.0000E+00    26753
>Volume   of   domain:   1559.92
>Integral of function:   105.272
>inside compress         9342        4325        4325
>SCALARS PRESSURE             float
>LOOKUP_TABLE default
>minmax: -3.829E-01  2.046E-01  PRESSURE
>1  MAIN MENU
>2  Set vtk sampling size
>3  VIEW vtk S
>4  DUMP vtk XYZ+S
>5  DUMP vtk ALL
>6  DUMP vtk surface
>7  Animate vtk srf
>8  Animate vtk multifield
>9  Animate vtk vol
>10  XYZ dump
>11  XWD dump
>12  pixel dump
>13  set pixel window size

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20180622/fcaa0459/attachment-0001.html>


More information about the Nek5000-users mailing list