|
[Sponsors] |
June 2, 2008, 03:03 |
1)
Description:
Using polySp
|
#1 |
New Member
Kerstin
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
1)
Description: Using polySpline in blockMeshDict with interpolating points not in-line gives only a straight line between start and end point. Old (OF 1.4.1, polySplineEdge.C, line 78): scalar interval = (N-3)/N; New: scalar interval = (N - scalar(3))/N; 2) Description: Depending on the operating system it may occur a problem with "readLabel(is), readLabel(is)" reading the labels of the two vertices the spline connects because it is not specified which label is read first. A suggestion that may help is to use another constructor of curvedEdge: Old (OF 1.4.1, polySplineEdge.C, line 132): curvedEdge(points,readLabel(is),readLabel(is)); New: curvedEdge(points,is); Kerstin |
|
June 2, 2008, 06:56 |
Hi Kerstin,
Thanks for the
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
Hi Kerstin,
Thanks for the corrections, I will put them in 1.5 Henry |
|
June 6, 2008, 14:04 |
Hi Kerstin,
thank you very
|
#3 |
New Member
Franz
Join Date: Mar 2009
Posts: 17
Rep Power: 17 |
Hi Kerstin,
thank you very much for that suggestion. It helped, we are now totally happy. It was a very good work to find that bug. How long have you searched for the solution ? I tried which result i get for example: label N = 12 label result = ( N-3 )/N leads to N = 0; But label result = ( N-scalar(3) )/N leads to N = 0.75 This is a strange thing, i thought a label is similar to an int. So again thank you very much for your effort. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bugs in fvcsurfaceIntegrate | su_junwei | OpenFOAM Bugs | 4 | July 7, 2013 11:29 |
Bugs in FFT | luca | OpenFOAM Bugs | 2 | January 27, 2009 16:40 |
Wiki - Bugs | Andy R | Main CFD Forum | 0 | July 25, 2008 14:15 |
bugs in starcd 4.06 | whitemelon | Siemens | 0 | July 11, 2008 07:26 |
starcd 3.24 has bugs? | whitemelon | Siemens | 6 | May 16, 2008 11:44 |