Skip to content
Snippets Groups Projects
Verified Commit 3941c1bb authored by Paul Dechamps's avatar Paul Dechamps :speech_balloon:
Browse files

(tests) Shorter rae 3D test

parent 32ab3637
No related branches found
No related tags found
No related merge requests found
Pipeline #52222 failed
......@@ -92,7 +92,7 @@ def cfgBlast(verb):
# Sections generation parameters
'sections' : [np.linspace(0.05, 0.9, 10)], # Sections on the wing
'genSections': 'auto', # Section generation technique ['auto', 'file', 'vtk']
'nPoints': 300, # Section will have nPoints+1 points because of the duplicate TE
'nPoints': 250, # Section will have nPoints+1 points because of the duplicate TE
# Interpolator parameters
'interpolator': 'Rbf', # Interpolator type
......@@ -105,7 +105,7 @@ def cfgBlast(verb):
# Coupling parameters
'Verb': verb, # Verbosity level of the solver
'couplIter': 50, # Maximum number of iterations
'couplTol' : 1e-6, # Tolerance of the VII methodology
'couplTol' : 5e-2, # Tolerance of the VII methodology
'iterPrint': 1, # int, number of iterations between outputs
'resetInv' : False, # bool, flag to reset the inviscid calculation at every iteration.
}
......@@ -154,11 +154,11 @@ def main():
# Test solution
print(ccolors.ANSI_BLUE + 'PyTesting...' + ccolors.ANSI_RESET)
tests = CTests()
tests.add(CTest('Cl', isol.getCl(), 0.135, 5e-2))
tests.add(CTest('Cd wake', vsol.Cdt, 0.0086, 1e-3, forceabs=True))
tests.add(CTest('Cd integral', vsol.Cdf + isol.getCd(), 0.0190, 1e-3, forceabs=True))
tests.add(CTest('Cl', isol.getCl(), 0.1305, 5e-2))
tests.add(CTest('Cd wake', vsol.Cdt, 0.0113, 1e-3, forceabs=True))
tests.add(CTest('Cd integral', vsol.Cdf + isol.getCd(), 0.0172, 1e-3, forceabs=True))
tests.add(CTest('Cdf', vsol.Cdf, 0.0115, 1e-3, forceabs=True))
tests.add(CTest('Iterations', len(aeroCoeffs['Cl']), 3, 0, forceabs=True))
tests.add(CTest('Iterations', len(aeroCoeffs['Cl']), 4, 0, forceabs=True))
tests.run()
if not args.nogui:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment