|
[Sponsors] |
February 7, 2022, 11:25 |
Gmsh - structured mesh around a sphere
|
#1 |
New Member
Florian
Join Date: May 2021
Posts: 8
Rep Power: 5 |
Hello,
I want to build a structured mesh around a sphere for numerical simulations using OpenFoam. There I want to compare the stability of the solvers for unstructured and structured grids. The surface mesh around the sphere should look like https://catlikecoding.com/unity/tuto...ho-frontal.png. I thought I could use Gmsh since it is free and I heard it is quite good, but I am not experienced with Gmsh. I wanted to start defining the 6 surfaces on the sphere, but could not split the curves. Can someone help me with my approach or has a better way of doing it? Greetings Florian |
|
February 9, 2022, 19:41 |
|
#2 |
Senior Member
Claudio Boezio
Join Date: May 2020
Location: Europe
Posts: 137
Rep Power: 7 |
Have you checked the sphere OpenFOAM tutorial in tutorials/mesh/blockMesh/sphere and sphere7 ? I think it should point you in the right direction otherwise I suggest looking into blockMesh's capability of projecting block faces onto surfaces. It's very powerful and you can get very good quality grids but it's very tedious to set up. Good luck!
|
|
February 14, 2022, 05:33 |
|
#3 |
New Member
Florian
Join Date: May 2021
Posts: 8
Rep Power: 5 |
Thank you for the advice. I am currently looking into it and it seems very helpful. Can I somehow specify that I don't want a mesh inside the sphere (or another volume)?
|
|
February 14, 2022, 06:13 |
|
#4 |
Senior Member
Claudio Boezio
Join Date: May 2020
Location: Europe
Posts: 137
Rep Power: 7 |
If you want to model the domain around the sphere, you would have to subdivide the domain in an appropriate number and topology of blocks and then project the faces onto the sphere from the outside towards the sphere. In order to reduce the amount of work you could then use the mirrorMesh utility to mirror the grid around a plane of symmetry, in case you need the full sphere.
At the bottom of this page you can find an example of such a topology. |
|
|
|
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 |
[ANSYS Meshing] Structured Mesh inside an egg-like geometry | BrunoCFD | ANSYS Meshing & Geometry | 1 | October 31, 2018 15:48 |
potentialFoam around a sphere ; mesh by Gmsh | eliam | OpenFOAM Running, Solving & CFD | 12 | January 26, 2011 04:02 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 10:38 |
meshing F1 front wing | Steve | FLUENT | 0 | April 17, 2003 13:37 |