CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

how to rectify the error for flow around a cylinder:Arc error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2021, 14:37
Default how to rectify the error for flow around a cylinder:Arc error
  #1
New Member
 
manish
Join Date: Jul 2019
Posts: 10
Rep Power: 7
m.dhiman is on a distinguished road
From void Foam::blockEdges::arcEdge::calcFromMidPoint(const point&, const point&, const point&)
in file blockEdges/arcEdge/arcEdge.C at line 66.




Please find below the blockMeshDict file. Please let me know where I am doing wrong






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

convertToMeters 0.1;


vertices
(
// pre-block -0.5<z<0.5
(-4 -1.5 0.5)// vertex 0
(-2 -1.5 0.5)// vertex 1
(-2 -1.5 -0.5)// vertex 2
(-4 -1.5 -0.5) // vertex 3

(-4 1.5 0.5)// vertex 4
(-2 1.5 -0.5)// vertex 5
(-2 1.5 -0.5) //vertex 6
(-4 1.5 -0.5)// vertex 7


// obstacle blocks
// bottom
(-2 -1.5 0.5)//vertex 8
(-2 -1.5 -0.5)//vertex 9
(-0.212725 -0.212725 0.5)//vertex10
(0.212725 -0.212725 0.5)//vertex11
(0.212725 -0.212725 -0.5)//vertex12
(-0.212725 -0.212725 -0.5) //vertex13
// left
(-0.212725 -0.212725 0.5)// vertex 14
(-0.212725 0.212725 -0.5)// vertex 15

// top
(0.212725 0.212725 0.5)// vertex 16
(0.212725 0.212725 -0.5)// vertex 17
(2 1.5 0.5)// vertex 18
(2 1.5 -0.5) // vertex 19
// right

// all the vertices are already defined


// post-block
(8 -1.5 0.5)// vertex 20
(8 -1.5 -0.5) // vertex 21
(8 1.5 0.5)// vertex 22
(8 1.5 -0.5)// vertex 23



);

blocks
(
// pre-block
hex ( 0 1 2 3 4 5 6 7) ( 60 1 30) simpleGrading (1 1 1)

// obstacle blocks
hex ( 1 8 9 2 10 11 12 13) ( 30 1 30) simpleGrading (1 1 1) // bottom
hex ( 1 10 13 2 5 14 15 6) ( 30 1 30) simpleGrading (1 1 1) // left
hex (14 16 17 15 5 18 19 6) ( 30 1 30) simpleGrading (1 1 1) // top
hex (11 8 9 12 16 18 19 17) ( 30 1 30) simpleGrading (1 1 1) // right

// post-block
hex ( 8 20 21 9 18 22 23 19) (180 1 30) simpleGrading (1 1 1)
);

edges
(
arc 10 11 ( 0 -0.25 0.5)
arc 12 13 ( 0 -0.25 -0.5)
arc 14 10 (-0.25 0 0.5)
arc 15 13 (-0.25 0 -0.5)
arc 14 16 ( 0 0.25 0.5)
arc 15 17 ( 0 0.25 -0.5)
arc 16 11 ( 0.25 0 0.5)
arc 17 12 ( 0.25 0 -0.5)
);

boundary
(
inlet
{
type patch;
faces
(
( 0 4 7 3)
);
}
outlet
{
type patch;
faces
(
(20 21 23 22)
);
}
wall
{
type wall;
faces
(
( 4 5 6 7)
( 5 18 19 6)
(18 22 23 19)

( 0 1 2 3)
( 1 8 9 2)
( 8 20 21 9)
);
}
obstacle
{
type wall;
faces
(
(10 11 12 13)
(11 16 17 12)
(14 16 17 15)
(10 14 15 13)
);
}
frontAndBack
{
type empty;
faces
(
( 0 1 5 4)
( 1 10 14 5)
(14 16 18 5)
(11 8 18 16)
( 1 8 11 10)
( 8 20 22 18)

( 3 7 6 2)
( 2 6 15 13)
(15 6 19 17)
(12 17 19 9)
( 2 13 12 9)
( 9 19 23 21)
);
}
);

mergePatchPairs
(
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
m.dhiman 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 with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 07:35
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 21:30
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


All times are GMT -4. The time now is 01:33.