[Nek5000-users] Nek5000-users Digest, Vol 88, Issue 5

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Wed Jun 8 08:46:13 CDT 2016


Hi Mansi,

You can find the updated "mshconvert.py" in the attachment.  You can run the script for your case likes

###
$ ipython

In [1]: from mshconvert import *
Converting from ANSYS Fluent format (.msh) to Nek5000, semtex or FEniCS format

In [2]: convert('mesh_hexa_final.msh', bcs={10:'W',11:'v',12:'v',13:'O'})
...
###

Here I assume that BC "W" is on zone 10, "v" is on zones 11 and 12, and 'O' on zone 13. 

The snapshot for the Nek5000 mesh using visit is also attached in the email.

/Jing


________________________________________
From: nek5000-users-bounces at lists.mcs.anl.gov <nek5000-users-bounces at lists.mcs.anl.gov> on behalf of nek5000-users-request at lists.mcs.anl.gov <nek5000-users-request at lists.mcs.anl.gov>
Sent: Monday, June 6, 2016 22:09
To: nek5000-users at lists.mcs.anl.gov
Subject: Nek5000-users Digest, Vol 88, Issue 5

Send Nek5000-users mailing list submissions to
        nek5000-users at lists.mcs.anl.gov

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
or, via email, send a message with subject or body 'help' to
        nek5000-users-request at lists.mcs.anl.gov

You can reach the person managing the list at
        nek5000-users-owner at lists.mcs.anl.gov

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nek5000-users digest..."


Today's Topics:

   1. Re: Nek5000-users Digest, Vol 88, Issue 4,        Problem creating
      .rea file (nek5000-users at lists.mcs.anl.gov)


----------------------------------------------------------------------

Message: 1
Date: Mon, 6 Jun 2016 19:58:31 +0000
From: nek5000-users at lists.mcs.anl.gov
To: "nek5000-users at lists.mcs.anl.gov"
        <nek5000-users at lists.mcs.anl.gov>
Subject: Re: [Nek5000-users] Nek5000-users Digest, Vol 88, Issue 4,
        Problem creating .rea file
Message-ID:
        <mailman.23344.1465243753.24727.nek5000-users at lists.mcs.anl.gov>
Content-Type: text/plain; charset="iso-8859-1"

Hello all,


Thanks jing, that was a lot helpful to me.

I have generated the .msh file for the hexahedral mesh for my geometry. File is attached to this mail.


I have given boundary condition in this file only let me know if there are any changes to be made and file has only one zone( if by one zone you mean only 1 type of mesh through out whole geometry).


Questions:

1) Users, what are other ways to convert (Icem cfd) .msh  file to .rea file?

2) is there any way to smooth hexahedral mesh for unstructured geometry?


Thanks,

Mansi Patel


________________________________
From: nek5000-users-bounces at lists.mcs.anl.gov <nek5000-users-bounces at lists.mcs.anl.gov> on behalf of nek5000-users-request at lists.mcs.anl.gov <nek5000-users-request at lists.mcs.anl.gov>
Sent: Friday, June 3, 2016 1:00 PM
To: nek5000-users at lists.mcs.anl.gov
Subject: Nek5000-users Digest, Vol 88, Issue 4

Send Nek5000-users mailing list submissions to
        nek5000-users at lists.mcs.anl.gov

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
or, via email, send a message with subject or body 'help' to
        nek5000-users-request at lists.mcs.anl.gov

You can reach the person managing the list at
        nek5000-users-owner at lists.mcs.anl.gov

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nek5000-users digest..."


Today's Topics:

   1. Re: Nek5000-users Digest, Vol 88, Issue 3
      (nek5000-users at lists.mcs.anl.gov)


----------------------------------------------------------------------

Message: 1
Date: Thu, 2 Jun 2016 21:21:13 +0000
From: nek5000-users at lists.mcs.anl.gov
To: "nek5000-users at lists.mcs.anl.gov"
        <nek5000-users at lists.mcs.anl.gov>
Subject: Re: [Nek5000-users] Nek5000-users Digest, Vol 88, Issue 3
Message-ID:
        <mailman.23169.1464902611.24727.nek5000-users at lists.mcs.anl.gov>
Content-Type: text/plain; charset="iso-8859-1"

Hi Mansi,

1)what should I do to solve error?

Right now mshconvert can only deal with single zone's case. So you should have to manually merge the multi-zone to single-zone in the .msh file.

Also we found that there are few bugs in the file.  Could you please send us your .msh file to test  and then we will get back to you with the corrected version?

2)what are mesh types that we can use?
Quadrant  for 2D- and hexahedral for 3D-cases.

3) I there any other easy way to convert .msh file to .rea?
I leave this question to other users.

Thanks.

Regards, Jing
________________________________________
From: nek5000-users-bounces at lists.mcs.anl.gov <nek5000-users-bounces at lists.mcs.anl.gov> on behalf of nek5000-users-request at lists.mcs.anl.gov <nek5000-users-request at lists.mcs.anl.gov>
Sent: Thursday, June 2, 2016 19:17
To: nek5000-users at lists.mcs.anl.gov
Subject: Nek5000-users Digest, Vol 88, Issue 3

Send Nek5000-users mailing list submissions to
        nek5000-users at lists.mcs.anl.gov

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
or, via email, send a message with subject or body 'help' to
        nek5000-users-request at lists.mcs.anl.gov

You can reach the person managing the list at
        nek5000-users-owner at lists.mcs.anl.gov

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nek5000-users digest..."


Today's Topics:

   1. problems in generating .rea file (nek5000-users at lists.mcs.anl.gov)


----------------------------------------------------------------------

Message: 1
Date: Thu, 2 Jun 2016 17:12:11 +0000
From: nek5000-users at lists.mcs.anl.gov
To: "nek5000-users at lists.mcs.anl.gov"
        <nek5000-users at lists.mcs.anl.gov>
Subject: [Nek5000-users] problems in generating .rea file
Message-ID:
        <mailman.23153.1464887866.24727.nek5000-users at lists.mcs.anl.gov>
Content-Type: text/plain; charset="iso-8859-1"

Hello all,

I want to ask what type of mesh does Nek5000 accept? tetrahedral, hexahedral,etc?

Because I am using ICEM CFD for generating mesh which has extension .msh and for that I used python code given for mshconvert to convert into .rea file but I am getting error. the error image is attached.

Please let me know following questions

1)what should I do to solve error?

2)what are mesh types that we can use?

3) I there any other easy way to convert .msh file to .rea?


Thanks, any help would be appreciated.


Thanks,

Mansi Patel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20160602/aaf91e41/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.png
Type: image/png
Size: 91392 bytes
Desc: error.png
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20160602/aaf91e41/attachment.png>

------------------------------

_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users


End of Nek5000-users Digest, Vol 88, Issue 3
********************************************


------------------------------

_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users


End of Nek5000-users Digest, Vol 88, Issue 4
********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20160606/e07ab762/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh_hexa_final.msh
Type: application/octet-stream
Size: 24802571 bytes
Desc: mesh_hexa_final.msh
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20160606/e07ab762/attachment.obj>

------------------------------

_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users


End of Nek5000-users Digest, Vol 88, Issue 5
********************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mshconvert.py
Type: text/x-python
Size: 62532 bytes
Desc: mshconvert.py
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20160608/cfda4759/attachment-0001.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh_fine.pdf
Type: application/pdf
Size: 44347 bytes
Desc: mesh_fine.pdf
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20160608/cfda4759/attachment-0001.pdf>


More information about the Nek5000-users mailing list