Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to set ncrit for xfoil calculations #23

Open
JeanMRog opened this issue Sep 24, 2020 · 1 comment
Open

Add the ability to set ncrit for xfoil calculations #23

JeanMRog opened this issue Sep 24, 2020 · 1 comment

Comments

@JeanMRog
Copy link

ncrit is a key parameter of xfoil it is important to be able to set it, the default value of 9 is not always the most adequate setting depending of the usage. gliders will look at values of 10 and above foil in water will look at values around 3.

@inse0918
Copy link

inse0918 commented Mar 2, 2024

add this lines after defining mach number line like below screenshot

    # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    #    Defining N-crit Number in VPAR
    # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    # issueCmd('MACH {!s}'.format(Mach))
    # Defining the N-Crit Number in Viscous Setting
    issueCmd('VPAR')
    issueCmd('n')
    # Defining N-Crit number
    issueCmd('%f' % Ncrit)
    issueCmd('')

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants