[Nek5000-users] First Visit file

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu Jan 6 12:53:56 CST 2011


Hi Everyone,

I think the issue is the first line of the header.  It needs to be
"NEK5000", not "NEK3D".  It looks like the parsing of the header looks for
the form "TAG VALUE".  The exception is the first line, which is "NEK5000".
 So it tried to read NEK3D as a tag and then ate the filetemplate as the tag
"NEK3D"s value.

When I switched it to NEK5000, VisIt was able to read the file and make a
plot, no problem.

(Aleks: looks like we can read ASCII!  I wasn't sure myself ;)

Best,
Hank

On Thu, Jan 6, 2011 at 10:14 AM, <nek5000-users at lists.mcs.anl.gov> wrote:

> Hello,
>
> For some reason you have ASCII format which is usually triggered by
> param(66)<0 in .rea or an overwrite in .usr file with param(66)=0 instead of
> repo's param(66)=4 -- could you check you .usr file?
>
> Visit reader may not work with it since it's optimized to work with large
> datasets for which ASCII format is prohibitive.
>
> Aleks
>
>
>
> ----- Original Message -----
> From: nek5000-users at lists.mcs.anl.gov
> To: nek5000-users at lists.mcs.anl.gov
> Sent: Thursday, January 6, 2011 12:04:11 PM
> Subject: Re: [Nek5000-users] First Visit file
>
> Hi,
>
> I used a test case (10 dump files from test1.fld01 to test1.fld10) which
> head sections look like this (test1.fld01):
>
> ------------------------------------------------------------------------
>  100  12  12   1 2.0000000E-02   10 X Y U P
> NELT,NX,NY,N
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000      0.000      0.000
>  0.000      0.000      0.000      0.000
>  0.000000E+00  0.000000E+00  0.000000E+00  0.000000E+00  1.154895E+01
>  2.755036E-03  0.000000E+00  0.000000E+00  0.000000E+00  1.080465E+01
>  9.036034E-03  0.000000E+00  0.000000E+00  0.000000E+00  9.776687E+00
> ...
> ------------------------------------------------------------------------
>
> the test1.nek3d file obtained after running the script contains:
>
> ------------------------------------------------------------------------
> NEK3D
> filetemplate: test1.fld%02d
> firsttimestep: 1
> numtimesteps: 10
> meshcoords: 1
> ------------------------------------------------------------------------
>
> However Visit is unable to read it:
>
> ------------------------------------------------------------------------
> The file format reader issued the following error message, which may (or
> may not) be indicative of the problem:
>
> VisIt believes this is a "Nek" file. Further, the reader for this format
> believes this is a non-compliant file of this type. Its description of
> non-compliance is: "A tag called filetemplate: must be specified"
> ------------------------------------------------------------------------
>
> Thanks.
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20110106/33ff00fe/attachment.html>


More information about the Nek5000-users mailing list