Skip to content
Snippets Groups Projects

Adrien

Merged Boman Romain requested to merge adrien into master
110 files
+ 3357
2623
Compare changes
  • Side-by-side
  • Inline
Files
110
+ 5
4
@@ -9,17 +9,18 @@ from fwk.wutils import parseargs
def getParam():
args = parseargs()
p = {}
# Input
# Input/Output
p['File'] = '../models/n0012.geo' # Input file containing the model
p['Pars'] = {'xLength' : 5, 'yLength' : 5, 'sEleFar' : 1.0, 'sEleAirfTE' : 0.01, 'sEleAirfLE' : 0.005} # Parameters for input file model
p['Dim'] = 2 # Problem dimension
p['Format'] = 'vtk' # Save format (vtk or gmsh)
# Markers
p['Fluid'] = 'field' # Name of physical group containing the fluid
p['Farfield'] = ['upstream', 'side', 'downstream'] # Name of physical group containing the farfield boundaries (downstream should be last element)
p['Symmetry'] = [] # Name of physical group containing the symmetry boundaries (none for 2D)
p['Slip'] = 'airfoil' # Name of physical group containing the (solid) slip boundary
p['Body'] = 'airfoil' # Name of physical group containing the (solid) body boundary
p['Wake'] = 'wake' # Name of physical group containing the wake
p['Te'] = 'te' # Name of physical group containing the trailing edge
p['Te'] = 'te' # Name of physical group containing the trailing edge (none for 3D)
p['wakeTip'] = [] # Name of physical group containing the edge of the wake (none for 2D)
p['TeTip'] = [] # Name of physical group containing the edge of the wake and the trailing edge (none for 2D)
# Freestream
@@ -28,7 +29,7 @@ def getParam():
p['AoA_end'] = 3. # Freestream angle of attack (end)
p['AoA_step'] = 1. # Freestream angle of attack (step)
# Geometry
p['S_ref'] = 1. # Reference surface length
p['S_ref'] = 1. # Reference surface length (c_ref for 2D)
p['c_ref'] = 1. # Reference chord length
p['x_ref'] = 0.25 # Reference point for moment computation (x)
p['y_ref'] = 0. # Reference point for moment computation (y)
Loading