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

[blockMesh] making mesh with 6 vertices to a horizontal axis wind turbine blade

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2019, 08:46
Default making mesh with 6 vertices to a horizontal axis wind turbine blade
  #1
New Member
 
mostafa kamal
Join Date: Jun 2019
Posts: 16
Rep Power: 6
mostafa kamal is on a distinguished road
hello everyone
iam trying to make a mesh domain as in 2.png using blockmesh ,but with 6 vertices instead of 8 vertices
i did so using the documentation of blockmesh utility but when i view the mesh on paraview it appears as shown in figures in the inlet and outlet there is a fine mesh at vertex 4 as shown
when i make checkmesh it tells me that the most of the mesh(7600) is hexahedra and a few is prisms (only 400)

my blockmeshDict is
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
( 0.000 0.000 0.000) // vertrex no 0
( 0.000 0.000 -110)
( -30 17.5 -110)
( -30 17.5 0.000)
( 30 17.5 0.000)
( 30 17.5 -110)



);

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

edges
(
arc 3 4 ( 0 35 0)
arc 2 5 ( 0 35 -110 )
);

boundary
(
inlet
{
type patch;
faces
(
(0 4 4 3)
);
}
outlet
{
type patch;
faces
(
(5 1 2 5)
);
}

outerWall
{
type wall;
faces
(
(3 4 5 2)
);
}
cyclic_half0
{
type cyclic;
neighbourPatch cyclic_half1;
transform rotational;
rotationAxis (0 0 1);
rotationCentre (0 0 0);
faces
(
(1 0 3 2 )
);
}
cyclic_half1
{
type cyclic;
neighbourPatch cyclic_half0;
transform rotational;
rotationAxis (0 0 1);
rotationCentre (0 0 0);
faces
(
(0 1 5 4)
);
}
);

mergeMatchPairs
(
);

// ************************************************** *********************** //


how can i solve this problem to make a uniform mesh as i dersire ?
thank you
Attached Images
File Type: png 1.png (177.0 KB, 27 views)
File Type: jpg 2.jpg (17.7 KB, 21 views)
File Type: png 3.png (100.1 KB, 21 views)
File Type: png 4.png (107.4 KB, 20 views)
File Type: png 5.png (138.5 KB, 17 views)
mostafa kamal is offline   Reply With Quote

Old   July 8, 2019, 02:57
Default
  #2
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 7
yambanshee is on a distinguished road
You are collapsing on the wrong vertices. Where you define your block
Code:
hex ( 0 1 2 3 4 5 5 4 ) (20 20 20) simpleGrading (1 1 1)
you can see that the repeating vertices that you use are 4 and 5, which corresponds to the vertices on the top right of your block.

Based on your description, you want to collapse the vertices 0 and 1, and so your block needs to be rewritten as

Code:
hex ( 5 4 3 2 1 0 0 1 ) (20 20 20) simpleGrading (1 1 1)
Edit:
Your inlet and outlet patches also look wrongly defined. You might need to edit these
yambanshee is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[ANSYS Meshing] How to properly mesh whole wind turbine (structured mesh on curved geometries) rusham ANSYS Meshing & Geometry 3 February 16, 2020 14:29
simulation of horizontal axis wind turbine using openfoam mostafa kamal OpenFOAM Running, Solving & CFD 11 July 1, 2019 10:06
how much result margin could be acceptable for small horizontal axis wind turbine fr nouman95 CFD Freelancers 0 September 13, 2018 06:15
[ICEM] Mesh is leaking (hole) at trailing edge of wind turbine blade Shahzad123 ANSYS Meshing & Geometry 5 September 13, 2018 05:52
power coefficient Horizontal Axis wind turbine in fluent Ansys2015 FLUENT 0 June 26, 2015 04:14


All times are GMT -4. The time now is 08:18.