<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body bgcolor="#FFFFFF" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 12pt;">NSTEPS=FINTIME=0 in .rea is enough to trigger post-processing mode -- i.e. call of userchk and exit after initialization.
<div><br>
</div>
<div>Aleks <br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF309011" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> nek5000-users-bounces@lists.mcs.anl.gov [nek5000-users-bounces@lists.mcs.anl.gov] on behalf of nek5000-users@lists.mcs.anl.gov [nek5000-users@lists.mcs.anl.gov]<br>
<b>Sent:</b> Tuesday, March 01, 2016 4:50 PM<br>
<b>To:</b> nek5000-users@lists.mcs.anl.gov<br>
<b>Subject:</b> [Nek5000-users] Post processing mode<br>
</font><br>
</div>
<div></div>
<div>Hi neks, <br>
can someone tell me step by step how can i set Nek5000 in post-processing mode? I read something about it into the mailing list archive, but nothing that explain step by step what i have to do.<br>
I have done the following step:<br>
<br>
-create a file, named file.list where in the first row i have to write the total number analyzed. In the following rows i have to write the file's output name, since the first to the last,<br>
<br>
- now, i read i have to set in .rea file the parameter related to Nstep equal 0 (param p011), i have to fix P010,P14 and P15 equal 0 too?<br>
<br>
I find out this post in your mailing list archive and i added it in my usercheck subroutine, but everytime i have errors in compilation!<br>
<br>
<pre style="color:rgb(0,0,0); font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; widows:1; word-spacing:0px">SUBROUTINE USERCHK
INCLUDE 'SIZE'
INCLUDE 'TOTAL'
INCLUDE 'RESTART'
character*80 filename(9999)
ntot = nx1*ny1*nz1*nelv
ifreguo = .true. ! dump on regular (uniform) grid instead of GLL
nrg = 16 ! dimension of regular grid (nrg**ndim)
! read file-list
if (nid.eq.0) then
open(unit=199,file='file.list',form='formatted',status='old')
read(199,*) nfiles
read(199,'(A80)') (filename(i),i=1,nfiles)
close(199)
endif
call bcast(nfiles,isize)
call bcast(filename,nfiles*80)
do i = 1,nfiles
call load_fld(filename(i))
! do something
! note: make sure you save the result into arrays which are
! dumped by prepost() e.g. T(nx1,ny1,nz1,nelt,ldimt)
...
! dump results into file
call prepost(.true.,'his')
enddo
! we're done
call exitt</pre>
<br>
<br>
Ifreguo is a logical switch to have a grid without elemnts?Only knots?<br>
<br>
Thanks to everyone.<br>
</div>
</div>
</div>
</div>
</body>
</html>