[Nek5000-users] n2to3 mesh size error

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Tue Nov 14 08:08:42 CST 2017


So your mesh has more than 1000 elements. I think that the way the python script is written the boundary conditions in a rea file is not correct. I had this issue in the past.
On Nov 14, 2017, at 9:02 AM, nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov> wrote:

Its a 25X25 square grid in 2D. Im trying to extrude this with 10 elements in the z direction.

On Tue, Nov 14, 2017 at 8:13 AM <nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>> wrote:
What is the number of elements in your mesh?

On Nov 13, 2017, at 11:40 PM, nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov> wrote:


Gmsh to .rea using CPraveen's python mesh converter.

On Mon, Nov 13, 2017, 10:52 PM <nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>> wrote:
Looks like the boundary conditions in your .rea file are somehow messed up. How do you generate you .rea?

-----Original message-----
> From:nek5000-users at lists.mcs.anl.gov<mailto:From%3Anek5000-users at lists.mcs.anl.gov> <nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>>
> Sent: Tuesday 14th November 2017 4:47
> To: nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>
> Subject: [Nek5000-users] n2to3 mesh size error
>
> Hi all,
>
> I keep running into an error whenever I want to use n2to3 to extrude my mesh from 2 dimensions to 3. My workflow is as follows:
>
> gmsh .geo file -> gmsh .msh file -> .rea file -> n2to3 > .rea (3D) file.
>
> Now if the original 2D .rea file obtained from gmsh contains less than 1000 elements, n2to3 fails with the error
>
> At line 651 of file n2to3.f (unit = 10, file = msh_test.rea)
> Fortran runtime error: Bad value during integer read
>
> However, should this not be the case (mesh size > 1000) its all smooth sailing. The trouble is with a mesh of that size my processor and memory requirements quickly blow up.
>
> Incidentally, genmap fails under almost exactly the same conditions.
>
> Is there a lower limit to mesh size issue for nek5000 that Im missing here?
>
> Sincerely,
> --
> Amitvikram Dutta
> Graduate Research Assistant
> Fluid Mechanics Research Lab
> University of Waterloo
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov<mailto: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<mailto:Nek5000-users at lists.mcs.anl.gov>
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
--

Amitvikram Dutta

Graduate Research Assistant

Fluid Mechanics Research Lab

University of Waterloo

_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov<mailto: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<mailto:Nek5000-users at lists.mcs.anl.gov>
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
--

Amitvikram Dutta

Graduate Research Assistant

Fluid Mechanics Research Lab

University of Waterloo

_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov<mailto: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/20171114/6198e721/attachment.html>


More information about the Nek5000-users mailing list