[Nek5000-users] Can Prenek read VTK like mesh ?

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Mon Dec 6 10:01:57 CST 2010


Hi Paul,

Thank you very much for your reply.

Here I attached an example of vtk like mesh created by Gmsh. It is a square
(0,1)*(0,1) with 2*2 elements.

zhicheng

On Mon, Dec 6, 2010 at 10:41 AM, <nek5000-users at lists.mcs.anl.gov> wrote:

>
> Yes - it can read it.  The mesh needs to be in ascii
> and there is usually some modification required either
> to the source or to the header since the vtk file formats
> can be varied.
>
> You can either edit your prenek source or your file to
> suit, or if you wish to send me a sample vtk file, I can
> update prenek to handle this.
>
> Paul
>
>
>
> On Fri, 3 Dec 2010, nek5000-users at lists.mcs.anl.gov wrote:
>
>  Hello, everyone,
>>
>> I'm using Prenek to create a *.rea file.
>> At the stage of "BUILD INTERACTIVELY ", there is a menu "IMPORT vtk MESH",
>> so I tried to load a vtk mesh generated by GMSH,
>> but unfortunately, I got errors like this:
>>
>> At line 2119 of file build.f (unit = 48, file = 'my_vtk.tmp')
>> Fortran runtime error: Bad integer for item 1 in list input
>>
>> Does prenek support vtk format mesh ?
>>
>>
>> --
>> Zhicheng Wang
>>
>>  _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>



-- 
Zhicheng Wang
Ph.D. Candidate
RM 402, No.11 Beisihuan West Road
Institute of Engineering Thermophysics, Chinese Academy of Sciences
Beijing, 100190, P.R. China
Tel: (86) 10-82543092
E-mail: wangzhicheng09 at gmail.com; wangzhicheng at iet.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20101206/57dc8b46/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Square.vtk
Type: application/octet-stream
Size: 418 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20101206/57dc8b46/attachment.obj>


More information about the Nek5000-users mailing list