|November 14, 2012, 18:11||
background mesh in gmsh
Join Date: Nov 2012
Posts: 1Rep Power: 0
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!
|March 20, 2013, 05:20||
Join Date: Dec 2012
Posts: 64Rep Power: 6
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||Thread Starter||Forum||Replies||Last Post|
|failed 1 mesh checks (gmsh)||appa||Open Source Meshers: Gmsh, Netgen, CGNS, ...||2||July 30, 2015 17:09|
|Error Importing Surface Mesh from GMSH to EnGrid||eric.m.tridas||enGrid||4||August 17, 2013 09:34|
|[ICEM] Generating Mesh for STL Car in Windtunnel Simulation||tommymoose||ANSYS Meshing & Geometry||48||April 15, 2013 04:24|
|Can I use gridgen mesh as a background mesh for snappyhexmesh.||amatuer||OpenFOAM Meshing & Mesh Conversion||3||May 3, 2012 10:27|
|external flow with snappyHexMesh||chelvistero||OpenFOAM||11||January 15, 2010 20:43|