CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] SimpleSpline problem (https://www.cfd-online.com/Forums/openfoam-meshing/61768-simplespline-problem.html)

wolle1982 December 4, 2008 08:10

SimpleSpline problem
 
Hi,

a little tip:

replace the "simpleSpline" with "polySpline". add the start and end vector and afterwards a ";".

It must look like this:
================================
polySpline 2 14
(
(point1)
(point2)
(point3)
)
(0 0 0) (0 0 0);
===============================

blockMesh it. there will be an error. but it writes you the points out, that the polySpline would want to have. copy-paste them into blockMeshDict and replace the "polySpline" no with a "polyLine".
...maybe this is accurate enough for you.

I personally thin, there still is a bug in the polyLine. But till it is solved maybe you come along with my idea.

Greetz.

demichie December 9, 2008 04:31

Thank you. I will try with f
 
Thank you.
I will try with following your tip.

Mattia

kokashking November 6, 2009 09:49

Hmm...
 
3 Attachment(s)
Hallo

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

with simpleSpline I got good shape, but the grid of cells is wrong. (i have also tried to change simpleGrading) :confused:
then I have made this trick with polySpline error and got a normal grid.

But for my algorithm use of this trick, that is based or error, is not the best way.
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

Attachment 1438

Attachment 1439

Attachment 1440

ericnutsch December 10, 2009 19:20

I have run into the same problem, and haven't gotten to far in the other threads either:
http://www.cfd-online.com/Forums/ope...-commands.html
http://www.cfd-online.com/Forums/ope...g-airfoil.html

I am going to attempt to use gmsh. I was previously going to use netgen, but it cant regulate the cell size properly for cfd(good for FEA just not CFD).

Good Luck! :)


All times are GMT -4. The time now is 00:17.