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

[snappyHexMesh] refineMesh + snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By David*

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2012, 11:33
Default refineMesh + snappyHexMesh
  #1
New Member
 
Silvan Brändli
Join Date: Aug 2009
Posts: 27
Rep Power: 17
s_braendli is on a distinguished road
Dear all

I try to generate a mesh using "blockMesh" - "topoSet" - "refineMesh -dict" - "snappyHexMesh" (see Allmake script in the attached case). From the refinement step I expect better snapping quality without introducing too many cells with blockMesh. However this results in the error:

Code:
hexRef8 : Dumping cell as obj to "/temp-4/sb/calcs/wigley_fsi_short/OF/meshgen/cell_4053.obj"


--> FOAM FATAL ERROR: 
cell 4053 of level 0 uses more than 8 points of equal or lower level
Points so far:8(4467 4468 4498 4499 4963 4964 4994 4995)

    From function hexRef8::setRefinement(const labelList&, polyTopoChange&)
    in file polyTopoChange/polyTopoChange/hexRef8.C at line 3500.

FOAM aborting
The cell in question is at the border of the refinement and therefore consists of more than 8 points. Can't snappy handle this case? Is there a nice alternative to have a finer mesh before snappy without massively increasing the number of cells?

Looking forward to your suggestions
Silvan

PS: I tried both OF 2.0 and 2.1.0
PPS: Due to the file size restriction I can't upload the stl - the wigley hull from the tutorial can be used
Attached Files
File Type: zip meshgen_wigley.zip (10.4 KB, 40 views)
s_braendli is offline   Reply With Quote

Old   July 26, 2013, 10:32
Default
  #2
Member
 
David GISEN
Join Date: Jul 2009
Location: Germany
Posts: 70
Rep Power: 17
David* is on a distinguished road
Hi everyone,

seems like this problem still persists in OF 2.2.0. I assume it appears when the topoSet is smaller than the domain.

Can someone somebody confirm this and or provide a solution?

For now I will use the order castellatedMesh - topoSet - refineMesh - snap.

Cheers!
David
wikstrom, andrejssab and FrankFlow like this.
David* 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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing peterhess OpenFOAM Meshing & Mesh Conversion 2 January 3, 2018 03:54
[mesh manipulation] multiple calls to refineMesh parallel w/ dict failing Regis_ OpenFOAM Meshing & Mesh Conversion 2 June 4, 2015 14:44
[snappyHexMesh] does SnappyHexMesh allows intersection of refinement regions douglasx OpenFOAM Meshing & Mesh Conversion 2 April 2, 2014 10:30
[snappyHexMesh] stitchMesh and snappyHexMesh gdbaldw OpenFOAM Meshing & Mesh Conversion 0 December 23, 2009 03:09


All times are GMT -4. The time now is 17:54.