|
[Sponsors] |
[blockMesh] Odd cell distortion when meshing a sphere in BlockMesh or SnappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 19, 2020, 12:50 |
Odd cell distortion when meshing a sphere in BlockMesh or SnappyHexMesh
|
#1 |
New Member
Join Date: Feb 2016
Posts: 23
Rep Power: 10 |
I am trying to generate a 3D mesh of a sphere for OpenFOAM. I have tried generating it using an STL file and SnappyHexMesh, as well as using the attached m4 file to generate a blockMeshDict (also attached). (from this post)
No matter what I try, I always get this odd "finger" in the resulting mesh as shown in the attached image (from the sphere to the "bottom" of the image). This happens with both methods, so suspect that there might be a systematic mistake behind this. Can anyone give me a hint how to get rid of that? Is this maybe just a rendering artefact caused by ParaView? System Info: System 1: Kubuntu 19.10, OpenFoam 1906, Paraview 5.7.0 System 2: Windows 10, OpenFoam 1912 (running on WSL), Paraview 5.8.0 RC2 (on Windows) System 3: Ubuntu 18.04.4 (LTS), OpenFoam 1912, Paraview 5.7.0 |
|
February 19, 2020, 18:31 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
paraview, dont worry.
but `checkMesh -allTopology -allGeometry` might be helpful as well.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 20, 2020, 04:21 |
|
#3 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
As HPE said, this is an artifact in ParaView which depends on the slice position relatively to the mesh.
To get rid of it, you can check the "crinkle slice" option when creating your slice in ParaView (there is an equivalent option with the clip filter too) Another way to solve this issue is to slightly move your slice, but it may create another artifact somewhere else. Anyway, no need to worry, this is just related to visualization. Cheers, Yann |
|
February 20, 2020, 04:35 |
|
#4 |
New Member
Join Date: Feb 2016
Posts: 23
Rep Power: 10 |
Thanks everyone, that helped a lot!
Ran `checkMesh -allTopology -allGeometry` and found some small issues to look into. And "Crinkle Slice" helped a lot as it allowed me to see that there are actually no problems at that "finger" (but found some minor things somewhere else). |
|
Tags |
blockmesh, openfoam, snappyhexmesh 3d, sphere |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh - 3D Wing Meshing Setup & Trials | denbjornen | OpenFOAM Meshing & Mesh Conversion | 1 | May 25, 2020 12:14 |
[ANSYS Meshing] Is it possible to generate mesh in different cell zones in Ansys meshing? | aja1345 | ANSYS Meshing & Geometry | 0 | October 3, 2018 15:22 |
How to use "translation" in solidBodyMotionFunction in OpenFOAM | rupesh_w | OpenFOAM Running, Solving & CFD | 5 | August 16, 2016 05:27 |
snappyHexMesh: cell lower corner instead of cell centre | andrea.pasquali | OpenFOAM Programming & Development | 4 | February 11, 2013 07:22 |
meshing F1 front wing | Steve | FLUENT | 0 | April 17, 2003 13:37 |