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

[mesh manipulation] Smoothing a mesh from blockMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 22, 2012, 07:01
Default Smoothing a mesh from blockMesh
  #1
Senior Member
 
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18
vatavuk is on a distinguished road
Hi,

I created a mesh using blockmesh but I'm not happy with the result in the boundary between blocks. In this region the lines sudenly change direction (See the picture below). Is there any free tool that can improve the mesh by relocating the vertexes?

Merry Christmas and Happy Holidays to all

Paulo


vatavuk is offline   Reply With Quote

Old   December 23, 2012, 05:27
Default
  #2
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
Hi,

I am not aware of any tools for OpenFOAM to smooth blockMesh-meshes. However, there is a branch in 1.6-ext called "feature/mesquiteHexPrismSupport". The 3rd party Mesquite code can do this as far as I understood. It should be possible to use the code in that branch to build a new blockMesh application, which could have more input in blockMeshDict to control the Mesquite code, and let it do the smoothing. This should not be too much coding, but I have not had the time to implement it. If people are interested, and believes in the idea, we could maybe start up a joint effort. (I would also like to rewrite blockMesh to do surface snapping, using mesh motion solvers, but that is a different story)

K
kalle is offline   Reply With Quote

Old   December 23, 2012, 09:49
Default
  #3
Senior Member
 
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18
vatavuk is on a distinguished road
Hi Karl,
I've been looking in the Mesquite documentation and it really seems to do smoothing. But this code does not work by itself it needs a kind of interface to work with OpenFoam. It seems this had been already done, as is mentioned in this thread http://www.cfd-online.com/Forums/ope...smoothing.html.
In the above thread, we see that there is an example of smoothing, but I would need more precise instructions to be able to do this in my case.
Thanks and Happy Holidays
vatavuk is offline   Reply With Quote

Old   December 24, 2012, 14:18
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Paulo: There are two applications in OpenFOAM that I can think of:
  • modifyMesh - very tricky to use, but it provides the basic tools for mesh manipulation.
  • moveDynamicMesh - you can create an interface (of faceSets?) in the faces/cells that need to be moved... there are a few examples I can think of for dynamic meshes that might come in handy as references:
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
blockmesh, mesh smoothing


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[ICEM] Problem with exporting mesh after smoothing Wroobs ANSYS Meshing & Geometry 2 January 4, 2018 17:12
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 12:14
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 20:43
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 10:38


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