From 7100f67193f913609d9e530df416096df3eca002 Mon Sep 17 00:00:00 2001 From: acrovato <a.crovato@uliege.be> Date: Sun, 14 May 2023 15:32:51 +0200 Subject: [PATCH] Remove references from README. Format. --- README.md | 13 +------------ vii/src/DDriver.cpp | 4 +--- vii/src/DDriver.h | 2 +- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 33f2de7..d1b7919 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 35d8b3c..0828044 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 3690a68..eddf310 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); -- GitLab