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

[blockMesh] Wedge shape meshing problem!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2014, 21:44
Question Wedge shape meshing problem!
  #1
New Member
 
Kerem Aydemir
Join Date: Jul 2014
Posts: 4
Rep Power: 12
aydemirk is on a distinguished road
Hi everyone. I am trying to build a wedged-shape(or you can say pyramid-shape) geometry like the one in Table 5.1 in the Manual. However I couldn't achieve this. I used the same structure given in the Manual 5.3.3 but I get an error as of below:
face 1 in patch 0 does not have neighbour cell face: 4(1 2 4 3)

I do not know what it means I checked my vertices and assigned them anti-clockwise. Here is a copy of this small mesh. Can you help me about it?

vertices
(
(0 0 0)
(11.18111 4.98 0)
(11.18111 -4.98 0)
(11.18111 -4.98 1.7)
(11.18111 4.498 1.7)
);

blocks
(
hex (0 1 2 2 3 4 4 3) (20 20 20) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
fixedWalls
{
type wall;
faces
(
(0 1 2 2)
(1 2 3 4)
(0 1 4 4)
(0 2 3 3)
);
}
fixedWalls
{
type empty;
faces
(
(3 4 4 3)
);
}

);
aydemirk is offline   Reply With Quote

Old   July 4, 2014, 05:22
Default
  #2
New Member
 
Victorien
Join Date: Jun 2014
Location: Grenoble, France
Posts: 4
Rep Power: 12
Victorien is on a distinguished road
Hello,

I'm new to OpenFOAM but I tried to understand your problem.

I think the fifth coord is 4.98 (instead of 4.498). Then which form do you want to create with 5 points ? I thought it could be only the pyramid or the tet-wedge (according to the user guide).

And another issue is that the number of faces have to be lower than the number of vertices. (One more time, I guess, except if you create internal faces)

Maybe someone else can respond...

Victorien
Victorien is offline   Reply With Quote

Old   July 7, 2014, 17:06
Default
  #3
New Member
 
Kerem Aydemir
Join Date: Jul 2014
Posts: 4
Rep Power: 12
aydemirk is on a distinguished road
Quote:
Originally Posted by Victorien View Post
Hello,

I'm new to OpenFOAM but I tried to understand your problem.

I think the fifth coord is 4.98 (instead of 4.498). Then which form do you want to create with 5 points ? I thought it could be only the pyramid or the tet-wedge (according to the user guide).

And another issue is that the number of faces have to be lower than the number of vertices. (One more time, I guess, except if you create internal faces)

Maybe someone else can respond...

Victorien
Thank you Victorien. It was a typo mistake with the correct number I still got the error however that was only to see something else. Now I changed the structure and trying to build a mesh for a wind tunnel but thank you for the help.
aydemirk is offline   Reply With Quote

Old   August 20, 2014, 11:50
Default
  #4
New Member
 
Join Date: Jul 2014
Posts: 22
Rep Power: 12
jokerito is on a distinguished road
problem was in the definiton of the hex block. It should work, if you use this code:

Code:
vertices
(
    (0 0 0)
    (11.18111 4.98 0)
    (11.18111 -4.98 0)
    (11.18111 -4.98 1.7)
    (11.18111 4.98 1.7)
);

blocks
(
    //hex (0 1 2 2 3 4 4 3) (20 20 20) simpleGrading (1 1 1)
    hex (0 0 4 3 0 0 1 2) (20 20 20) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
    fixedWalls
    {
        type wall;
        faces
        (    
            (0 0 1 2)
            (0 0 2 3)
            (0 0 4 3)
            (0 0 1 4)
        );
    }
    fixedWalls
    {
        type empty;
        faces
        (
            (3 4 1 2)
        );
    }

);
jokerito is offline   Reply With Quote

Reply

Tags
blockmesh, cell face, coincidence, pyramid, wedge


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 with pipe flow simulation with wedge shaped domain and recirculation bubbles sahmed OpenFOAM Running, Solving & CFD 0 August 17, 2016 15:56
[ICEM] ICEM 3d meshing problem Eng.Mahmoud abd elsalam ANSYS Meshing & Geometry 0 June 25, 2016 00:16
[ANSYS Meshing] Problem with meshing a complex Geometry (Hex) fluent_beiyo ANSYS Meshing & Geometry 8 April 26, 2014 05:55
[ICEM] Meshing problem in Formula one Far ANSYS Meshing & Geometry 113 April 23, 2013 13:36
axisymmetric wedge case problem comedy_tigers88 OpenFOAM Running, Solving & CFD 0 June 16, 2012 05:45


All times are GMT -4. The time now is 13:34.