CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Problems using simpleSpline (https://www.cfd-online.com/Forums/openfoam/69998-problems-using-simplespline.html)

kokashking November 11, 2009 10:35

Problems using simpleSpline
 
3 Attachment(s)
Dear Foamers,

I have searched for related topics in forum, but all of them don't answer the question I have.

As I understood, there are some problems with simpleSpline in openFOAM 1.5.

with simpleSpline I got good shape, but the grid of cells is wrong. (i have also tried to change simpleGrading) :confused:

Attachment 1460

then I have made this trick with polySpline error from the thread http://www.cfd-online.com/Forums/ope...e-problem.html and got a normal grid.

Attachment 1461

But for my optimisation algorithm use of this trick, that is based or error, is not the best way, because the grid should be created automatically, and there should be only a few (2-3) parameters, that will be changed.

So I have a question to the people, who have more experience with openFOAM. ;) Can I solve this problem with blockMesh, OF 1.6 or it's better to use some others pre-processors like Gmsh?

TIA

Ivan

P.S. Here is the original blockMeshDict with simpleSpline
Attachment 1462

olesen November 12, 2009 03:29

Quote:

Originally Posted by kokashking (Post 235859)
Dear Foamers,

I have searched for related topics in forum, but all of them don't answer the question I have.

As I understood, there are some problems with simpleSpline in openFOAM 1.5.
...

Some of the spline stuff is a bit better in OpenFOAM-1.6.x, but if you read this thread http://www.cfd-online.com/Forums/openfoam-bugs/68862-polyspline-violates-convex-hull-property.html, you'll see that there are likely still some issues. Note that simpleSpline and polySpline both use the BSpline class so much of this will also apply to your situation I believe.


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