|
[Sponsors] |
March 31, 2021, 03:36 |
.neu file output from ICEMCFD
|
#1 |
New Member
zuheyr alsalihi
Join Date: May 2018
Location: Belgium
Posts: 18
Rep Power: 8 |
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. |
|
March 31, 2021, 17:56 |
|
#2 | |
Senior Member
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 9 |
Quote:
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. |
||
April 1, 2021, 04:30 |
|
#3 |
New Member
zuheyr alsalihi
Join Date: May 2018
Location: Belgium
Posts: 18
Rep Power: 8 |
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 |
|
April 20, 2021, 09:21 |
|
#4 |
New Member
zuheyr alsalihi
Join Date: May 2018
Location: Belgium
Posts: 18
Rep Power: 8 |
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 |
|
April 28, 2021, 02:03 |
|
#5 | |
Senior Member
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 9 |
Quote:
Sorry to hear you are having this issue. Have you tried anything, and if so, what? Maybe we can work from there. |
||
April 28, 2021, 08:15 |
|
#6 | |
New Member
zuheyr alsalihi
Join Date: May 2018
Location: Belgium
Posts: 18
Rep Power: 8 |
Quote:
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 08:16. Reason: Spelling |
||
April 28, 2021, 14:57 |
|
#7 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
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... |
|
April 29, 2021, 07:28 |
|
#8 | |
New Member
zuheyr alsalihi
Join Date: May 2018
Location: Belgium
Posts: 18
Rep Power: 8 |
Quote:
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 |
||
April 29, 2021, 09:36 |
|
#9 | |||
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Quote:
I just wanted to reference a post in this thread by the author's alias. Quote:
Quote:
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. |
||||
Tags |
.neu file, icemcfd, output |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |