Open danrhouck opened 4 years ago
At each timestep there is there an iteration loop to ensure that the bound vorticity and its effect on local angle of attack are consistent. This is done using a fixed point iteration. See code around https://github.com/SNL-WaterPower/CACTUS/blob/80b28c9aa00e6ccfcd552b2c2e007fb2a6b3442f/src/CACTUS.f95#L140
The error you are seeing indicates that:
NLTol
within 10 iterations https://github.com/SNL-WaterPower/CACTUS/blob/80b28c9aa00e6ccfcd552b2c2e007fb2a6b3442f/src/CACTUS.f95#L140A few ideas to try:
Thanks for the tips. I think I’ll start with number one. I already have the convergence criteria turned off so that I can be sure the wake propagates as far as I’d like it to. I’m also seeing some streaks of fast flow at about midspan that I think must be related to the polars as they don’t seem to change when I try different numbers or distributions of blade elements. Hopefully going back to the polars will fix both problems. Previously, I used QBlade, which implements XFOIL, to create the polars and the extrapolations to be +/- 180. They definitely aren’t all smooth. Any recommendations for other programs/methods to produce the polars?
Sorry for the late reply. I've been out on vacation... That iteration converges the nonlinear relationship between blade loads and the wake vorticity elements shed into the wake at the next timestep. A few things you might try:
Jon
On Thu, Jul 16, 2020, 10:07 AM Phil Chiu notifications@github.com wrote:
At each timestep there is there an iteration loop to ensure that the bound vorticity and its effect on local angle of attack are consistent. This is done using a fixed point iteration. See code around https://github.com/SNL-WaterPower/CACTUS/blob/80b28c9aa00e6ccfcd552b2c2e007fb2a6b3442f/src/CACTUS.f95#L140
The error you are seeing indicates that:
- This loop did not converge to NLTol within 10 iterations https://github.com/SNL-WaterPower/CACTUS/blob/80b28c9aa00e6ccfcd552b2c2e007fb2a6b3442f/src/CACTUS.f95#L140
- There might also be some divid by zero issues.
A few ideas to try:
- Look at your airfoil polars. The fixed point iteration may be poorly behaved if your airfoil polars are not smooth. Are you using +/- 180 degree polars?
- Try increasing the tolerance and max number of iterations. You will need to recompile as these parameters are not currently exposed.
- Try disabling the convergence loop entirely. I never looked at how much this affects the solutions.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SNL-WaterPower/CACTUS/issues/28#issuecomment-659512283, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABC2ZXNL3H4ZTHKWQWOLA3TR34QUDANCNFSM4O23TAJQ .
I got this error while running. Can you help me figure out what needs to be addressed to fix it?
Norm. Time, Theta (rad), Revolution, Torque Coeff., Power Coeff.
0.19640E+02 0.15834E+03 26. 0.59640E-01 0.48082E+00
Timestep: 506
0***** NON-LINEAR ITERATION LOOP DID NOT CONVERGE IN 10 ITERATIONS. PROGRAM TERMINATED. *****
Note: The following floating-point exceptions are signalling: IEEE_DIVIDE_BY_ZERO IEEE_UNDERFLOW_FLAG IEEE_DENORMAL