From d630c436c4794e3d576b85ae616c7934a7a6cc2c Mon Sep 17 00:00:00 2001
From: Paul Dechamps <paul.dechamps@uliege.be>
Date: Tue, 25 Mar 2025 16:48:48 +0100
Subject: [PATCH] (tests) Update rae 3D test

---
 blast/tests/dart/t_rae2822_3D.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/blast/tests/dart/t_rae2822_3D.py b/blast/tests/dart/t_rae2822_3D.py
index 1bf4253..1f747bb 100644
--- a/blast/tests/dart/t_rae2822_3D.py
+++ b/blast/tests/dart/t_rae2822_3D.py
@@ -45,7 +45,7 @@ def cfgInviscid(nthrds, verb):
     'Verb' : verb, # verbosity
     # Model (geometry or mesh)
     'File' : os.path.abspath(os.path.join(os.path.abspath(__file__), '../../../models/dart/rae_3.geo')), # Input file containing the model
-    'Pars' : {'spn' : 1.0, 'lgt' : 6.0, 'wdt' : 3.0, 'hgt' : 6.0, 'msN' : 0.02, 'msF' : 1}, # parameters for input file model
+    'Pars' : {'spn' : 1.0, 'lgt' : 6.0, 'wdt' : 3.0, 'hgt' : 6.0, 'msN' : 0.03, 'msF' : 1}, # parameters for input file model
     'Dim' : 3, # problem dimension
     'Format' : 'vtk', # save format (vtk or gmsh)
     # Markers
@@ -90,9 +90,9 @@ def cfgBlast(verb):
         'xtrF' : [0., 0.],  # Forced transition locations
 
         # Sections generation parameters
-        'sections' : {'wing':np.linspace(0.05, 0.9, 10)},  # Sections on the wing
+        'sections' : {'wing':np.linspace(0.05, 0.9, 50)},  # Sections on the wing
         'genSections': 'auto',                       # Section generation technique ['auto', 'file', 'vtk']
-        'nPoints': 250,                             # Section will have nPoints+1 points because of the duplicate TE
+        'nPoints': 200,                             # Section will have nPoints+1 points because of the duplicate TE
         'smooth_sections': 1e-7,                    # Smoothing factor for the section generation (only used when genSections is 'auto')
 
         # Interpolator parameters
@@ -158,11 +158,11 @@ def main():
     # Test solution
     print(ccolors.ANSI_BLUE + 'PyTesting...' + ccolors.ANSI_RESET)
     tests = CTests()
-    tests.add(CTest('Cl', isol.getCl(), 0.1305, 5e-2))
-    tests.add(CTest('Cd wake', vsol.getCdt(), 0.0113, 1e-3, forceabs=True))
-    tests.add(CTest('Cd integral', vsol.getCdf() + isol.getCd(), 0.0172, 1e-3, forceabs=True))
-    tests.add(CTest('Cdf', vsol.getCdf(), 0.0115, 1e-3, forceabs=True))
-    tests.add(CTest('Iterations', len(aeroCoeffs['Cl']), 4, 0, forceabs=True))
+    tests.add(CTest('Cl', isol.getCl(), 0.11, 5e-2))
+    tests.add(CTest('Cd wake', vsol.getCdt(), 0.0119, 1e-3, forceabs=True))
+    tests.add(CTest('Cd integral', vsol.getCdf() + isol.getCd(), 0.0173, 1e-3, forceabs=True))
+    tests.add(CTest('Cdf', vsol.getCdf(), 0.0109, 1e-3, forceabs=True))
+    tests.add(CTest('Iterations', len(aeroCoeffs['Cl']), 3, 0, forceabs=True))
     tests.run()
 
     if not args.nogui:
-- 
GitLab