CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] snappyHexMesh - 90° edges problem

Register Blogs Community New Posts Updated Threads Search

Like Tree16Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2021, 10:02
Default
  #21
New Member
 
troth
Join Date: May 2021
Posts: 19
Rep Power: 5
troth is on a distinguished road
Solved it!

It was a problem with the blockMeshDict. I used one that I copied from some tutorial which has some surfaces with type symmetryPlane. I changed it to type patch and now works fine!
Yann likes this.
troth is offline   Reply With Quote

Old   October 22, 2021, 10:52
Default
  #22
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hi troth,

Good to know you solved your problem.

When concatenating STL files, several issues can arise due to duplicated points and/or edges in the STL file.

The surfaceCheck utility can help you to check for errors in your STL file. For instance, when checking your reactor.stl I get this message showing some edges in your file are not connected together.

Code:
Surface is not closed since not all edges (5766) connected to two faces:
    connected to one face : 6
    connected to >2 faces : 0
The surface not being closed might lead to some issues in snappyHexMesh, like a refinementRegion not working or snappy not removing the unwanted parts of the mesh. It doesn't mean it will necessarily happen, but just it COULD happen.

There are 2 utilities which can help to solve these issues:
If you get the desired mesh you are all good, but this is good to know this in order to be able do deal with these issues if you face it later.

Cheers,
Yann
troth likes this.
Yann is offline   Reply With Quote

Old   October 22, 2021, 11:28
Default
  #23
New Member
 
troth
Join Date: May 2021
Posts: 19
Rep Power: 5
troth is on a distinguished road
Quote:
Hi troth,
Thanks Yann for that useful information!.

I run again the case with the separated stl files that I had at the beginning and it works fine now. I used SurfaceCheck and it says that the surface is closed. Therefore I think I don't need anymore to use the concatenated stl.

I will anyway try to fix it with the 2 utilities you mention.



Thanks again!
Yann likes this.
troth is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] snappyHexMesh <-> dynamicMeshDict problem with protected cells Billy_16 OpenFOAM Meshing & Mesh Conversion 2 November 21, 2020 04:34
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 18:16
[snappyHexMesh] snappyHexMesh inclinced surface snapping problem Swift OpenFOAM Meshing & Mesh Conversion 19 January 18, 2017 05:42
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 04:21
[snappyHexMesh] SnappyHexMesh in Parallel problem swifty OpenFOAM Meshing & Mesh Conversion 10 November 6, 2015 05:40


All times are GMT -4. The time now is 16:41.