Skip to content

Instantly share code, notes, and snippets.

View AndreasTsikri's full-sized avatar

AndreasTsikri

View GitHub Profile
@helo9
helo9 / xfoil.py
Last active November 26, 2023 02:53
use python to run xfoil analysis
# -*- coding: utf-8 -*-
import os
import numpy as np
import subprocess as sp
import re
def polar(afile, re, *args,**kwargs):
"""calculate airfoil polar and load results