Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: xfoil 6.99-1

Git Clone URL: https://aur-dev.archlinux.org/xfoil.git (read-only)
Package Base: xfoil
Description: Program for design and analysis of subsonic airfoils.
Upstream URL: http://web.mit.edu/drela/Public/web/xfoil/
Licenses: GPL2
Submitter: pfm
Maintainer: None
Last Packager: pfm
Votes: 0
Popularity: 0.000000
First Submitted: 2015-09-04 20:52
Last Updated: 2015-09-07 07:12

Latest Comments

ManyPopes commented on 2016-10-03 16:42

I had the same issue, following advice from https://www.physicsforums.com/threads/fortran-read-problems.694191/ I attempted to fix it with this patch:

--- Xfoil/src/xpol.f 2010-11-08 22:26:54.000000000 +0000
+++ Xfoil.patched/src/xpol.f 2016-10-03 18:04:34.721030734 +0100
@@ -516,6 +516,7 @@
C
C---- the polar dump file doesn't exist, so write new header
60 CONTINUE
+ REWIND(LU)
WRITE(LU) NAME, 'XFOIL ', VERSION
WRITE(LU) MINF1, REINF1/1.0E6, ACRIT(1), ACRIT(2)
WRITE(LU) MATYP, RETYP

but similar problems exist elsewhere. The above fixes the crash when giving a dump filename, but when running ASEQ with PACC enabled a similar crash happens at line 664 of file ../src/iopol.f. I patched that file too, but then another occurance happened back in xpol.f again. I'm not sure how many other times this could also occur in the code. The poster in the forum link above said using a different compiler fixed all of these issues.

neXyon commented on 2016-06-22 21:49

Hi,

I tried to use xfoil but failed in doing so. The first problem was during building the package, that .SRCINFO is not up to date with the PKGBUILD (wrong pkgrel). That I could easily fix.

Then I ran the program with the following input:

NACA 0015
oper
visc
1500000
iter
200
mach
0.03
pacc
polar.txt

aseq
5
30
1

And that's where it crashes (alternatively also when you put a filename for the dump file, where the empty line is).

I found a related bug report (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59513) but that one is fixed?!

I'd appreciate any help.

Cheers