CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

BlockMesh trouble

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2006, 10:26
Default Hi, I am trying to build a m
  #1
Member
 
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17
r2d2 is on a distinguished road
Hi,
I am trying to build a mesh with blockMesh uitlity and I experience problems, which of course I cannot understand. Can anyone give me some help. The file reads:

convertToMeters 0.001;

vertices
(

//front face
(10.65506 0 0 ) //0
(36.3275 0 0 ) //1
(62.000 0 0 ) //2
(0.6049989 0 149.) //3
(9.2265 0 149.) //4
(17.848 0 149.) //5


//back face
(10.65506 -1 149.) //6
(36.3275 -1 149.) //7
(62.000 -1 149.) //8
(0.6049989 -1 149.) //9
(9.2265 -1 149.) //10
(17.848 -1 149.) //11



);

blocks
(
hex (0 1 7 6 3 4 10 9)(5 1 10) simpleGrading (1 1 1)
hex (1 2 8 7 4 5 11 10)(5 1 10) simpleGrading (1 1 1)

);

edges
(

// back face curved borders
simpleSpline 6 9 (
(10.51662441 -1 50 )
(8.090720476 -1 100 )
(3.585568007 -1 125 )
)

simpleSpline 7 10 (
(35.0658 -1 50 )
(20.8664 -1 100)
(12.2133 -1 125)
)

simpleSpline 8 11 (
(59.615 -1 50 )
(33.642 -1 100)
(20.841 -1 125 )
)

// fron face curved borders
simpleSpline 0 3 (
(10.51662441 0 50)
(8.090720476 0 100)
(3.585568007 0 125 )
)

simpleSpline 1 4 (
(35.0658 0 50 )
(20.8664 0 100 )
(12.2133 0 125 )
)

simpleSpline 2 5 (
(59.615 0 50 )
(33.642 0 100 )
(20.841 0 125)
)

);

patches
(

patch inlet
(
(0 6 7 1)
(1 7 8 2)
)

patch outlet
(
(3 4 10 9)
(4 5 11 10)
)

wall upperWall
(
(2 8 11 5)
)

wall lowerWall
(
(0 3 9 6)
)


empty frontAndBack
(
(0 1 4 3)
(1 2 5 4)
(6 7 10 9)
(7 8 11 10)
)

);

mergePatchPairs
(
);

Cheers,
Radu
r2d2 is offline   Reply With Quote

Old   January 16, 2006, 10:29
Default Can you tell us what the probl
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
Can you tell us what the problem is and what message you get form the code?

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   January 16, 2006, 10:51
Default You have probably messed up so
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
You have probably messed up some part of spline definition.

Try commenting out the edges part of the blockMeshDict and introduce edges one at a time to see what effect they get - it will become obvious which one's wrong.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak 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
Possible bug in blockMesh benru OpenFOAM Bugs 16 August 17, 2013 20:54
Bug in blockMesh feymark OpenFOAM Bugs 8 March 24, 2009 23:11
[blockMesh] BlockMesh problem pratap OpenFOAM Meshing & Mesh Conversion 21 February 16, 2009 07:32
[blockMesh] Trouble with blockMesh kupiainen OpenFOAM Meshing & Mesh Conversion 40 January 10, 2009 18:44
[blockMesh] BC with blockMesh ville OpenFOAM Meshing & Mesh Conversion 1 December 4, 2006 06:11


All times are GMT -4. The time now is 16:27.