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

Smoothing a mesh from blockMesh

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

Reply
 
LinkBack Thread Tools 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: 133
Rep Power: 9
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: 266
Rep Power: 13
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: 133
Rep Power: 9
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 mesquite smoothing.
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,506
Blog Entries: 36
Rep Power: 96
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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:
    • tutorials at "mesh/moveDynamicMesh"
    • tutorial "incompressible/pimpleDyMFoam/movingCone"
    • gradually opening wall post #2
Best regards,
Bruno
__________________
___
I'll be at OFW11 in Portugal
wyldckat is offline   Reply With Quote

Reply

Tags
blockmesh, mesh smoothing

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
[ICEM] Negative volume error in hybrid mesh siw ANSYS Meshing & Geometry 4 September 3, 2014 05:25
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38
Mesh smoothing schemes Tony Main CFD Forum 10 December 7, 2001 01:55


All times are GMT -4. The time now is 20:16.