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

[snappyHexMesh] snappyHexMesh does not snap

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2010, 13:50
Default snappyHexMesh does not snap
  #1
New Member
 
roberto amaduzzi
Join Date: Apr 2009
Posts: 8
Rep Power: 16
beto is on a distinguished road
Hello!

I know that this topic has already be covered, but I did not find any solution reading previous posts.

I would like to use snappyHexMesh for my meshes, it would be perfect. I found no way to obtain snapped surfaces on my geometry, simply stepped surfaces as after refinement and no output error.

Any suggestion on what I mistaked or what can I work on?

Thanks!
Roberto
beto is offline   Reply With Quote

Old   April 19, 2010, 04:55
Default
  #2
Member
 
Marine
Join Date: Mar 2010
Posts: 38
Rep Power: 16
marine is on a distinguished road
Hello !

I had the same problem whit my mesh, here are two things I changed and which made my snappyHexMesh work :

-Be sure the ratio of cells in your blockMesh is next to 1.
-Do not define a refinement box with a to high level, start with small levels.

To economise time I used to run only the steps 1 and 2 of snappy.

hope it helps,

Marine
marine is offline   Reply With Quote

Old   April 19, 2010, 05:31
Default
  #3
New Member
 
roberto amaduzzi
Join Date: Apr 2009
Posts: 8
Rep Power: 16
beto is on a distinguished road
Hello,

Thanks for your reply!
Yes, I used exactly 1x1x1 ratio cels, I'll try to work better with refimement box.

Thanks again.
Roberto
beto is offline   Reply With Quote

Old   April 19, 2010, 09:28
Default
  #4
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
romant is on a distinguished road
Quote:
Originally Posted by beto View Post
Hello!

I know that this topic has already be covered, but I did not find any solution reading previous posts.

I would like to use snappyHexMesh for my meshes, it would be perfect. I found no way to obtain snapped surfaces on my geometry, simply stepped surfaces as after refinement and no output error.

Any suggestion on what I mistaked or what can I work on?

Thanks!
Roberto

How did u check the mesh? Does it give you two different "time steps" ? Can you attach the snappyHexDict ?
__________________
~roman
romant is offline   Reply With Quote

Old   April 19, 2010, 10:52
Default
  #5
New Member
 
roberto amaduzzi
Join Date: Apr 2009
Posts: 8
Rep Power: 16
beto is on a distinguished road
Hello Roman,

I apreciate very much your help, thanks!

I checked the mesh with paraview (see printscreen attached).
I create perfect cube hex with blockmesh.
I played a long time with refinement parameters with no conceptual change.
The command writes not two, but 19 timesteps with each refinement step.

I noted that the command ensd without error, but I have a lot of warning like:
--> FOAM Warning :
From function meshRefinement::checkData()
in file autoHexMesh/meshRefinement/meshRefinement.C at line 352
Boundary face:1520191 fc3.3536 -1.01565 -0.310555) cached surfaceIndex_:-1 current:0 ownCc3.35332 -1.01566 -0.314487)


Thanks again
Roberto
Attached Images
File Type: jpeg Schermata.jpeg (50.5 KB, 135 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (4.8 KB, 25 views)
beto is offline   Reply With Quote

Old   April 19, 2010, 11:34
Default
  #6
Member
 
Marine
Join Date: Mar 2010
Posts: 38
Rep Power: 16
marine is on a distinguished road
To see only the steps corresponding to 1) refinement 2)snapping you can define "debug" as 0.
I think to do a refinement region you have first to define a refinement box in the geometry part, for example :
refinementBox1
{
type searchableBox;
min (-10 -5 -5);
max (310 155 155);
}

and this is the region you can refine in the "refinementRegion."

Tell me if it works!

Marine
marine is offline   Reply With Quote

Old   April 19, 2010, 11:40
Default
  #7
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
romant is on a distinguished road
Quote:
Originally Posted by beto View Post
I checked the mesh with paraview (see printscreen attached).
At the moment I can see that you are looking at the first time step in paraview.

Do you see the time step option at the top of paraview. try going one or more time steps up (snapping should be the second time step and layers adding the third time step).

If you still do not see any refined pieces, that I will take a look at you dictionary again.
__________________
~roman
romant is offline   Reply With Quote

Old   April 19, 2010, 12:51
Default
  #8
New Member
 
roberto amaduzzi
Join Date: Apr 2009
Posts: 8
Rep Power: 16
beto is on a distinguished road
Roman, the case the printscreen is refered is not the refined one. I already inported the polimesh and delated all the debugging timestep. It's ready for the solver.

Marine,
thanks, I'll try to implement the refinement box!
beto is offline   Reply With Quote

Reply

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
[snappyHexMesh] Run snappyHexMesh steps (castellated, snap, addlayer) separately Glc OpenFOAM Meshing & Mesh Conversion 6 October 8, 2021 03:50
[snappyHexMesh] snappyHexMesh doesnt snap staustrahltriebwerk OpenFOAM Meshing & Mesh Conversion 47 March 18, 2018 15:19
[snappyHexMesh] only snap edges of specific region with snappyHexMesh mike.franky OpenFOAM Meshing & Mesh Conversion 0 July 19, 2017 07:56
[snappyHexMesh] SnappyHexMesh refine but does not snap malaboss OpenFOAM Meshing & Mesh Conversion 6 December 10, 2014 06:31
[snappyHexMesh] snappyHexMesh failure to snap to geometry Yadasol OpenFOAM Meshing & Mesh Conversion 1 November 17, 2014 06:00


All times are GMT -4. The time now is 03:11.