|
[Sponsors] |
September 9, 2009, 18:30 |
UNV mesh converter fails with patch
|
#1 |
Member
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 17 |
Hi forum
UNV mesh converter succeeds in converting nodes and cells of .unv from SALOME, but fails while building patches of some meshes. The message is : Code:
Build : 1.6-53b7f692aa41 Exec : ideasUnvToFoam mesh.unv Date : Sep 09 2009 Time : 22:26:38 Host : linux-a6ws PID : 5383 Case : /home/nous/OpenFOAM/nous-1.6/run/run/case nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). Create time Processing tag:2411 Starting reading points at line 3. Read 4156 points. Processing tag:2412 Starting reading cells at line 8318. First occurrence of element type 11 for cell 1 at line 8319 First occurrence of element type 41 for cell 378 at line 9450 First occurrence of element type 111 for cell 2584 at line 13862 Read 21238 cells and 2206 boundary faces. Processing tag:2467 Starting reading patches at line 56340. For facegroup 0 named outer trying to read 76 patch face indices. When reading patches expect Entity Type Code 8 At line 56343 From function readPatches in file ideasUnvToFoam.C at line 464. FOAM exiting Code:
2052 1936 1962 2063 23821 111 2 1 7 4 2236 2220 2461 1745 -1 -1 2467 0 0 0 0 0 0 0 76 outer 7 317 0 0 7 318 0 0 7 319 0 0 7 320 0 0 Thanks in advance Jean-Michel |
|
September 10, 2009, 05:43 |
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
What is the difference between files that work and those that don't? In the source directory ($FOAM_UTILITIES/mesh/conversion/ideasUnvToFoam/) there is a unv/ subdirectory with some sample files.
|
|
September 10, 2009, 19:20 |
Solved : UNV mesh converter fails with patch
|
#3 |
Member
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 17 |
Dear Mattijs
Thanks for your advise : I compared sample .unv files with mine and found out that ideasUnvToFoam failure was caused by useless groups of nodes (Entity code = 7 instead of 8) Everything runs fine now Best wishes J-Michel |
|
October 17, 2009, 06:21 |
|
#4 |
New Member
Michael
Join Date: Oct 2009
Posts: 6
Rep Power: 17 |
How do you have changed this.
In the Unv file or is it posible to change this in salome? thx PS because have same problem. Also starts at 7 |
|
October 17, 2009, 06:53 |
UNV mesh converter fails with entity code 7
|
#5 |
Member
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 17 |
Hi Michael
I just deleted all nodes groups in SALOME before exporting to .unv Best wishes J-Michel |
|
October 17, 2009, 07:16 |
|
#6 |
New Member
Michael
Join Date: Oct 2009
Posts: 6
Rep Power: 17 |
How can I do this?
Could you give me a short explanation? I have just start working with salome thx |
|
October 17, 2009, 09:31 |
UNV mesh converter fails with entity code 7
|
#7 |
Member
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 17 |
Dear Michael
- activate Mesh module (scroll list or mesh icon) - develop your mesh tree completely --> you should find "Group of Nodes" and "Goup of Faces" - right mouse button on each group of nodes names and delete them SALOME in line help is quite nice, have a look inside Otherwise you might try removing in your .unv file all the lines with entity code 7. It may work, I did not try Best wishes J-Michel |
|
October 17, 2009, 10:06 |
|
#8 |
New Member
Michael
Join Date: Oct 2009
Posts: 6
Rep Power: 17 |
ok thx I get it
|
|
October 18, 2009, 13:32 |
|
#9 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Hi,
do you have a sample file that fails? I'll fix it in the converter itself. |
|
October 18, 2009, 14:55 |
|
#10 |
New Member
Michael
Join Date: Oct 2009
Posts: 6
Rep Power: 17 |
||
October 18, 2009, 15:33 |
UNV mesh converter fails with entity code 7
|
#11 |
Member
Jean-Michel FONTAINE
Join Date: Aug 2009
Location: Orleans - France
Posts: 55
Rep Power: 17 |
Hi Mattijs
Please find here enclosed a small .unv file Jean-Michel |
|
October 18, 2009, 17:02 |
|
#12 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Thanks. I pushed a fix to 1.6.x so it can read your file and I've added your file as an example to the unv/ subdirectory.
|
|
November 13, 2009, 00:17 |
ideasUnvToFoam 1.5 doesn´t work
|
#13 |
New Member
Jonathas Assunção de Castro
Join Date: Mar 2009
Posts: 11
Rep Power: 17 |
Hello ...
I tried to convert a .unv mesh using ideasUnvToFoam utility, but I have always the same problem: " Cannot open file ... From function ideasUnvToFoam in file ideasUnvToFoam.C at line 585 FOAM exiting" Please ... I need help!! Thanks Last edited by jonmec; November 13, 2009 at 10:48. Reason: This is not a bug |
|
November 13, 2009, 07:19 |
|
#14 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
You need to supply the complete filename as an argument. This does not sound like a bug so please move this discussion off this OpenFOAM-bugs forum and into e.g. the preprocessing forum.
|
|
November 13, 2009, 10:52 |
|
#15 |
New Member
Jonathas Assunção de Castro
Join Date: Mar 2009
Posts: 11
Rep Power: 17 |
Mattijs ... how could I delete my message?
|
|
September 1, 2018, 13:34 |
|
#16 | |
Member
Federico Agustín Caccia
Join Date: Jun 2015
Location: Buenos Aires, Argentina
Posts: 55
Rep Power: 11 |
Quote:
Hi, I'm having the same error. I have not group of nodes. I dont know how to fix it. |
||
January 4, 2019, 12:08 |
|
#17 |
Member
Saleh Abuhanieh
Join Date: Nov 2017
Posts: 83
Rep Power: 9 |
Hi,
It seems there is a problem in ideasUnvToFoam with foam-Extended fork. The foam can read the polyMesh folder (it works for me for many cases but not 100% sure) which has been generated using OpenFoam forks. So, you may use ideasUnvToFoam with OpenFoam then copy the folder. Saleh |
|
Tags |
converter, mesh, patch, unv |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Grid check fails after sliding mesh calculation | Tito | FLUENT | 0 | March 3, 2008 15:28 |
Moving interface patch using mesh subsets | lr103476 | OpenFOAM Running, Solving & CFD | 0 | January 10, 2008 17:14 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |
Mesh | Mignard | FLUENT | 2 | March 22, 2000 06:12 |
unstructured vs. structured grids | Frank Muldoon | Main CFD Forum | 1 | January 5, 1999 11:09 |