Skip to content
Snippets Groups Projects

Flow v1.5

Merged Boman Romain requested to merge adrien into master
6 files
+ 1219
123
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 3
3
@@ -5,7 +5,7 @@
# @authors Adrien Crovato
#
# CAUTION
# Results might be nonphysical!
# Gmsh might not generate the wing/tail surfaces properly. Results might not be accurate
def getParam():
p = {}
@@ -34,7 +34,7 @@ def getParam():
'msFus' : fums, 'msFusCaps' : fucms, 'msFar' : fams} # Parameters for input file model
p['Dim'] = 3 # Problem dimension
p['Format'] = 'vtk' # Save format (vtk or gmsh)
p['Slice'] = [0.83, 3.0, 4., 6.1, 6.9] # array of (y) coordinates to perform slice along the span (empty if none)
p['Slice'] = [0.83, 3.0, 4.0, 6.2, 6.9] # array of (y) coordinates to perform slice along the span (empty if none)
p['TagId'] = 9 # tag number of physical group to be sliced
# Markers
p['Fluid'] = 'field' # Name of physical group containing the fluid
@@ -46,7 +46,7 @@ def getParam():
p['WakeTips'] = ['wakeTipW', 'wakeTipT'] # LIST of names of physical group containing the edge of the wake
p['TeTips'] = ['teTipW', 'teTipT'] # LIST of names of physical group containing the edge of the wake and the trailing edge
# Freestream
p['M_inf'] = 0.6 # Freestream Mach number
p['M_inf'] = 0.75 # Freestream Mach number
p['CL'] = 0.4 # Target lift coefficient
p['AoA'] = 0. # Freestream angle of attack (guess)
p['dCL'] = 7.5 # Slope of CL w.r.t AoA [1/rad] (guess)
Loading