|
[Sponsors] |
[snappyHexMesh] illegal faces generated using snappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 12, 2023, 06:21 |
illegal faces generated using snappyHexMesh
|
#1 |
Senior Member
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 7 |
Hello all
I am using snappyHexMesh for meshing my case and everthing seems fine except that I got 185 illegal faces(please see the figure attached illegalFaces.jpg), but when I do checkMesh it seems fine(no bad face), and I also can run my simualation with laminar flow(for Turbulent flow omega blows up since cells are really small). Now, my question is that "Is my mesh good"? please see the checkMesh.jpg. I found these two threads from simscale where they say that small amount of illegalFaces are ok; https://www.simscale.com/forum/t/mes...faces/82276/17 https://www.simscale.com/forum/t/ill...reatment/68691 any help will be appreciated. Thanks, Farzad |
|
April 12, 2023, 06:37 |
|
#2 | |
Senior Member
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 7 |
One possible solution might be using castellated, snap and addLayers steps one by one as it says here;
https://develop.openfoam.com/Develop.../-/issues/2274 Again any help will be appreciated. Thanks, Farzad Quote:
|
||
April 15, 2023, 09:46 |
|
#3 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Mesh can be okay. If you can run its fine. The omega problem might be related to something else. However, is you mesh scaled correctly? The volumes are almost very very tiny. If the volumes are fine, you should check, if the Knudsen Number is fine for continuum mechanics.
However,
For me, even though, you did not provide the mesh in a visual way, its okay.
__________________
Keep foaming, Tobias Holzmann |
|
April 19, 2023, 01:53 |
|
#4 | |
Senior Member
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 7 |
Dear Tobias
Thanks for your reply. I have attached my mesh and my solid inside the flow domain to this reply. I have used motorBike tutorial and I have tried to exactly follow that. My geometry is 2.4 cm and it has some attachment which has 20 micron diameter, but I do not understand why I should check knudsen number? Do you mean my geometry acts like a porous media? or what? Thanks, Farzad Quote:
|
||
April 19, 2023, 03:30 |
|
#5 | |
Senior Member
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 7 |
For the kOmegaSST problem(code blows up), I have calculated reference length scale based on length of the shape(2.4 cm) where I have very small diameters like 20 micron which is 1200 times smaller thank 2.4 cm, so I think Omega initial value cause the problem. I will tested it and let you know if kOmegaSST works or not.
https://www.openfoam.com/documentati...omega-sst.html Thanks, Farzad Quote:
|
||
April 20, 2023, 04:52 |
How to remove( or at least reduce wrongFaces)
|
#6 |
Senior Member
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 7 |
Dear all
Actually, I did a test and by increasing scale of the domain(1e6), I was able to mesh it without any problem and then I rescale the problem to the original shape using; Code:
transformPoints -scale '(0.000001 0.000001 0.000001)' Thanks, Farzad |
|
Tags |
illegalfaces, openfoam, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Can't Shake Erros: patch type 'patch' not constraint type 'empty' | BrendaEM | OpenFOAM Meshing & Mesh Conversion | 12 | April 3, 2022 19:32 |
[snappyHexMesh] snappyHexMesh does not detect highly skewed faces? | ptpacheco | OpenFOAM Meshing & Mesh Conversion | 1 | January 4, 2022 13:37 |
decomposePar -allRegions | stru | OpenFOAM Pre-Processing | 2 | August 25, 2015 04:58 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 14:38 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |