CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > enGrid

Error importing OpenFoam case in engrid

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 1, 2014, 06:41
Question Error importing OpenFoam case in engrid
  #1
New Member
 
Marco
Join Date: Mar 2014
Posts: 4
Rep Power: 2
geronimo_750 is on a distinguished road
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
geronimo_750 is offline   Reply With Quote

Old   July 1, 2014, 14:59
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,327
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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:
  1. The original files may be too big, possibly greater than 2 GB.
  2. I'm not sure if enGrid can import any kind of surface mesh from OpenFOAM.
  3. The original mesh files might be using a new terminology that enGrid isn't familiar with yet.
Therefore, a few questions about your case:
  1. With what software was the mesh originally generated? If it was with OpenFOAM, with which exact version?
  2. How much RAM does your machine have?
  3. How big are the mesh files? Look into the folder "constant/polyMesh".
  4. What are the specs of your case's mesh? In other words, what does checkMesh give you?
  5. Are you able to reproduce the same error with a tutorial case from OpenFOAM?
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 2, 2014, 05:53
Default
  #3
New Member
 
Marco
Join Date: Mar 2014
Posts: 4
Rep Power: 2
geronimo_750 is on a distinguished road
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
geronimo_750 is offline   Reply With Quote

Old   July 6, 2014, 07:32
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,327
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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
Then you can import the case with enGrid.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Tags
engrid, import, openfoam

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Same SimpleFOAM Case converges with openFOAM 2.1 but diverges with openFOAM 2.0.1 alsdia OpenFOAM Running, Solving & CFD 3 October 22, 2012 11:25
Installing OpenFOAM 2.1 and enGrid aerospain OpenFOAM Installation 7 April 1, 2012 05:19
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 03:52
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 17 August 22, 2009 03:59


All times are GMT -4. The time now is 10:34.