<jupyter_start><jupyter_text>Geometry example: NACA foilThe ordinates of a symmetric NACA foil section are given by:<jupyter_code>import numpy as np
def naca_offset(x,t=0.15): 
    return 5*t*(0.2969*np.sqrt(x)-0.1260*x-0.3516*x**2+0.2843*x**3-0.1036*x**4)<jupyter_output><empty_output><jupyter_text>For example, we can use this function to define points on a $15\%$ thickness foil as:<jupyter_code>N = 11
x = np.linspace(0,1,N)
y = naca_offset(x)
print('x    ,  y')
for i in range(N): 
    print('{:5.3f}, {:6.3f}'.format(x[i],y[i]))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17375886524822695, 'fraction_numerical': 0.07446808510638298, 'mean_word_length': 5.890243902439025, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '321145', 'license': 'CC-BY-4.0', 'n_tokens_mistral': 270, 'n_tokens_neox': 245, 'n_words': 49, 'path': 'pre2021/coursework3/NACA.ipynb', 'repo_name': 'Maselko/MarineHydro-Tesing', 'size': '564'}