diff --git a/README.md b/README.md index 33f2de78a879c42d1bf89592e3a0f1a7bab89fd0..d1b7919464cc66289ddcb64577891ddf51fd8cbd 100644 --- a/README.md +++ b/README.md @@ -21,15 +21,4 @@ DART is currently capable of rapidly solving steady transonic flows on arbitrary - [openMDAO](https://openmdao.org/) ## Documentation -Detailed build and use instructions can be found in the [wiki](https://gitlab.uliege.be/am-dept/dartflo/wikis/home). - -## References -Crovato Adrien, [Steady Transonic Aerodynamic and Aeroelastic Modeling for Preliminary Aircraft Design](http://hdl.handle.net/2268/251906), PhD thesis, University of Liège, 2020. - -Crovato Adrien, [DARTFlo - Discrete Adjoint for Rapid Transonic Flows](http://hdl.handle.net/2268/264284), Technical note, University of Liège, 2021. - -Crovato A., et al. [A discrete adjoint full potential formulation for fast aerostructural optimization in preliminary aircraft design](), Submitted to Aerospace Science and Technology, 2022. - -Crovato A., et al., [A Full Potential Static Aeroelastic Solver for Preliminary Aircraft Design](http://hdl.handle.net/2268/237955), 18th International Forum on Aeroelasticity and Structural Dynamics, IFASD 2019. - -Crovato A., et al., [Fast Full Potential Based Aerostructural Optimization Calculations for Preliminary Aircraft Design](http://hdl.handle.net/2268/292456), 19th International Forum on Aeroelasticity and Structural Dynamics, IFASD 2022. +Detailed instructions for building and using the code, as well as references to theory manuals and scientific articles can be found in the [wiki](https://gitlab.uliege.be/am-dept/dartflo/wikis/home). diff --git a/vii/src/DDriver.cpp b/vii/src/DDriver.cpp index 35d8b3c071617ac92395bd6cd31841caf6346607..0828044e82422ccd292d3f7c82633341c4dcaf18 100644 --- a/vii/src/DDriver.cpp +++ b/vii/src/DDriver.cpp @@ -207,7 +207,7 @@ int Driver::run(unsigned int const couplIter) pointExitCode = tSolver->integration(iPoint, sections[iSec][iRegion]); // Force transition if required by the user if (sections[iSec][iRegion]->xtrF != -1 && sections[iSec][iRegion]->mesh->getxoc(iPoint) >= sections[iSec][iRegion]->xtrF) - sections[iSec][iRegion]->u[iPoint * sections[iSec][iRegion]->getnVar()+2] = 9.; + sections[iSec][iRegion]->u[iPoint * sections[iSec][iRegion]->getnVar() + 2] = 9.; tms["1-Solver"].stop(); if (pointExitCode != 0) @@ -765,8 +765,6 @@ std::vector<std::vector<double>> Driver::getSolution(size_t iSec) Sln[17][nMarkersUp + iPoint] = sections[iSec][1]->mesh->gety(iPoint); Sln[18][nMarkersUp + iPoint] = sections[iSec][1]->mesh->getz(iPoint); Sln[19][nMarkersUp + iPoint] = sections[iSec][1]->blEdge->getVt(iPoint); - - } // Wake. for (size_t iPoint = 0; iPoint < sections[iSec][2]->mesh->getnMarkers(); ++iPoint) diff --git a/vii/src/DDriver.h b/vii/src/DDriver.h index 3690a687c7ba0df525a77f7e82e5cb8eb902b397..eddf310e2a925a9d66a915432d4c1ff2fe40b0b4 100644 --- a/vii/src/DDriver.h +++ b/vii/src/DDriver.h @@ -38,7 +38,7 @@ protected: public: Driver(double _Re, double _Minf, double _CFL0, size_t nSections, - double xtrF_top=-1., double xtrF_bot=-1., double _span = 0., unsigned int verbose = 1); + double xtrF_top = -1., double xtrF_bot = -1., double _span = 0., unsigned int verbose = 1); ~Driver(); int run(unsigned int const couplIter);