PGL issueshttps://gitlab.windenergy.dtu.dk/frza/PGL/-/issues2018-02-09T15:51:15Zhttps://gitlab.windenergy.dtu.dk/frza/PGL/-/issues/2AirfoilShape.s_to_01 gives negative values due to rounding error2018-02-09T15:51:15ZMalo RosemeierAirfoilShape.s_to_01 gives negative values due to rounding errorIn the upcoming `FEPROCWrapper` I have used the function `AirfoilShape.s_to_01` https://gitlab.windenergy.dtu.dk/frza/PGL/blob/master/PGL/components/airfoil.py#L195 in a similar manner as used in `BECASWrapper.cs2dtobecas`. After s_to_01...In the upcoming `FEPROCWrapper` I have used the function `AirfoilShape.s_to_01` https://gitlab.windenergy.dtu.dk/frza/PGL/blob/master/PGL/components/airfoil.py#L195 in a similar manner as used in `BECASWrapper.cs2dtobecas`. After s_to_01 conversion it can happen that negative values are assigned to s[0], i.e. -0.1E-16. This can be due to a rounding error in the computation in sLE? However, it might be useful to include a safety clause like:
```
if s >= 0.0:
return s*(1.0-self.sLE) + self.sLE
elif s == -1.0:
return round(abs((1.0+s)*self.sLE))
else:
return (1.0+s)*self.sLE
```https://gitlab.windenergy.dtu.dk/frza/PGL/-/issues/6Coning and pitching rotor at the same time creates issues2023-02-09T11:03:45ZChristian GrinderslevConing and pitching rotor at the same time creates issuesWhen creating a rotor with both coning and pitching, it seems that the coning is applied first, and then rotated along with the pitch. So for instance I have cases with 90 degree pitch in the mesh, but if I then also have coning it will ...When creating a rotor with both coning and pitching, it seems that the coning is applied first, and then rotated along with the pitch. So for instance I have cases with 90 degree pitch in the mesh, but if I then also have coning it will be in the rotor plane (sort of like an azimuth) and not in the normal direction.
I've looked in the code, and think it could probably be avoided by maybe removing cone before pitching and adding it again afterwards, but I'm unsure if that would screw it up in the cone intersection routines etc.
Any good ideas?https://gitlab.windenergy.dtu.dk/frza/PGL/-/issues/4Make a blademesher example based on "user_surface"2020-08-21T08:02:34ZsghoMake a blademesher example based on "user_surface"It could be nice to have a blademesher example where the surface is introduced as sections through the 'user_surface' option, instead of basing the generation on airfoil families. This could be also an opportunity to create an academic g...It could be nice to have a blademesher example where the surface is introduced as sections through the 'user_surface' option, instead of basing the generation on airfoil families. This could be also an opportunity to create an academic geometry (e.g. flat plate), directly parametrized through python.sghosghohttps://gitlab.windenergy.dtu.dk/frza/PGL/-/issues/5Possible issue with meshing blade in c2d branch2022-11-25T10:27:56ZanglPossible issue with meshing blade in c2d branchI found this issue on 5/9/2022 and I think I have almost forget...
As I remember, there are two different methods (orders) to generate the blade mesh. And the default one is wrong while the non-default one is correct.
I guess, in: http...I found this issue on 5/9/2022 and I think I have almost forget...
As I remember, there are two different methods (orders) to generate the blade mesh. And the default one is wrong while the non-default one is correct.
I guess, in: https://gitlab.windenergy.dtu.dk/frza/PGL/-/blob/c2d/PGL/components/loftedblade.py#L400
```
twist_corr = self._twist_correction(R, Vtheta_unit[i])
```
should be changed to:
```
twist_corr = np.arctan2(R[0, 1], R[0, 0])
```
I should check this later and well document things down.https://gitlab.windenergy.dtu.dk/frza/PGL/-/issues/1using AirfoilShape's curvature based LE cell size is not robust2018-02-09T15:51:15ZFrederik Zahlefrza@dtu.dkusing AirfoilShape's curvature based LE cell size is not robustfind a better and more robust way to calculate an appropriate LE cell size on blades, since the current method is too sensitive to spikes in the curvature.find a better and more robust way to calculate an appropriate LE cell size on blades, since the current method is too sensitive to spikes in the curvature.