|
[Sponsors] |
[blockMesh] Is simpleSpline working in OpenFOAM11 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 3, 2005, 17:42 |
Is simpleSpline working in OpenFOAM11
|
#1 |
Member
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 17 |
I tried to use simpleSpline in blockMeshDict to generate a curved edge and got a strange result.
Has anyone experiment with this? (Everything works fine with arc and polyLine, but when I switch to simpleSplines, I got problems: my generated mesh is weird) Is there any parameter to configure outside blockMeshDict? Thanks all, luiz |
|
October 4, 2005, 06:07 |
There are no parameters outsid
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
There are no parameters outside blockMeshDict. Might be a bug - it is not something a lot of people use.
Have a look at the source code in mesh/generation/blockMesh/curvedEdges/ |
|
October 4, 2005, 06:24 |
Remember, there are 2 kinds of
|
#3 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Remember, there are 2 kinds of splines: ones where you specify the control points but the spline does not go through them and another where you specify the points the spline should go through. Gavin will be able to tell you exactly, but I think that might be your problem.
The answer, of course, is the the source code for spline. The rest of blockMesh just grabs the point spacing from the edge and does block trans-finite mapping, so I don't believe anything is broken there. Enjoy, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
October 5, 2005, 07:44 |
Oh god... its been a really lo
|
#4 |
Senior Member
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 17 |
Oh god... its been a really long time since I wrote that bit of code! I can't even remember the source(s) I used to learn about splines - they are quite complicated.
Looking through the code quickly; my impression is that the spline implemented is a bspline which should go through the control points. I do also note that I implemented a class polySplineEdge which represents a spline as a series of straight lines through the control points - so I do wonder if there was some behaviour of the spline implementation that was not making sense at the time. I'm not sure I can be more help than that at this stage, but if you do track down the problem let me (us) know. Gavin |
|
November 2, 2011, 03:58 |
|
#5 |
Member
Join Date: Oct 2011
Posts: 37
Rep Power: 15 |
Hello together
If I try to use the polySplineEdge and compile my piece of code, I always get the error, that polySplineEdge is not declared. I used it like this: pointField polySpline = polySplineEdge(.....) I also tried to include the header-file of polySplineEdge but this does not work either. if I use: pointField polySpline = Foam:olySplineEdge(....) It tells me that polySplineEdge is not a member of Foam. But why? Isn't it described like this in Doxygen? Can anyone tell me how I can use this function? Thanks a lot |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
findCell() in parallel: not working if location is outside the domain | TobiWol | OpenFOAM | 0 | January 10, 2018 15:33 |
Processor 0 not working | vishwesh | OpenFOAM Running, Solving & CFD | 0 | November 17, 2017 04:35 |
DPM parallel is not working but serial is working | johnwinter | FLUENT | 1 | March 27, 2012 03:01 |
[blockMesh] BlockMesh problem | pratap | OpenFOAM Meshing & Mesh Conversion | 21 | February 16, 2009 07:32 |
OpenFOAM book | betakv | OpenFOAM | 5 | January 13, 2009 08:06 |