CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How to find detail on the spline implementation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2005, 04:37
Default Dear all, I need to create
  #1
Senior Member
 
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17
panara is on a distinguished road
Dear all,

I need to create a new mesh using splines...

Where I can found the details about the implementation of simpleSpline and polySpline ??

when I use polySpline with the control point that I have I get a segmentation fault.

When I use simpleSpline instead the curve is created but for some reasons even if my interpolation points have x coordinates in the range of my starting and ending point I get a curve with x values outside this range that mess up the grid

Thanks in advance,

Daniele
panara is offline   Reply With Quote

Old   March 31, 2005, 05:03
Default The implementation of splines
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
The implementation of splines in blockMesh is in OpenFOAM-1.1/applications/utilities/mesh/generation/blockMesh/curvedEdges
Unfortunately they haven't been used much and therfore not well tested. Please let us know if you make any improvements to the implementation and it would also be useful to have a few more interesting test meshes using splines that we can distribute with blockMesh.
henry is offline   Reply With Quote

Old   September 15, 2006, 12:51
Default Can you please report a bug fo
  #3
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Can you please report a bug for this?

Thanks
mattijs is offline   Reply With Quote

Old   September 18, 2006, 01:54
Default Will do
  #4
olle_bodin
Guest
 
Posts: n/a
Will do
  Reply With Quote

Old   May 2, 2008, 03:22
Default Can I ask if the polySpline co
  #5
New Member
 
Samuel Pang
Join Date: Mar 2009
Posts: 15
Rep Power: 17
gemaforce is on a distinguished road
Can I ask if the polySpline command has been fixed for OpenFOAM 1.4.1 already? I have been trying to plot a polySpline, but I'm still getting segmentation errors. And similar to Olle, if it has been changed to polyLine, it works fine. Is there any way I can draw a smooth curve still?

Thanks
Samuel
gemaforce is offline   Reply With Quote

Old   May 2, 2008, 04:22
Default The blockMeshDict posted above
  #6
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
The blockMeshDict posted above does not contain the start and end point after the control points. (See blockMesh/curvedEdges/polySplineEdge.C where it reads the controlpoints and then two extra points) I have not used splines so cannot help you with their meaning.
mattijs is offline   Reply With Quote

Old   July 10, 2008, 11:37
Default Hi, the two vectors at the e
  #7
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
andersking is on a distinguished road
Hi,
the two vectors at the end of the points list are the starting and ending gradient of the curve. Also, the code has a bug in it (you will always end up with a straight line) The workaround given in the following thread.

http://www.cfd-online.com/OpenFOAM_D.../126/7880.html

Cheers,
Andrew
__________________
Dr Andrew King
Fluid Dynamics Research Group
Curtin University
andersking is offline   Reply With Quote

Old   December 3, 2008, 11:47
Default Hallo, the workaround is inte
  #8
Senior Member
 
Wolfgang Heydlauff
Join Date: Mar 2009
Location: Germany
Posts: 136
Rep Power: 21
wolle1982 will become famous soon enough
Hallo,
the workaround is integrated in OF-1.5. But as I see, it still doesn't work right. Please help on that and see the examplecase in
http://www.cfd-online.com/OpenFOAM_D...6574#POST29425

Thanks.
wolle1982 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
RhoCentralFoam detail alberto OpenFOAM Running, Solving & CFD 42 January 25, 2024 05:05
how to get the detail information about k-e models limingtiger Siemens 1 July 15, 2005 05:22
tell me the detail step for parallelsolver in cfx4 S. Ding CFX 3 June 14, 2002 14:09
What is the detail definition of wall shear stress zjm FLUENT 0 January 2, 2002 08:43
HVN tell me the detail of relative pressure chong chee nan FLUENT 1 January 2, 2002 05:55


All times are GMT -4. The time now is 01:13.