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

blockMeshDict of airfoil in circular rotor

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2019, 08:23
Smile blockMeshDict of airfoil in circular rotor
  #1
New Member
 
Sanket
Join Date: Oct 2018
Location: Germany
Posts: 3
Rep Power: 7
sanket1527 is on a distinguished road
Hello CFD Online family

I am used to being familiar with OpenFOAM. I am making NACA0018 Airfoil in rotor but i got the error below:

--> FOAM FATAL ERROR:
Invalid arc definition - are the points co-linear? Denom =0

From function cylindricalCS arcEdge::calcAngle()
in file curvedEdges/arcEdge.C at line 55.

Could some please explain this error? It would be a great help.

I attach my blockDictMesh file.

convertToMeters 1;

vertices
(
// R circle front
(-1.4148 -1.4148 0) //0
( 1.4148 -1.4148 0) //1
( 1.4148 1.4148 0) //2
(-1.4148 1.4148 0) //3
(0 0 0) //4
(0.1000 0.07024 0) //5
(0.1000 -0.07024 0) //6
(1 0.00189 0) //7
(1 -0.00189 0) //8


// R circle back
(-1.4148 -1.4148 1) //9
( 1.4148 -1.4148 1) //10
( 1.4148 1.4148 1) //11
(-1.4148 1.4148 1) //12
(0 0 1) // 13
(0.1000 0.07024 1) //14
(0.1000 -0.07024 1) //15
(1 0.00189 1) //16
(1 -0.00189 1) //17
);



blocks
(
hex (0 6 5 3 9 15 14 12) (10 10 1) simpleGrading (1 1 1) //0
hex (0 1 8 6 9 10 17 15) (10 10 1) simpleGrading (1 1 1) //1
hex (1 2 7 8 10 11 16 17) (10 10 1) simpleGrading (1 1 1) //2
hex (2 3 5 7 11 12 14 16) (10 10 1) simpleGrading (1 1 1) //3



);

edges
(
spline 4 5
(
(0.0125 0.02841 0)
(0.0250 0.03922 0)
(0.0500 0.05332 0)
(0.0750 0.06300 0)
)

spline 5 7
(
(0.1500 0.08018 0)
(0.2000 0.08606 0)
(0.2500 0.08912 0)
(0.3000 0.09003 0)
(0.4000 0.08705 0)
(0.5000 0.07941 0)
(0.6000 0.06845 0)
(0.7000 0.05496 0)
(0.8000 0.03935 0)
(0.9000 0.02172 0)
(0.9500 0.01210 0)
)

spline 4 6
(
(0.0125 -0.02841 0)
(0.0250 -0.03922 0)
(0.0500 -0.05332 0)
(0.0750 -0.06300 0)
)

spline 6 8
(
(0.1500 -0.08018 0)
(0.2000 -0.08606 0)
(0.2500 -0.08912 0)
(0.3000 -0.09003 0)
(0.4000 -0.08705 0)
(0.5000 -0.07941 0)
(0.6000 -0.06845 0)
(0.7000 -0.05496 0)
(0.8000 -0.03935 0)
(0.9000 -0.02172 0)
(0.9500 -0.01210 0)
)

arc 7 8 (1 0 0)

spline 13 14
(
(0.0125 0.02841 1)
(0.0250 0.03922 1)
(0.0500 0.05332 1)
(0.0750 0.06300 1)
)

spline 14 16
(
(0.1500 0.08018 1)
(0.2000 0.08606 1)
(0.2500 0.08912 1)
(0.3000 0.09003 1)
(0.4000 0.08705 1)
(0.5000 0.07941 1)
(0.6000 0.06845 1)
(0.7000 0.05496 1)
(0.8000 0.03935 1)
(0.9000 0.02172 1)
(0.9500 0.01210 1)
)

spline 13 15
(
(0.0125 -0.02841 1)
(0.0250 -0.03922 1)
(0.0500 -0.05332 1)
(0.0750 -0.06300 1)
)

spline 15 17
(
(0.1500 -0.08018 1)
(0.2000 -0.08606 1)
(0.2500 -0.08912 1)
(0.3000 -0.09003 1)
(0.4000 -0.08705 1)
(0.5000 -0.07941 1)
(0.6000 -0.06845 1)
(0.7000 -0.05496 1)
(0.8000 -0.03935 1)
(0.9000 -0.02172 1)
(0.9500 -0.01210 1)
)

arc 16 17 (1 0 1)

arc 0 3 (-2 0 0)
arc 3 2 (0 2 0)
arc 2 1 (2 0 0)
arc 1 0 (0-2 0)

arc 9 12 (-2 0 1)
arc 12 11 (0 2 1)
arc 11 10 (2 0 1)
arc 10 9 (0-2 1)
);

boundary
(
inlet
{
type patch;
faces
(
(0 3 12 9)

);
}
outlet
{
type patch;
faces
(
(1 10 2 11)

);
}

frontAndBack
{
type empty;
faces
(
(0 6 5 3) //front
(0 1 8 6)
(1 2 7 8)
(2 3 5 7)

(9 15 14 12) // back
(9 10 17 15)
(10 11 16 17)
(11 12 14 16)

(2 11 12 3) // top
(0 9 10 1) // bottom
);
}

);

mergePatchPairs
(
);
sanket1527 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
Wave Rotor simulation popezmark OpenFOAM 8 February 4, 2014 18:00
Contra rotating rotor simulation using mixing plane method venkat_aero2007 FLUENT 1 August 29, 2012 05:36
coordinates of an airfoil of stator and rotor blade ghaithhabbal Main CFD Forum 0 December 31, 2011 12:28
[GAMBIT] Meshing airfoil using .dat file problem creggie ANSYS Meshing & Geometry 10 June 27, 2010 19:24
Airfoil boundary condition Frank Main CFD Forum 1 April 21, 2008 18:36


All times are GMT -4. The time now is 23:24.