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

[snappyHexMesh] optimize snapping

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 16, 2010, 12:02
Default
  #21
New Member
 
Join Date: Sep 2009
Posts: 17
Rep Power: 17
tachyon_me is on a distinguished road
Yes, I think ICON has some of the feature . .. I hope they "OpenFOAM" release them for everyone sometime in future ..

I'm sure snappyHexMesh is more capable and can do edge capturing etc... But I'm just waiting those feature to be released ...

I'm still wondering which software foam_noob has used to create those images ... They looks from paraview ... as he is saying as well... if thats true then HOW ??
tachyon_me is offline   Reply With Quote

Old   February 16, 2010, 15:53
Default
  #22
Senior Member
 
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 283
Rep Power: 18
vinz is on a distinguished road
yes they are coming from paraview I think. But it's not a cut inside the mesh, it's only the symmetryPlane.
Since the cells are not cut, they are displayed correctly by paraview. it wouldn't be the case as you experienced if the surface was a slice in the middle of the field.
vinz is offline   Reply With Quote

Old   February 16, 2010, 16:47
Default
  #23
New Member
 
Join Date: Sep 2009
Posts: 17
Rep Power: 17
tachyon_me is on a distinguished road
yup that make sense .. I guess i missed to read that ... You are right thanks
tachyon_me is offline   Reply With Quote

Old   February 16, 2010, 18:28
Default
  #24
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Picture in Paraview get better if you do not create a slice (this triangulates) but use "ExtractCellsByRegion" with reion plane and "Extract intersected only". Works fine for me.

Regards.
bastil is offline   Reply With Quote

Old   February 16, 2010, 20:40
Default
  #25
New Member
 
cfd
Join Date: Oct 2009
Posts: 1
Rep Power: 0
cfdcomputing is on a distinguished road
"ExtractCellsByRegion" approach works great Thanks

Quote:
Originally Posted by bastil View Post
Picture in Paraview get better if you do not create a slice (this triangulates) but use "ExtractCellsByRegion" with reion plane and "Extract intersected only". Works fine for me.

Regards.
cfdcomputing is offline   Reply With Quote

Old   February 17, 2010, 03:47
Default
  #26
New Member
 
Patrick Wang
Join Date: Dec 2009
Location: Stuttgart, Germany
Posts: 26
Rep Power: 17
foam_noob is on a distinguished road
Thx Bastil for the "extractcellsbyregion" tip. These cuts look a lot better than the one from the slice function.

@ tachyon_me, sorry that it took me so long to reply. As vinz already mentioned, it's the symmetry Plane.
foam_noob is offline   Reply With Quote

Old   February 17, 2010, 05:27
Default
  #27
New Member
 
Simon Rees
Join Date: Mar 2009
Posts: 12
Rep Power: 17
sjrees is on a distinguished road
Further to my comment about vtk not being able to show polyhedra, I tried visualising a mesh with Tecplot and this does show polyhedra. It is consequently easier to see how cells are subdivied by SHM.
sjrees is offline   Reply With Quote

Old   February 17, 2010, 11:17
Default
  #28
New Member
 
Join Date: Sep 2009
Posts: 17
Rep Power: 17
tachyon_me is on a distinguished road
Thank you Patrick W and Bastil .

It's really close to what I wanted to see from paraview... for a long time ...

Have anyone also tried keyframe animation with paraview. I normally use Ensight to do keyframe animation with fully automated scripting ...

I like paraview and wanted to see how close i can get with doing all things which may be on the way for post-processing ..

I guess flip book animation works good and easy to setup in paraview but never tried keyframes ...
tachyon_me is offline   Reply With Quote

Old   August 2, 2010, 08:46
Default the minVol-setting influences the snapping
  #29
New Member
 
Axel Tietjen
Join Date: Dec 2009
Location: Hamburg, Germany
Posts: 19
Rep Power: 17
Axel_T is on a distinguished road
Hi,

What I found out is that the minVol parameter can be the reason for those bumpy surfaces, too.

I use minVol to avoid too small cells, which can be created during the snapping-phase otherwise. As I understand this parameter, sHM checks this limit while moving the grid-points towards the surface. If the volume of the cells containing the moved points gets too low, sHM leaves the point where it is. This gives a slightly bumpy surface.
But if there is a too high Value of minVol, sHM might leave the surface almost "unsnapped".

To get a proper setting for minVol, I calculate: initial cellVolume / 8^refinementLevels , wich is the min castellated cellVolume. This further divided by about 20 is a good value for minVol.

Regards,
Axel
Axel_T 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] SHM not snapping to some surfaces Swift OpenFOAM Meshing & Mesh Conversion 13 January 4, 2016 02:56
[snappyHexMesh] Snapping problem, non orthogonal faces Zephiro88 OpenFOAM Meshing & Mesh Conversion 7 April 17, 2015 03:56
[snappyHexMesh] snapping doesn't work properly estang OpenFOAM Meshing & Mesh Conversion 7 January 12, 2015 02:06
[snappyHexMesh] Snapping not enough (even with surfaceFeatureExtract) ironclad OpenFOAM Meshing & Mesh Conversion 1 November 8, 2013 03:58
[snappyHexMesh] Weird snapping outside a refinement region jasimpson89 OpenFOAM Meshing & Mesh Conversion 0 July 29, 2012 21:46


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