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

snappyhexmesh problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 1, 2011, 08:14
Default snappyhexmesh problem
  #1
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 125
Rep Power: 6
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, 09:23
Default
  #2
New Member
 
Join Date: Nov 2009
Location: Germany
Posts: 8
Rep Power: 6
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, 10:03
Default
  #3
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 125
Rep Power: 6
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, 10:20
Default
  #4
New Member
 
Join Date: Nov 2009
Location: Germany
Posts: 8
Rep Power: 6
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, 07:29
Default hi and thanks
  #5
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 125
Rep Power: 6
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, 07:33
Default
  #6
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 125
Rep Power: 6
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, 18 views)
owayz is offline   Reply With Quote

Old   February 2, 2011, 12:16
Default
  #7
New Member
 
Join Date: Nov 2009
Location: Germany
Posts: 8
Rep Power: 6
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

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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Can I solve this problem by Fluent? Kai_kc FLUENT 1 October 27, 2010 05:29
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 00:19.