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

(fix) Modified rae validation case for PARDISO linear solver

parent a30fa2db
No related branches found
No related tags found
1 merge request!1BLASTER v1.0
Pipeline #23197 passed with warnings
......@@ -104,7 +104,7 @@ def main():
else:
n = np.log10(1-(1-gr)*icfg['Pars']['xLgt']/icfg['Pars']['msLe'])/np.log10(gr)
icfg['Pars']['msF'] = icfg['Pars']['msLe']*gr**(n-1)
print('msF =', icfg['Pars']['msF'])
tms['pre'].start()
coupler, isol, vsol = viscUtils.initBlast(icfg, vcfg)
tms['pre'].stop()
......@@ -136,7 +136,10 @@ def main():
tests.add(CTest('Cd wake', vsol.Cdt, 0.0093, 1e-3, forceabs=True))
tests.add(CTest('Cd integral', isol.getCd() + vsol.Cdf, 0.0138, 1e-3, forceabs=True))
tests.add(CTest('Cdf', vsol.Cdf, 0.0069, 1e-3, forceabs=True))
tests.add(CTest('Iterations', len(aeroCoeffs['Cl']), 42, 0, forceabs=True))
if icfg['LSolver'] == 'PARDISO':
tests.add(CTest('Iterations', len(aeroCoeffs['Cl']), 43, 0, forceabs=True))
elif icfg['LSolver'] == 'SparseLu':
tests.add(CTest('Iterations', len(aeroCoeffs['Cl']), 42, 0, forceabs=True))
tests.run()
expResults = np.loadtxt(os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + '/models/references/rae2822_AR138_case6.dat')
......
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