CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ICEM] .neu file output from ICEMCFD

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree4Likes
  • 1 Post By aero_head
  • 1 Post By zuheyr
  • 1 Post By aero_head
  • 1 Post By bluebase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2021, 02:36
Default .neu file output from ICEMCFD
  #1
New Member
 
zuheyr alsalihi
Join Date: May 2018
Location: Belgium
Posts: 16
Rep Power: 5
zuheyr is on a distinguished road
Dear colleagues,



Using ICEM CFD 2020 R1 how can I write out Gambit input file ascii .neu. Unfortunately the solver I am using is using this format. I will greatly appreciate any help.



Thank you for reading.
zuheyr is offline   Reply With Quote

Old   March 31, 2021, 16:56
Default
  #2
Senior Member
 
Join Date: Nov 2020
Location: Canada
Posts: 332
Rep Power: 4
aero_head is on a distinguished road
Quote:
Originally Posted by zuheyr View Post
Dear colleagues,



Using ICEM CFD 2020 R1 how can I write out Gambit input file ascii .neu. Unfortunately the solver I am using is using this format. I will greatly appreciate any help.



Thank you for reading.
Hello,

A direct conversion is no longer possible. From this thread: Converting Fluent mesh files to Gambit neutral files :

Now that Ansys no longer supports Gambit (after this month), it is no longer possible to export meshes in Gambit neutral format (*.neu) for any legacy codes which require it. Attached to this post is the code for two tools:

msh2neu: convert Fluent mesh files (*.msh) to Gambit neutral files (*.neu)
neu2msh: convert Gambit neutral files (*.neu) to Fluent mesh files (*.msh)

The code is limited to two dimensional, non-periodic meshes. However, it supports tagging of boundaries (for specification of boundary conditions in your code) and tagging of mesh regions (e.g. to distinguish an outlet region where the convection-diffusion equation is solved instead of Navier-Stokes).

Compilation is using gcc and make. Also included is documentation. I could not include any example meshes or icemcfd projects because of the size constraint on attachments.
zuheyr likes this.
aero_head is offline   Reply With Quote

Old   April 1, 2021, 03:30
Default
  #3
New Member
 
zuheyr alsalihi
Join Date: May 2018
Location: Belgium
Posts: 16
Rep Power: 5
zuheyr is on a distinguished road
Dear Kira,

I very much appreciated this. Thank you. Please allow me to tell you my success and failure. Very best wishes and kindest regards!
Zuheyr
aero_head likes this.
zuheyr is offline   Reply With Quote

Old   April 20, 2021, 08:21
Default
  #4
New Member
 
zuheyr alsalihi
Join Date: May 2018
Location: Belgium
Posts: 16
Rep Power: 5
zuheyr is on a distinguished road
Dear Kira,

I come back to you for the converter from .msh to .neu.

I am using your program and I am grateful. The program that I need to run crashes however, and I discovered that your program has the boundary condition list and element number whereas the code requires boundary condition and the element list has 2 integers appended to each element, viz:


From the .neu file that runs
BOUNDARY CONDITIONS 2.4.6
Symmetry 1 165 0 6
930 2 3
928 2 3
927 2 3
926 2 3

.....



The one from you: (not the same case, I do not have gambit)


BOUNDARY CONDITIONS 2.2.30
SYMMETRY 0 49 0 24
1025
2
.......



From the .neu file format reference:
https://web.stanford.edu/class/me469...mbit_write.pdf


Boundary Conditions Sets (Optional)
This section identifies and labels points, edges, and/or faces to which boundary conditions are to be applied. Each set of boundary conditions is preceded
by a header and control record.

There are two types of boundary-condition sets. One provides a list of grid
points; the other provides a list of element/cell faces.



Would you have any idea if I can write out this data from your code?


Many thanks and kindest regards, Zuheyr
zuheyr is offline   Reply With Quote

Old   April 28, 2021, 01:03
Default
  #5
Senior Member
 
Join Date: Nov 2020
Location: Canada
Posts: 332
Rep Power: 4
aero_head is on a distinguished road
Quote:
Originally Posted by zuheyr View Post
Dear Kira,

I come back to you for the converter from .msh to .neu.

I am using your program and I am grateful. The program that I need to run crashes however, and I discovered that your program has the boundary condition list and element number whereas the code requires boundary condition and the element list has 2 integers appended to each element, viz:


From the .neu file that runs
BOUNDARY CONDITIONS 2.4.6
Symmetry 1 165 0 6
930 2 3
928 2 3
927 2 3
926 2 3

.....



The one from you: (not the same case, I do not have gambit)


