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

Scaling and SnappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2013, 06:27
Default Scaling and SnappyHexMesh
  #1
New Member
 
Aditya
Join Date: May 2013
Location: Munich Germany
Posts: 29
Rep Power: 13
kingmaker is on a distinguished road
Hello

I am trying to do a blower simulation. I have a working simulation. But while checking throught the log files I found that I have "did not succesfully snap mesh. Giving up" statement at the end of snappyHexMesh. So I searched some thing and some one suggested that we have to scale the mesh to correct units before doing snappyHexMesh.
I did it.

Now the problem is when I scale the mesh before snappyHexMesh, Some of the patches which should have faces on them are shown as empty and are removed by "createPatch" utility.

I am confused what I am doing wrong. Do I also have to change the base mesh. ??

Here is the outline of the sequence of operations I perform before solving :

PHP Code:
1.surfaceFeatureExtract
2.BlockMesh
3.Decomposepar
4.transformPoint
(scaling)
5.snappyHexmesh
6.reconstructParMesh
7.toposet
8.decomposePar
9.MRFSimpleFoam 
(I am running a parallel simulation)

or is there any other reason for getting this "did not succesfully snap mesh. Giving up" problem...??

Thanks in advance
kingmaker is offline   Reply With Quote

Old   July 15, 2013, 07:21
Default
  #2
Senior Member
 
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 19
colinB is on a distinguished road
Dear kingmaker,

Quote:
1.surfaceFeatureExtract
2.BlockMesh
3.Decomposepar
4.transformPoint
(scaling)
5.snappyHexmesh
6.reconstructParMesh
7.toposet
8.decomposePar
9.MRFSimpleFoam
in order to have get snappyHexMesh to do the meshing right
both the background mesh from blockMesh as well as the
stl file have to have the same scale.

So in order to do so you should scale the mesh before the domain
and stl file are decomposed, so the correct order of your workflow
should look like follows:

Quote:
1.surfaceFeatureExtract
2.BlockMesh
3.
transformPoint(scaling)
4.decomposePar

5.snappyHexmesh
6.reconstructParMesh
7.toposet
8.decomposePar
9.MRFSimpleFoam
one more question why do you use topoSet?
It looks to me like you are trying to refine the mesh in certain
regions, but are missing the refineMesh command, am I right?

I hope I could contribute
regards
colinB is offline   Reply With Quote

Old   July 15, 2013, 08:40
Default
  #3
New Member
 
Aditya
Join Date: May 2013
Location: Munich Germany
Posts: 29
Rep Power: 13
kingmaker is on a distinguished road
Hello colinB

Thank you for your reply. I will try this and post the result. Also about topoSet, I just do some patch merges and invertions in topoSet to make things easy. I am not doing any refinement there. So is it also necessary to do "refineMesh" command after that.. ??
kingmaker is offline   Reply With Quote

Old   July 15, 2013, 10:05
Default
  #4
Senior Member
 
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 19
colinB is on a distinguished road
Hi

concerning topoSet:

I understand topoSet as a selection tool to pick certain cells in a region
and therefore I would expect a manipulation command right afterwards
like the refineMesh command (this is what I use it for).
So if you don't want to refine anything you don't have to use the command
here of course.

However I don't have a clue how to perform mesh merges and inversions
so I can not tell you whether the command is placed properly here and
whether it is maybe the source of your error message.

regards
colinB is offline   Reply With Quote

Reply


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] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[snappyHexMesh] stl and snappyHexMesh dimensions mismatch romant OpenFOAM Meshing & Mesh Conversion 11 May 4, 2015 10:44
[snappyHexMesh] What is this in snappyHexMesh ? andrea.pasquali OpenFOAM Meshing & Mesh Conversion 5 November 8, 2011 12:28
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
motorBike tutorial and Scaling - New geometry used, scaled and now large velocity!!! scott OpenFOAM 1 July 29, 2010 05:09


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