mdolab / CMPLXFOIL

GNU General Public License v2.0
29 stars 20 forks source link

no convergence behaviour #24

Closed pl96andy closed 10 months ago

pl96andy commented 10 months ago

Description

When trying to calculate airfoil and xfoil is failing to converge, i receive error that airfoil is failing to converge and program terminates execution I guess there is no much use of it because after receiving such information i wish to continue execution of my program

Current behavior

As an output i am receiving: ` Sharp trailing edge

Sharp trailing edge Paneling convergence failed. Continuing anyway...

Sharp trailing edge +----------------------------------------------------------------------+ | Switching to Aero Problem: fc | +----------------------------------------------------------------------+

CPCALC: Local speed too large. Compressibility corrections invalid.

CPCALC: Local speed too large. Compressibility corrections invalid.

Process finished with exit code 0 `

Code versions

A-CGray commented 10 months ago

This looks like an XFoil issue, not something specific to CMPLXFOIL. Try looking up what kind of thing might cause the paneling to fail in XFoil

pl96andy commented 10 months ago

of course cause incorrect airfoil geometry but problem is that code does not only return error but it also terminates process my workaround is to call CMPLXFOIL in separate child process for xfoil to kill its own process not main program i just consider necessity of such workaround is strange