CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

problem with the ellipse curvededge

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 5, 2011, 22:25
Question problem with the ellipse curvededge
  #1
New Member
 
AlvinXu
Join Date: Nov 2009
Posts: 15
Rep Power: 7
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, 06: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: 7
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 06:15. Reason: adding the error message
Sam-CFD is offline   Reply With Quote

Old   March 2, 2015, 06: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: 7
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, 06:39
Default
  #4
Member
 
Alexander Bartel
Join Date: Feb 2015
Location: Germany
Posts: 96
Rep Power: 2
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

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Incoherent problem table in hollow-fiber spinning Gianni FLUENT 0 April 5, 2008 10:33
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
convergence problem Trushar Phoenics 5 August 27, 2002 23:40


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