|
[Sponsors] |
July 1, 2014, 07:41 |
Error importing OpenFoam case in engrid
|
#1 |
New Member
Marco
Join Date: Mar 2014
Posts: 8
Rep Power: 12 |
Hi All,
I am trying to import any openFoam case into engrid but I always get the same error: foamreader.cpp error line 194. the output I get on the terminal is: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "" under id 59 m_LogFileName = /tmp/enGrid_20140701112401830/enGrid_output.txt 311410 nodes 311408 faces 622816 triangles 619576 Openfoam and engrid are installed on Ubuntu 14.04. Not sure if anybody else had the same problem (I could not find it on the forum) but any type of help is more than welcome. Regards, Marco |
|
July 1, 2014, 15:59 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Marco and welcome to the forum!
There are a few reasons why enGrid might not be able to load the mesh from an OpenFOAM case. The ones I can remember are:
Bruno |
|
July 2, 2014, 06:53 |
|
#3 |
New Member
Marco
Join Date: Mar 2014
Posts: 8
Rep Power: 12 |
Hi Bruno,
Thanks a lot for your welcome. Answering to your questions: I tried to import both my mesh (a plot3D converted to OpenFoam format which is readable with parafoam) and some random mesh from different tutorials but I get always the same error. I am using OpenFoam 2.3.0 on Ubuntu 10.04 and My computer has 32GB of Ram so I am on the safe side here! ;-) Any suggestion? Cheers, Marco |
|
July 6, 2014, 08:32 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Marco,
OK, took me a while to figure this one out, but it's somewhat simple. The problem is that as OpenFOAM keeps evolving, new features appear which are not yet supported by older software, such as enGrid. In this case, there is a new entry named "inGroups" for each boundary in the file "constant/polyMesh/boundary", which leads to this problem. The workaround is to execute the following command in the case folder: Code:
sed -i -e '/inGroups/d' constant/polyMesh/boundary Best regards, Bruno |
|
January 29, 2015, 14:07 |
Having the same problem with older OpenFOAM
|
#5 |
Member
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 14 |
Hello!
I am running OpenFOAM 2.2.0 on CentOS. engrid is giving me the same error message: file:foam reader.cpp, line 194. console output is: 4746 nodes 4744 faces 9488 triangles 9176 1 , 50 , 100 2 , 100 , 200 3 , 162 , 324 4 , 208 , 416 This happened also when trying to import the tutorial cases from OF's home directory. Thanks! |
|
January 29, 2015, 16:45 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings einatlev,
Edit the file "constant/polyMesh/boundary" in your case and lines similar to this one: Code:
inGroups 1(empty); Best regards, Bruno |
|
January 29, 2015, 16:52 |
Thanks! That seems to have worked for what I tried.
|
#7 |
Member
einat
Join Date: Jul 2012
Posts: 31
Rep Power: 14 |
However, at some point I also got another error message, reporting a bug at foam reader.cpp line 62.
Any clue what that's about? |
|
Tags |
engrid, import, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Same SimpleFOAM Case converges with openFOAM 2.1 but diverges with openFOAM 2.0.1 | alsdia | OpenFOAM Running, Solving & CFD | 3 | October 22, 2012 12:25 |
Installing OpenFOAM 2.1 and enGrid | aerospain | OpenFOAM Installation | 7 | April 1, 2012 06:19 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |