|
[Sponsors] |
November 14, 2012, 17:11 |
background mesh in gmsh
|
#1 |
New Member
Join Date: Nov 2012
Posts: 1
Rep Power: 0 |
Hello all,
I hope someone can help me using gmsh with a background mesh for refinements. I would like to create a (2D) mesh where very small areas are refined. The refinement is dependent on the solution of a previous simulation and there is no easy way to do the refinements using an Attractor field with lines and/or points. Therefore, I would like to use a background mesh. My first question is about how the background is exactly used to determine the element sizes. Is there some sort of ‘sampling mesh’, where the vertices are used to determine the values in the background mesh? If so, what is the resolution of this sampling mesh? My second question is related to the first. Because it would be too time consuming to make the whole sampling mesh with the resolution of the small areas, I would like to use an iterative procedure (as suggested in the manual). However, I am having difficulty implementing this iterative process in gmsh. I tried using ‘merge’, but it always seems that the same sampling mesh is used, yielding the same result for every iteration. Can someone point me in the right direction? Thank you very much in advance! Nick |
|
March 20, 2013, 04:20 |
|
#2 |
Member
Felipe Alves Portela
Join Date: Dec 2012
Location: FR
Posts: 70
Rep Power: 13 |
Hi Nick,
I'm not sure if I can help you directly with your questions. The experience I have with this is pretty basic, but at the time it worked well for me. If you construct a .pos file with the target mesh sizes at the nodes of the elements, you can then use it as a background mesh. Have a look at this files (the .zip was to large to attach to this message): https://www.dropbox.com/s/gsihvjnmhz...adaptation.zip Hope it helps! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Gmsh - External Flow Mesh Generation - Airfoil STL file | Eefoe | OpenFOAM Meshing & Mesh Conversion | 2 | August 22, 2017 09:27 |
GMSH extrude a boundary layer from an unstructured Mesh | Hillie | Mesh Generation & Pre-Processing | 2 | July 7, 2017 03:38 |
[Gmsh] GMSH : structured mesh issue | bibiboom | OpenFOAM Meshing & Mesh Conversion | 0 | May 17, 2017 18:49 |
[Gmsh] gMsh instead of blockMesh for base mesh, then snappyHexMesh | sazabi2001 | OpenFOAM Meshing & Mesh Conversion | 0 | February 23, 2017 12:00 |
[Gmsh] failed 1 mesh checks (gmsh) | appa | OpenFOAM Meshing & Mesh Conversion | 2 | July 30, 2015 17:09 |