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

[snappyHexMesh] snappyhexmesh problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2011, 09:14
Default snappyhexmesh problem
  #1
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 128
Rep Power: 17
owayz is on a distinguished road
Send a message via MSN to owayz
Hi all,
I am a realtively new user of snappyhexmesh. I was trying to adapt the motorbike tutorial for my own problem, to use snappyhexmesh. But it seems to give an error which i cannot understand.
----------------------------------------------from terminal---------------------------------------
Create time

Create mesh for time = 0

Read mesh in = 0.26 s


--> FOAM FATAL IO ERROR:
cannot open file

file: /home/users/ali/crucible/crucible01/system/decomposeParDict at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 62.

FOAM exiting

-----------------------------------------end-------------------------------------------------------
any help idea or source would be of great value to me.
owayz is offline   Reply With Quote

Old   February 1, 2011, 10:23
Default
  #2
New Member
 
Join Date: Nov 2009
Location: Germany
Posts: 8
Rep Power: 17
DanielPT is on a distinguished road
Hi,

did you edited something in your decomposeParDict? I never had a problem like this.

Regards
DanielPT is offline   Reply With Quote

Old   February 1, 2011, 11:03
Default
  #3
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 128
Rep Power: 17
owayz is on a distinguished road
Send a message via MSN to owayz
I am a new user, so I have no idea what dict is it. I havent modified anything. I just tried to do the simple thing. By running blockMesh first and then to refine and snap, I tried to use the snappy hex mesh.
I have also attached my snappyHexMesh dict.
owayz is offline   Reply With Quote

Old   February 1, 2011, 11:20
Default
  #4
New Member
 
Join Date: Nov 2009
Location: Germany
Posts: 8
Rep Power: 17
DanielPT is on a distinguished road
Hello again,

ok please look in your systems folder. Is there a decomposeParDict inside? When not, copy it from a tutorial.

I attached two useful tutorials for snappyHexMesh.

http://www.hydroniumion.de/allgemein...mesh-tutorial/
http://www.hydroniumion.de/studium/s...torial-part-2/

http://cfdcomputing.com/documents/foam_meshing.htm
DanielPT is offline   Reply With Quote

Old   February 2, 2011, 08:29
Default hi and thanks
  #5
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 128
Rep Power: 17
owayz is on a distinguished road
Send a message via MSN to owayz
Hi Daniel Thanks for zour help, yes I coped that file from the tutorial and now atleat its trying to do something. But I have an error.
First I will explain my problem:
My problem is not very difficult. I have a half sphere for which I have to creat an internal mesh. My surface is in stl format. I create a rectangular box completely enclosing the sphere. I specify the locationinmesh to be a point inside the half sphere. And I was expecting to to get refinement and snapping at surfaces. Thanks for the tutorials, I have seen them already before, but don't know whz i didn't find them very helpful.
I have attached a file that contains the log from terminal, please have a look at it and tell me the possible reasons of the behavior.
owayz is offline   Reply With Quote

Old   February 2, 2011, 08:33
Default
  #6
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 128
Rep Power: 17
owayz is on a distinguished road
Send a message via MSN to owayz
Sorry there was some problem the file was not attached.
Here is the file again.
Attached Files
File Type: txt log from terminal.txt (23.3 KB, 20 views)
owayz is offline   Reply With Quote

Old   February 2, 2011, 13:16
Default
  #7
New Member
 
Join Date: Nov 2009
Location: Germany
Posts: 8
Rep Power: 17
DanielPT is on a distinguished road
Hi,

your log file tells me, that expansionRatio isn't definded in snappyHexMeshDict .
Look in the addLayer part. Maybe you have forgotten a semicolon or the whole entry.

Daniel
DanielPT is offline   Reply With Quote

Reply

Tags
open foam, snappyhexmesh


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
[snappyHexMesh] Problem with decomposePar, snappyHexMesh luca1992 OpenFOAM Meshing & Mesh Conversion 12 August 23, 2017 20:06
[snappyHexMesh] snappyHexMesh problem cfdsolver1 OpenFOAM Meshing & Mesh Conversion 0 June 23, 2016 11:09
[snappyHexMesh] Problem handling with subdictionary in SnappyHexMesh Lorenzo92 OpenFOAM Meshing & Mesh Conversion 0 November 21, 2015 14:57
[snappyHexMesh] Problem with snappyhexMesh: modelling a pore chamber and pore throat model Saideep OpenFOAM Meshing & Mesh Conversion 5 May 10, 2015 15:46
[snappyHexMesh] Problem with snappyHexMesh giack OpenFOAM Meshing & Mesh Conversion 2 September 18, 2014 11:03


All times are GMT -4. The time now is 01:07.