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

[blockMesh] problem with the ellipse curvededge

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2011, 21:25
Question problem with the ellipse curvededge
  #1
New Member
 
AlvinXu
Join Date: Nov 2009
Posts: 15
Rep Power: 16
alvin11 is on a distinguished road
I want to use the ellipse curvededge and I write a simple test, the blockMeshDict is as follows

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
(1.2 0 -0.05)
(2 0 -0.05)
(2 0.42426 -0.05)
(0.84853 0.42426 -0.05)
(2 2 -0.05)
(0.84853 2 -0.05)
(0 2 -0.05)
(0 0.6 -0.05)

(1.2 0 0.05)
(2 0 0.05)
(2 0.42426 0.05)
(0.84853 0.42426 0.05)
(2 2 0.05)
(0.84853 2 0.05)
(0 2 0.05)
(0 0.6 0.05)
);

blocks
(
hex (0 1 2 3 8 9 10 11) (10 10 1) simpleGrading (1 1 1)
hex (3 2 4 5 11 10 12 13) (10 10 1) simpleGrading (1 1 1)
hex (7 3 5 6 15 11 13 14) (10 10 1) simpleGrading (1 1 1)
);

edges
(
ellipse 7 3 (0 0 -0.05) 0.86603
ellipse 3 0 (0 0 -0.05) 0.86603
ellipse 15 11 (0 0 0.05) 0.86603
ellipse 11 8 (0 0 0.05) 0.86603
);

patches
(

symmetryPlane down
(
(0 1 9 8)
)
symmetryPlane up
(
(6 5 13 14)
(5 4 12 13)
)
symmetryPlane ellipse
(
(7 3 11 15)
(3 0 8 11)
)
patch left
(
(6 7 15 14)
)
patch right
(
(4 2 10 12)
(2 1 9 10)
)

);

mergePatchPairs
(
);

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

and then I type blockMesh

it give some errors

Create time


Creating block mesh from
"/home/alvin/Linux/OpenFOAM/doctor/ellipse/constant/polyMesh/blockMeshDict"


Creating blockCorners

Creating curved edges


--> FOAM FATAL ERROR:
Root is not bracketed. f(x0) = -0.389993 f(x1) = -0.360002

From function Foam::scalar Foam::BisectionRoot<Func>::root
(
const scalar x0,
const scalar x1
) const
in file /home/alvin/OpenFOAM/OpenFOAM-1.6-ext/src/ODE/lnInclude/BisectionRoot.C at line 78.

FOAM aborting

Aborted

can someone help me ,
can someone give a case with the ellipse edge
alvin11 is offline   Reply With Quote

Old   March 2, 2015, 05:12
Default problem with the ellipse curvededge
  #2
New Member
 
Sam-CFD's Avatar
 
Sam Mathew
Join Date: Apr 2010
Location: India
Posts: 19
Rep Power: 15
Sam-CFD is on a distinguished road
Hi,

Have you found a solution to this problem?

I am presently using Foam-Extend 3.1 and am struggling with creating an elliptic edge.

Sam

--------------------------
Creating curved edges


--> FOAM FATAL ERROR:
Root is not bracketed. f(x0) = -1.87498 f(x1) = -1.20396e-05

From function Foam::scalar Foam::BisectionRoot<Func>::root
(
const scalar x0,
const scalar x1
) const

Last edited by Sam-CFD; March 2, 2015 at 05:15. Reason: adding the error message
Sam-CFD is offline   Reply With Quote

Old   March 2, 2015, 05:33
Default blockMesh: Elliptic edge example
  #3
New Member
 
Sam-CFD's Avatar
 
Sam Mathew
Join Date: Apr 2010
Location: India
Posts: 19
Rep Power: 15
Sam-CFD is on a distinguished road
Does anyone have an example case of blockMeshDict with an elliptic edge?

Sam
Sam-CFD is offline   Reply With Quote

Old   March 6, 2015, 05:39
Default
  #4
Member
 
Alexander Bartel
Join Date: Feb 2015
Location: Germany
Posts: 97
Rep Power: 11
alexB is on a distinguished road
Hi Sam,

I have just an example with an circular arc, but an elliptic edge should work in nearly the same way.

Is the simpleSpline like in the dokumentation (http://www.openfoam.org/docs/user/blockMesh.php) right for you?
You just have to set the right interpolation points.

greetings
Alex
alexB is offline   Reply With Quote

Old   July 29, 2016, 18:04
Default
  #5
New Member
 
Join Date: Jun 2014
Posts: 22
Rep Power: 11
chun is on a distinguished road
Dear Sam,

I recently have the same question and find a way to build it. Are you still interested about this? This attached picture is my mesh.
Attached Images
File Type: jpg mesh.jpg (190.8 KB, 98 views)
chun is offline   Reply With Quote

Old   December 1, 2017, 06:41
Default
  #6
New Member
 
Kazakis Ioannis
Join Date: Sep 2016
Location: Thessaloniki, Greece
Posts: 24
Rep Power: 9
Giannis_Kaz is on a distinguished road
Quote:
Originally Posted by chun View Post
Dear Sam,

I recently have the same question and find a way to build it. Are you still interested about this? This attached picture is my mesh.

Dear Chun

I would be greatfull if you could provide me the way you build the mesh with the ellipse

Regards
John
Giannis_Kaz 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
BuoyantBoussinesqSimpleFoam_Facing problem Mondal131211 OpenFOAM Running, Solving & CFD 1 April 10, 2019 19:41
[Other] engineFoam new mesh problem ayhan515 OpenFOAM Meshing & Mesh Conversion 5 August 10, 2015 08:45
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


All times are GMT -4. The time now is 22:55.