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

[blockMesh] Wierd behaviour of blockMesh creating axis in wedge

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2018, 06:17
Default Wierd behaviour of blockMesh creating axis in wedge
  #1
Senior Member
 
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 109
Rep Power: 17
rcastilla is on a distinguished road
Hi, everybody,


I am facing a weird behavior of blockMesh that is puzzling me .


I have vortices, a block and the axis patch defined in this way:
Code:
convertToMeters 0.001;

vertices
(
    (              49   1.37369130467505 -0.059976657627337 )  
    (              57   1.37369130467505 -0.059976657627337 )  
    (              49                 0                  0 )  
    (              57                  0                  0 )  
    (              49   1.37369130467505  0.059976657627337 )  
    (              57   1.37369130467505  0.059976657627337 ) 


edges
(
);

blocks
(
    hex (2 3 1 0 2 3 5 4) b2 (25 25 1) simpleGrading (1 1 1) 
);

boundary
(
    axis
    {
        type empty;
        faces
        (
            (2 3 3 2)  
        );
     }
);
everything is ok, and the axis is created correctly;


Code:
Patches
----------------
  patch 0 (start: 1200 size: 0) name: axis
  patch 1 (start: 1200 size: 1325) name: defaultFaces
BUT if I change only the x-coordinate of the first axis vertex:


Code:
vertices
(
    (              49   1.37369130467505 -0.059976657627337 ) 
    (              57   1.37369130467505 -0.059976657627337 )  
    (              49.91                 0                  0 ) 
    (              57                  0                  0 )  
    (              49   1.37369130467505  0.059976657627337 ) 
    (              57   1.37369130467505  0.059976657627337 )  
);
blockMesh creates 2 faces in the axis patch.


Code:
Patches
----------------
  patch 0 (start: 1200 size: 2) name: axis
  patch 1 (start: 1202 size: 1325) name: defaultFaces
These faces are, approx, in the middle of the axis and have zero area. And, of course, it avoids to run any simulation.


Also, it depends of discretization as well. If the 25 cells are replaced by 26, the mesh is correct again.


Does have anybody any clue about the reason of this behavior? How to avoid it? Is it a bug of blockMesh?


Looking forward for your comments.


Best regards


Robert
rcastilla is offline   Reply With Quote

Old   December 4, 2018, 06:24
Default
  #2
Senior Member
 
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 109
Rep Power: 17
rcastilla is on a distinguished road
Hi,

I have seen now that there is a similar issue, 3 years old, in the OF issue tracking system


https://bugs.openfoam.org/view.php?id=1443#c3970


And it is marked by solved, but I cannot find the solution...


Best regards


Robert
rcastilla 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
[blockMesh] blockMesh coordinate system pardoa OpenFOAM Meshing & Mesh Conversion 5 October 23, 2023 13:29
rhoPimpleFoam hardship petrus OpenFOAM Running, Solving & CFD 0 October 7, 2016 02:41
[blockMesh] Fatal Error at blockMesh Generation - wedge hiasl OpenFOAM Meshing & Mesh Conversion 1 October 17, 2012 09:47
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Trouble with blockMesh kupiainen OpenFOAM Meshing & Mesh Conversion 40 January 10, 2009 17:44


All times are GMT -4. The time now is 04:46.