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

[snappyHexMesh] Snappy Hex Mesh Generation: error preventing the .eMesh file generation.

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 6, 2016, 10:46
Default Snappy Hex Mesh Generation: error preventing the .eMesh file generation.
  #1
New Member
 
Mariana Garcia
Join Date: Jan 2016
Posts: 1
Rep Power: 0
Mariana Garcia is on a distinguished road
Hi all,

I'm quite new to Open Foam (and CFD) and I believe I am running into some basic mistake.

I have created my geometries in FreeCad, saved them as .stl files and then imported to Snappy Hex Mesh GUI to generate the mesh. In most of my geometries everything went smoothly and the Mesh was generated. However, one is giving me the error "Foam Fatal IO Error: cannot find file" and the file it cannot find is the one with .eMesh extension which is usually created from the .stl files.

The procedure I followed for all geometries is the same. I mostly use the default definitions of Snappy Hex GUI (Block Mesh details: 120% of Domain Extent, volume mesh size ticked with mesh size of 1; Surface controls with Enabled Castellated Mesh Controls and the Global Castellation controls with the location in Mesh Updated and only 1 processor).

The difference I can think of between this geometry and the others is that it has more details, but adding refinement levels also doesn't solve the problem. I also didn't split the geometry by feature angle when importing the file.

Does anyone has an idea of what is causing it and how I can get rid of it?

I have attached to this message the full report from Snappy Hex Gui. The error message comes in the end (last 2 pages).

I only use the graphical interface of Snappy Hex Mesh (so typos in the code are not likely to be the cause, I suppose).


Thank you. Please do let me know if you need more information from me.

Regards,

Mariana
Attached Files
File Type: docx ErrorCFD.docx (162.4 KB, 10 views)

Last edited by Mariana Garcia; January 6, 2016 at 11:12. Reason: forgot attachment
Mariana Garcia is offline   Reply With Quote

Old   January 7, 2016, 04:24
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

I am guessing in your snappyHexMeshDict there is an entry under "features" under "castellatedMeshControls" where the ".eMesh" file is mentioned.

The error crops up because you have specified the ".eMesh" file in your snappyHexMeshDict and it is unable to find the file, probably because surfaceFeatureExtract was not run.

In order to get the ".eMesh" file, you can run the utility "surfaceFeatureExtract". What the utility does is what the name implies - extracting important features in the geometry, which might be important in some cases.

Alternatively, you can remove the ".eMesh" entry in snappyHexMeshDict and it should not give you any problems.

Hope this helps.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Reply

Tags
.stl file, emesh, snappy hex mesh

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
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


All times are GMT -4. The time now is 22:44.