Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add aero solver interface (mdolab#14)
* Initial work for PYXLIGHT BaseSolver class * Added BaseSolver method implementation checklist * add `checkSolutionFailure` * Added test for BaseSolver implementation * More methods for optimization sensitivities and constraints * Set current function names in AeroProblem * add self.pointSetKwargs * Modified test_solver_class to better compare values * Added call counter, dat file writing, and plotting * Fixes to get airfoil opt working * black formatting * Add coverage * add python gitignore template * flake8 fix * add writeSolution method that calls other output methods * Fix call to __call__ in `computeJacobianVectorProductFwd` * Plotted original airfoil in light gray in airfoil plot * Fixed AeroProblem DV output name in evalFunctionsSens by appending current aero problem name * Added derivative check tests and fixed a bug in the FD * Forgot to add FFD file, looks like shape variable at index 12 is particularly bad for CL derivative * Added CP plotting and saving * Fixed snake case (sorry Ali) * Whoops, there was still more snake case * Refined CP plot limits and added optimization animation tools * Added friction coefficient plotting and better postprocessing tools * Whoops, forgot to add the extension in postprocess * Add "docs" to `extras_require` in `setup.py` * Some fixes to limits on plots to update better * New lines in docstrings * Fixed airfoil limits in animation * Made plot size bigger again * Fix preFoil import * fix other prefoil import * add `solveCL` method * `black -l 120 --target-version py39 .` * flake8fix * use numpy's assert_allclose rather than hand written relTol check * Add API docs * Update dependencies * Added TODO to add options * Fixed shape sensitivity test * Add bounds on alpha during solveCL * Remove old gitHub templates * black formatting * ignore vsCode settings and pre-commit config * Kill all trailing whitespace and fix end of files * Add backtracking to solveCL * put failure check in the right place * Split different solveCL settings into separate tests * Randomise order of target CL's in solveCL test * typo * bump version * Added correct TE thickness * actually use the delta option * Added fail flag to handle VISCAL fail * Changed syntax to use pyxlight func instead of xfoil var directly * try to debug codecov * Fixed bug in FD when h is specified * Added test for weird derivatives causing 60/63 * Ran black * Changed test step size * Changed the default number of panels to 284 in the source * Added option to trip flow * Added more tests, fixed matplotlib deprecation warnings, added ability to call from pyxlight import PYXLIGHT * Improved docstrings * Changed xfoilAnalysis import * Fixed imports if only using xfoilAnalysis and added requirements to docs * Added some pretty pictures to the docs * Added gif to readme * More docs and example * Debugging readme gif * Added example run script * Added example gif * Formatting changes * Updated function values for higher number of panels * Added mock imports for docs * Changed mpl rcparams update method * Filled in some missing docs * Hopefully fixed autodoc problems * Trying to figure out the source of the autodoc problem * Trying removing matplotlib and niceplots from autodoc mock imports * Added back matplotlib * Trying matching work example from other repo in rst file * That worked, slow and steady now * Added AnimateAirfoilOpt heading * Added top level heading * Added reference label * Added try excepts back to init * Removed old pyXLIGHT interface * Trying to make the docs look better * First attempt at renaming pyXLIGHT to CMPLXFOIL * Improved example to make it better behaved * Added logo * Modified install docs * Formatted readme images * New resizing * Reized readme images * Added svg version of logo * Added logo to rtd * Added new logo path for rtd * Matched colors to pyoptsparse logo * Changed readme to heading * RTD logo not working for some reason * Added new Azure status badge to readme * Trying to quell the fury of flake8 and black * Modified pyGeo CST stuff to work with updated interface * Addressed most of Neil's comments * Fixed problems with tests failing * Improved plotting import procedure * Oof, black * Removed prefoil dependency and made pygeo and matplotlib optional * Addressed most of Bernardo's comments * Address some of Bernardo's comments * flake8 fix * Adjusted matplotlib import strategy * Ran black * Fixing flake8 complaints * Moved niceplots print statement * Removed annoying niceplots print statement Co-authored-by: eytanadler <[email protected]> Co-authored-by: Neil Wu <[email protected]>
- Loading branch information