BOUNDARY CONDITIONS 2.2.30
SYMMETRY 0 49 0 24
1025
2
.......



From the .neu file format reference:
https://web.stanford.edu/class/me469...mbit_write.pdf


Boundary Conditions Sets (Optional)
This section identifies and labels points, edges, and/or faces to which boundary conditions are to be applied. Each set of boundary conditions is preceded
by a header and control record.

There are two types of boundary-condition sets. One provides a list of grid
points; the other provides a list of element/cell faces.



Would you have any idea if I can write out this data from your code?


Many thanks and kindest regards, Zuheyr
Hello Zuheyr,

Sorry to hear you are having this issue. Have you tried anything, and if so, what? Maybe we can work from there.
zuheyr likes this.
aero_head is offline   Reply With Quote

Old   April 28, 2021, 07:15
Default
  #6
New Member
 
zuheyr alsalihi
Join Date: May 2018
Location: Belgium
Posts: 16
Rep Power: 5
zuheyr is on a distinguished road
Quote:
Originally Posted by aero_head View Post
Hello Zuheyr,

Sorry to hear you are having this issue. Have you tried anything, and if so, what? Maybe we can work from there.
Dear Kira,

Thank you so very much. As long as I cannot show you the .neu file that works and the neu file created with your tool are not available, I do not have GAMBIT, attaching files will not help.

My problem is: only the list of the boundary elements are listed by your conversion program but the solver I am using needs 2 other numbers which seem to be present in Gambit written .neu files as I had written in my previous post above from the .neu file description.


Just briefly:

This is what your code writes:
BOUNDARY CONDITIONS 2.2.30
Symmetry 0 49 0 24
1025
..... (deleted)

This is what the code needs:

BOUNDARY CONDITIONS 2.4.6
Symmetry 1 164 0 6
1025 2 1
..... (deleted)


I also discovered in the original post that you referred to, someone replied that there was no connectivity information in the coversion process. The actual author replied to that post saying that he cannot offer any further asistance.

Please tell me if you want me to attach a small test prj files, or the msh file?

Many sincere thanks, Zuheyr

Last edited by zuheyr; April 28, 2021 at 07:16. Reason: Spelling
zuheyr is offline   Reply With Quote

Old   April 28, 2021, 13:57
Default
  #7
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 557
Rep Power: 18
bluebase will become famous soon enough
Hi Zuheyr,


your problem seems to require significant amount of work. Aero_head gave you already valuable starting points.


I believe, it might not be very likely to find someone having a ready solution. The most likely are other people using your solver. They sure had the same problem, wouldn't they? Look for them.



If that's a dead end, it is likely up to yourself to program a next version of msh2neu - custom solver means custom work =|

If there are funds, you might hire someone to develop such a converter...
bluebase is offline   Reply With Quote

Old   April 29, 2021, 06:28
Default
  #8
New Member
 
zuheyr alsalihi
Join Date: May 2018
Location: Belgium
Posts: 16
Rep Power: 5
zuheyr is on a distinguished road
Quote:
Originally Posted by bluebase View Post
Hi Zuheyr,


your problem seems to require significant amount of work. Aero_head gave you already valuable starting points.


I believe, it might not be very likely to find someone having a ready solution. The most likely are other people using your solver. They sure had the same problem, wouldn't they? Look for them.



If that's a dead end, it is likely up to yourself to program a next version of msh2neu - custom solver means custom work =|

If there are funds, you might hire someone to develop such a converter...

Thank you so much!


Well I hope you are not the boss of Kira because I have replied his/her last post. I am sure that the task is not gigantic and of interest to many people.



All one needs is a good description of the Gambit neutral file format and that is it.



So, if necessary, I would ask your kind permission to continue the thread.


Best,
Zuheyr
zuheyr is offline   Reply With Quote

Old   April 29, 2021, 08:36
Default
  #9
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 557
Rep Power: 18
bluebase will become famous soon enough
Quote:
Originally Posted by zuheyr View Post
Well I hope you are not the boss of Kira because I have replied his/her last post.
Don't jump to conclusions.

I just wanted to reference a post in this thread by the author's alias.




Quote:
So, if necessary, I would ask your kind permission to continue the thread.
I am no authority on that.




Quote:
I am sure that the task is not gigantic and of interest to many people.
All one needs is a good description of the Gambit neutral file format and that is it.

Let's hope that.



My intention was to adjust your expectations from my point of view. Feel free to consider it as-is - an opinion.
aero_head likes this.
bluebase is offline   Reply With Quote

Reply

Tags
.neu file, icemcfd, output

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


All times are GMT -4. The time now is 01:15.