Skip to content

Commit 2c0e77c

Browse files
committed
hybrid AD
1 parent 959338e commit 2c0e77c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

TestCases/hybrid_regression_AD.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ def main():
7575
discadj_rans_naca0012_sa.cfg_dir = "disc_adj_rans/naca0012"
7676
discadj_rans_naca0012_sa.cfg_file = "turb_NACA0012_sa.cfg"
7777
discadj_rans_naca0012_sa.test_iter = 10
78-
discadj_rans_naca0012_sa.test_vals = [-2.230621, 0.644162, 0.177890, -0.000016, 5.000000, -3.007652, 5.000000, -7.728093]
79-
discadj_rans_naca0012_sa.test_vals_aarch64 = [-2.230631, 0.644954, 0.177890, -0.000016, 5.000000, -3.007651, 5.000000, -7.631909]
78+
discadj_rans_naca0012_sa.test_vals = [-2.230621, 0.644162, 0.177890, -0.000016, 5.000000, -3.007652, 5.000000, -7.728093]
8079
test_list.append(discadj_rans_naca0012_sa)
8180

8281
# Adjoint turbulent NACA0012 SST
@@ -194,7 +193,7 @@ def main():
194193
discadj_trans_stator.cfg_file = "transonic_stator.cfg"
195194
discadj_trans_stator.test_iter = 79
196195
discadj_trans_stator.test_vals = [79, 0.770065, 0.383137, 0.472153, -0.996484, 2.153296, -4.444301]
197-
discadj_trans_stator.test_vals_aarch64 = [79, 0.770065, 0.383137, 0.472153, -0.996484, 2.153296, -4.444301]
196+
discadj_trans_stator.test_vals_aarch64 = [79, 0.769987, 0.383135, 0.472391, -0.996504, 2.153296, -4.444301]
198197
test_list.append(discadj_trans_stator)
199198

200199
###################################
@@ -207,7 +206,7 @@ def main():
207206
discadj_fea.cfg_file = "configAD_fem.cfg"
208207
discadj_fea.test_iter = 4
209208
discadj_fea.test_vals = [1.774569, 1.928023, -0.000364, -8.690300]
210-
discadj_fea.test_vals_aarch64 = [2.216938, 2.129429, -0.000365, -8.782500]
209+
discadj_fea.test_vals_aarch64 = [1.939275, 1.989717, -0.000364, -8.708200]
211210
test_list.append(discadj_fea)
212211

213212
######################################
@@ -232,6 +231,7 @@ def main():
232231
pywrapper_FEA_AD_FlowLoad.cfg_file = "configAD_fem.cfg"
233232
pywrapper_FEA_AD_FlowLoad.test_iter = 100
234233
pywrapper_FEA_AD_FlowLoad.test_vals = [-0.131742, -0.553318, -0.000364, -0.003101] #last 4 columns
234+
pywrapper_FEA_AD_FlowLoad.test_vals_aarch64 = [-0.132166, -0.554904, -0.000364, -0.003101]
235235
pywrapper_FEA_AD_FlowLoad.command = TestCase.Command(exec = "python", param = "run_adjoint.py --parallel -f")
236236
pywrapper_FEA_AD_FlowLoad.timeout = 1600
237237
pywrapper_FEA_AD_FlowLoad.tol = 1e-4
@@ -245,6 +245,7 @@ def main():
245245
pywrapper_CFD_AD_MeshDisp.cfg_file = "configAD_flow.cfg"
246246
pywrapper_CFD_AD_MeshDisp.test_iter = 1000
247247
pywrapper_CFD_AD_MeshDisp.test_vals = [30.000000, -2.520967, 1.375188, 0.000000] #last 4 columns
248+
pywrapper_CFD_AD_MeshDisp.test_vals_aarch64 = [30.000000, -2.516536, 1.386443, 0.000000]
248249
pywrapper_CFD_AD_MeshDisp.command = TestCase.Command(exec = "python", param = "run_adjoint.py --parallel -f")
249250
pywrapper_CFD_AD_MeshDisp.timeout = 1600
250251
pywrapper_CFD_AD_MeshDisp.tol = 1e-4

0 commit comments

Comments
 (0)