|
[Sponsors] |
February 1, 2011, 09:14 |
snappyhexmesh problem
|
#1 |
Senior Member
|
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. |
|
February 1, 2011, 10:23 |
|
#2 |
New Member
Join Date: Nov 2009
Location: Germany
Posts: 8
Rep Power: 17 |
Hi,
did you edited something in your decomposeParDict? I never had a problem like this. Regards |
|
February 1, 2011, 11:03 |
|
#3 |
Senior Member
|
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. |
|
February 1, 2011, 11:20 |
|
#4 |
New Member
Join Date: Nov 2009
Location: Germany
Posts: 8
Rep Power: 17 |
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 |
|
February 2, 2011, 08:29 |
hi and thanks
|
#5 |
Senior Member
|
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. |
|
February 2, 2011, 08:33 |
|
#6 |
Senior Member
|
Sorry there was some problem the file was not attached.
Here is the file again. |
|
February 2, 2011, 13:16 |
|
#7 |
New Member
Join Date: Nov 2009
Location: Germany
Posts: 8
Rep Power: 17 |
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 |
|
Tags |
open foam, snappyhexmesh |
|
|
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 |