Skip to content

NeuralFoil Optimizer tutorial issue #172

Description

@benoitpaillard

Bug Description / Observed Behavior

When running NeuralFoil Optimizer tutorial, I'm getting the following error (after setting verbose=True in constructor):

Maximum number of panel nodes  :          365
 Number of buffer airfoil points:          399
 Current airfoil cannot be set.
 Try executing PANE at Top Level instead.

 XFOIL   c>   No current airfoil to plot

    Present paneling parameters...
  N  i   Number of panel nodes       160
  P  r   Panel bunching parameter    1.000
  T  r   TE/LE panel density ratio   0.150
  R  r   Refined area/LE  panel density ratio   0.200
  XT rr  Top    side refined area x/c limits    1.000 1.000
  XB rr  Bottom side refined area x/c limits    1.000 1.000
  Z oom
  U nzoom
  H ardcopy

Change what ? (<cr> if nothing else)   c>  
Change what ? (<cr> if nothing else)   c>  
 Blunt trailing edge.  Gap =  0.00255

 Maximum panel corner angle =  4.023   at  i,x,y  = 138   0.0001   0.0021


Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.

Backtrace for this error:
#0  0x7cad33823960 in ???
#1  0x7cad33822ac5 in ???
#2  0x7cad3344251f in ???
	at ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
#3  0x61db945fbee4 in ???
#4  0x61db945b3f47 in ???
#5  0x61db945b7a6a in ???
#6  0x61db945563cd in ???
#7  0x61db9455c06c in ???
#8  0x61db94551758 in ???
#9  0x7cad33429d8f in __libc_start_call_main
	at ../sysdeps/nptl/libc_start_call_main.h:58
#10  0x7cad33429e3f in __libc_start_main_impl
	at ../csu/libc-start.c:392
#11  0x61db94551784 in ???
#12  0xffffffffffffffff in ???

Steps to Reproduce

Open the tutorial and run it in jupyter notebook

Expected Behavior

no crash

System Information

  • Operating System: Ubuntu 24
  • Python Version: 3.10.12
  • AeroSandbox Version: 4.2.9

Other Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions