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

[blockMesh] blockMesh adds wrong defaultfaces

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By KlausR

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2014, 21:25
Default blockMesh adds wrong defaultfaces
  #1
New Member
 
Klaus R Menschig
Join Date: Jan 2014
Posts: 3
Rep Power: 12
KlausR is on a distinguished road
I have built a 2D truncated cone with alll faces defined, but after I ran blockMesh it added 6 defaultfaces which cause a high skewness which prevents pimpleFoam to run. The 6 faces seem to be constructed between the front and back planes, which I do not understand why it happened. Are my coordinates not precise enough. The cone has a 54 degree angle at the bottom corners and the different vertices coordinates have many digits. I tried to construct a polyLine at the points in question, but it did not help it either. If I run a 45 degree angled cone I do not have any problem and all coordinate numbers are integers. How can I overcome this problem?
Attached Images
File Type: jpg emptyFaces.jpg (50.8 KB, 22 views)
File Type: jpg with_defaultFaces.jpg (11.5 KB, 16 views)
Attached Files
File Type: txt blockMeshDict.txt (4.6 KB, 16 views)
File Type: txt log.txt (2.3 KB, 5 views)
KlausR is offline   Reply With Quote

Old   August 16, 2014, 11:44
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Klaus and welcome to the forum!

Sorry for the late reply, but only today did I manage to get around to look into your question.

I've taken a somewhat quick look at your "blockMeshDict" and didn't have the time to further diagnose the problem. The best I can do is suggest the following:
  • Use the following command:
    Code:
    paraFoam -block
    It will help you visually diagnose the "blockMeshDict" you have.
    For more tips on this point of view, have a look at this wiki page: http://openfoamwiki.net/index.php/BlockMesh
  • The way you collapsed the edges for the blocks that are "wedges" seems a bit strange to me, when compared to the User Guide: http://www.openfoam.org/docs/user/blockMesh.php:
    Quote:
    hex (0 1 2 3 4 5 5 4)
    In comparison, you have this:
    Code:
    hex (12 13 17 17 32 33 37 37)
    By collapsing the edges too far apart, you might be leading blockMesh into this situation where its not able to properly generate all of the blocks and to merge them.
  • You might want to try generating the mesh with only 1 or 2 cells per block, so that it reduces the numerical complexity, at least during a trial-and-error phase.
Best regards,
Bruno


PS: I moved your thread from the technical meshing sub-forum to this "blockMesh" sub-forum, since this is clearly an issue in using blockMesh
__________________
wyldckat is offline   Reply With Quote

Old   September 2, 2014, 14:13
Default blockMesh adds wrong defaultfaces
  #3
New Member
 
Klaus R Menschig
Join Date: Jan 2014
Posts: 3
Rep Power: 12
KlausR is on a distinguished road
Hi Bruno,

thank you for your review and reply. I had analysed the mesh with paraFoam -block, but I could not really identify solutions to what it showed. Concerning the collapsing, I had just followed the instructions in the user guide for building the blocks which is always in the order of back plane vertices first and then the ones from the front plane. Therefore the resulting block:

hex (12 13 17 17 32 33 37 37).

Your suggestion to manually introduce more blocks at the edges is helpful. I had thought about it too, but did not apply it because of the higher number of vertices and more typing. I was able to have the program find a solution by defining ALL empty faces in the blockMeshDict file and not have blockMesh determine them automatically.

- Klaus
wyldckat likes this.
KlausR is offline   Reply With Quote

Reply

Tags
blockmesh, defaultfaces, skewness


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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
[blockMesh] Multi-region Blockmesh - Refinemesh issues. Doug68 OpenFOAM Meshing & Mesh Conversion 0 February 17, 2016 03:39
meshing of a compound volume in GMSH shawn3531 OpenFOAM 4 March 12, 2015 10:45
[blockMesh] set of xyz data in blockMesh psk OpenFOAM Meshing & Mesh Conversion 12 August 27, 2013 08:37
Blockmesh problem with more than one block sven82 OpenFOAM Pre-Processing 1 June 4, 2013 17:08


All times are GMT -4. The time now is 23:51.