Skip to content

Commit 86ae5f5

Browse files
committed
Merge branch 'develop' into fix_inc_rotatingframe
2 parents 9807d6b + 574c286 commit 86ae5f5

733 files changed

Lines changed: 2881 additions & 1358 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Common/doc/docmain.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* \file docmain.hpp
33
* \brief This file contains documentation for Doxygen and does not have any significance with respect to C++.
44
* \author F. Palacios
5-
* \version 7.0.5 "Blackbird"
5+
* \version 7.0.6 "Blackbird"
66
*
77
* The current SU2 release has been coordinated by the
88
* SU2 International Developers Society <www.su2devsociety.org>
@@ -33,7 +33,7 @@
3333
*/
3434

3535
/*!
36-
* \mainpage SU2 version 7.0.5 "Blackbird"
36+
* \mainpage SU2 version 7.0.6 "Blackbird"
3737
* SU2 suite is an open-source collection of C++ based software tools
3838
* to perform PDE analysis and PDE constrained optimization problems. The toolset is designed with
3939
* computational fluid dynamics and aerodynamic shape optimization in mind, but is extensible to

Common/include/CConfig.hpp

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* \brief All the information about the definition of the physical problem.
44
* The subroutines and functions are in the <i>CConfig.cpp</i> file.
55
* \author F. Palacios, T. Economon, B. Tracey
6-
* \version 7.0.5 "Blackbird"
6+
* \version 7.0.6 "Blackbird"
77
*
88
* SU2 Project Website: https://su2code.github.io
99
*
@@ -227,6 +227,7 @@ class CConfig {
227227
bool Inlet_From_File; /*!< \brief True if the inlet profile is to be loaded from a file. */
228228
string Inlet_Filename; /*!< \brief Filename specifying an inlet profile. */
229229
su2double Inlet_Matching_Tol; /*!< \brief Tolerance used when matching a point to a point from the inlet file. */
230+
string ActDisk_FileName; /*!< \brief Filename specifying an actuator disk. */
230231

231232
string *Marker_Euler, /*!< \brief Euler wall markers. */
232233
*Marker_FarField, /*!< \brief Far field markers. */
@@ -396,7 +397,6 @@ class CConfig {
396397
unsigned long InnerIter; /*!< \brief Current inner iterations for multizone problems. */
397398
unsigned long TimeIter; /*!< \brief Current time iterations for multizone problems. */
398399
unsigned long Unst_nIntIter; /*!< \brief Number of internal iterations (Dual time Method). */
399-
unsigned long Dyn_nIntIter; /*!< \brief Number of internal iterations (Newton-Raphson Method for nonlinear structural analysis). */
400400
long Unst_RestartIter; /*!< \brief Iteration number to restart an unsteady simulation (Dual time Method). */
401401
long Unst_AdjointIter; /*!< \brief Iteration number to begin the reverse time integration in the direct solver for the unsteady adjoint. */
402402
long Iter_Avg_Objective; /*!< \brief Iteration the number of time steps to be averaged, counting from the back */
@@ -412,6 +412,8 @@ class CConfig {
412412
unsigned short nRKStep; /*!< \brief Number of steps of the explicit Runge-Kutta method. */
413413
su2double *RK_Alpha_Step; /*!< \brief Runge-Kutta beta coefficients. */
414414

415+
unsigned short nQuasiNewtonSamples; /*!< \brief Number of samples used in quasi-Newton solution methods. */
416+
415417
unsigned short nMGLevels; /*!< \brief Number of multigrid levels (coarse levels). */
416418
unsigned short nCFL; /*!< \brief Number of CFL, one for each multigrid level. */
417419
su2double
@@ -820,9 +822,9 @@ class CConfig {
820822
su2double* CpPolyCoefficients; /*!< \brief Definition of the temperature polynomial coefficients for specific heat Cp. */
821823
su2double* MuPolyCoefficients; /*!< \brief Definition of the temperature polynomial coefficients for viscosity. */
822824
su2double* KtPolyCoefficients; /*!< \brief Definition of the temperature polynomial coefficients for thermal conductivity. */
823-
array<su2double, N_POLY_COEFFS> CpPolyCoefficientsND{0.0}; /*!< \brief Definition of the non-dimensional temperature polynomial coefficients for specific heat Cp. */
824-
array<su2double, N_POLY_COEFFS>MuPolyCoefficientsND{0.0}; /*!< \brief Definition of the non-dimensional temperature polynomial coefficients for viscosity. */
825-
array<su2double, N_POLY_COEFFS>KtPolyCoefficientsND{0.0}; /*!< \brief Definition of the non-dimensional temperature polynomial coefficients for thermal conductivity. */
825+
array<su2double, N_POLY_COEFFS> CpPolyCoefficientsND{{0.0}}; /*!< \brief Definition of the non-dimensional temperature polynomial coefficients for specific heat Cp. */
826+
array<su2double, N_POLY_COEFFS> MuPolyCoefficientsND{{0.0}}; /*!< \brief Definition of the non-dimensional temperature polynomial coefficients for viscosity. */
827+
array<su2double, N_POLY_COEFFS> KtPolyCoefficientsND{{0.0}}; /*!< \brief Definition of the non-dimensional temperature polynomial coefficients for thermal conductivity. */
826828
su2double Thermal_Conductivity_Solid, /*!< \brief Thermal conductivity in solids. */
827829
Thermal_Diffusivity_Solid, /*!< \brief Thermal diffusivity in solids. */
828830
Temperature_Freestream_Solid, /*!< \brief Temperature in solids at freestream conditions. */
@@ -1016,9 +1018,9 @@ class CConfig {
10161018
su2double FinalRotation_Rate_Z; /*!< \brief Final rotation rate Z if Ramp rotating frame is activated. */
10171019
su2double FinalOutletPressure; /*!< \brief Final outlet pressure if Ramp outlet pressure is activated. */
10181020
su2double MonitorOutletPressure; /*!< \brief Monitor outlet pressure if Ramp outlet pressure is activated. */
1019-
array<su2double, N_POLY_COEFFS> default_cp_polycoeffs{0.0}; /*!< \brief Array for specific heat polynomial coefficients. */
1020-
array<su2double, N_POLY_COEFFS> default_mu_polycoeffs{0.0}; /*!< \brief Array for viscosity polynomial coefficients. */
1021-
array<su2double, N_POLY_COEFFS> default_kt_polycoeffs{0.0}; /*!< \brief Array for thermal conductivity polynomial coefficients. */
1021+
array<su2double, N_POLY_COEFFS> default_cp_polycoeffs{{0.0}}; /*!< \brief Array for specific heat polynomial coefficients. */
1022+
array<su2double, N_POLY_COEFFS> default_mu_polycoeffs{{0.0}}; /*!< \brief Array for viscosity polynomial coefficients. */
1023+
array<su2double, N_POLY_COEFFS> default_kt_polycoeffs{{0.0}}; /*!< \brief Array for thermal conductivity polynomial coefficients. */
10221024
su2double *ExtraRelFacGiles; /*!< \brief coefficient for extra relaxation factor for Giles BC*/
10231025
bool Body_Force; /*!< \brief Flag to know if a body force is included in the formulation. */
10241026
su2double *Body_Force_Vector; /*!< \brief Values of the prescribed body force vector. */
@@ -2941,12 +2943,6 @@ class CConfig {
29412943
*/
29422944
unsigned long GetUnst_nIntIter(void) const { return Unst_nIntIter; }
29432945

2944-
/*!
2945-
* \brief Get the number of internal iterations for the Newton-Raphson Method in nonlinear structural applications.
2946-
* \return Number of internal iterations.
2947-
*/
2948-
unsigned long GetDyn_nIntIter(void) const { return Dyn_nIntIter; }
2949-
29502946
/*!
29512947
* \brief Get the starting direct iteration number for the unsteady adjoint (reverse time integration).
29522948
* \return Starting direct iteration number for the unsteady adjoint.
@@ -4026,6 +4022,11 @@ class CConfig {
40264022
*/
40274023
su2double GetRelaxation_Factor_CHT(void) const { return Relaxation_Factor_CHT; }
40284024

4025+
/*!
4026+
* \brief Get the number of samples used in quasi-Newton methods.
4027+
*/
4028+
unsigned short GetnQuasiNewtonSamples(void) const { return nQuasiNewtonSamples; }
4029+
40294030
/*!
40304031
* \brief Get the relaxation coefficient of the linear solver for the implicit formulation.
40314032
* \return relaxation coefficient of the linear solver for the implicit formulation.
@@ -4709,6 +4710,12 @@ class CConfig {
47094710
*/
47104711
string GetInlet_FileName(void) const { return Inlet_Filename; }
47114712

4713+
/*!
4714+
* \brief Get name of the input file for the specified actuator disk.
4715+
* \return Name of the input file for the specified actuator disk.
4716+
*/
4717+
string GetActDisk_FileName(void) const { return ActDisk_FileName; }
4718+
47124719
/*!
47134720
* \brief Get the tolerance used for matching two points on a specified inlet
47144721
* \return Tolerance used for matching a point to a specified inlet

Common/include/CMultiGridQueue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* \brief Header of the multigrid queue class for the FVM solver.
44
* The subroutines and functions are in the <i>CMultiGridQueue.cpp</i> file.
55
* \author F. Palacios
6-
* \version 7.0.5 "Blackbird"
6+
* \version 7.0.6 "Blackbird"
77
*
88
* SU2 Project Website: https://su2code.github.io
99
*

Common/include/adt_structure.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* alternating digital tree (ADT).
55
* The subroutines and functions are in the <i>adt_structure.cpp</i> file.
66
* \author E. van der Weide
7-
* \version 7.0.5 "Blackbird"
7+
* \version 7.0.6 "Blackbird"
88
*
99
* SU2 Project Website: https://su2code.github.io
1010
*
@@ -87,7 +87,7 @@ class CADTComparePointClass {
8787
* \brief Class for storing the information of a possible bounding box candidate
8888
during a minimum distance search.
8989
* \author E. van der Weide
90-
* \version 7.0.5 "Blackbird"
90+
* \version 7.0.6 "Blackbird"
9191
*/
9292
struct CBBoxTargetClass {
9393

@@ -265,7 +265,7 @@ class CADTPointsOnlyClass : public CADTBaseClass {
265265
* \class CADTElemClass
266266
* \brief Class for storing an ADT of (linear) elements in an arbitrary number of dimensions.
267267
* \author E. van der Weide
268-
* \version 7.0.5 "Blackbird"
268+
* \version 7.0.6 "Blackbird"
269269
*/
270270
class CADTElemClass : public CADTBaseClass {
271271
private:

Common/include/basic_types/ad_structure.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* \file ad_structure.hpp
33
* \brief Main routines for the algorithmic differentiation (AD) structure.
44
* \author T. Albring
5-
* \version 7.0.5 "Blackbird"
5+
* \version 7.0.6 "Blackbird"
66
*
77
* SU2 Project Website: https://su2code.github.io
88
*

Common/include/basic_types/datatype_structure.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* \file datatype_structure.hpp
33
* \brief Headers for generalized datatypes, defines an interface for AD types.
44
* \author T. Albring
5-
* \version 7.0.5 "Blackbird"
5+
* \version 7.0.6 "Blackbird"
66
*
77
* SU2 Project Website: https://su2code.github.io
88
*

Common/include/blas_structure.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
operations, which are typically found in the BLAS libraries.
55
The functions are in the <i>blass_structure.cpp</i> file.
66
* \author E. van der Weide
7-
* \version 7.0.5 "Blackbird"
7+
* \version 7.0.6 "Blackbird"
88
*
99
* SU2 Project Website: https://su2code.github.io
1010
*
@@ -40,7 +40,7 @@
4040
* \class CBlasStructure
4141
* \brief Class, which serves as an interface to the BLAS functionalities needed.
4242
* \author: E. van der Weide
43-
* \version 7.0.5 "Blackbird"
43+
* \version 7.0.6 "Blackbird"
4444
*/
4545
class CBlasStructure {
4646
public:

Common/include/fem/fem_cgns_elements.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* with high order elements.
55
* The functions are in the <i>cgns_elements.cpp</i> file.
66
* \author E. van der Weide
7-
* \version 7.0.5 "Blackbird"
7+
* \version 7.0.6 "Blackbird"
88
*
99
* SU2 Project Website: https://su2code.github.io
1010
*
@@ -47,7 +47,7 @@ class CBoundaryFace;
4747
* \class CCGNSElementType
4848
* \brief Class which stores the CGNS element type info for a connectivity
4949
section.
50-
* \version 7.0.5 "Blackbird"
50+
* \version 7.0.6 "Blackbird"
5151
*/
5252

5353
class CCGNSElementType {

Common/include/fem/fem_gauss_jacobi_quadrature.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
All the functions in this class are based on the program JACOBI_RULE
77
of John Burkardt.
88
* \author E. van der Weide
9-
* \version 7.0.5 "Blackbird"
9+
* \version 7.0.6 "Blackbird"
1010
*
1111
* SU2 Project Website: https://su2code.github.io
1212
*
@@ -95,7 +95,7 @@ using namespace std;
9595
* \brief Class used to determine the quadrature points of the Gauss Jacobi
9696
integration rules.
9797
* \author E. van der Weide
98-
* \version 7.0.5 "Blackbird"
98+
* \version 7.0.6 "Blackbird"
9999
*/
100100
class CGaussJacobiQuadrature {
101101
public:

Common/include/fem/fem_geometry_structure.hpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* \brief Headers of the main subroutines for creating the geometrical structure for the FEM solver.
44
* The subroutines and functions are in the <i>fem_geometry_structure.cpp</i> file.
55
* \author E. van der Weide
6-
* \version 7.0.5 "Blackbird"
6+
* \version 7.0.6 "Blackbird"
77
*
88
* SU2 Project Website: https://su2code.github.io
99
*
@@ -41,7 +41,7 @@ using namespace std;
4141
/*!
4242
* \class CLong3T
4343
* \brief Help class used to store three longs as one entity.
44-
* \version 7.0.5 "Blackbird"
44+
* \version 7.0.6 "Blackbird"
4545
*/
4646
struct CLong3T {
4747
long long0 = 0; /*!< \brief First long to store in this class. */
@@ -59,7 +59,7 @@ struct CLong3T {
5959
* \class CReorderElements
6060
* \brief Class, used to reorder the owned elements after the partitioning.
6161
* \author E. van der Weide
62-
* \version 7.0.5 "Blackbird"
62+
* \version 7.0.6 "Blackbird"
6363
*/
6464
class CReorderElements {
6565
private:
@@ -131,7 +131,7 @@ class CReorderElements {
131131
* \brief Functor, used for a different sorting of the faces than the < operator
132132
* of CFaceOfElement.
133133
* \author E. van der Weide
134-
* \version 7.0.5 "Blackbird"
134+
* \version 7.0.6 "Blackbird"
135135
*/
136136
class CVolumeElementFEM; // Forward declaration to avoid problems.
137137
class CSortFaces {
@@ -172,7 +172,7 @@ class CSortFaces {
172172
* \brief Functor, used for a different sorting of the faces than the < operator
173173
* of CSurfaceElementFEM.
174174
* \author E. van der Weide
175-
* \version 7.0.5 "Blackbird"
175+
* \version 7.0.6 "Blackbird"
176176
*/
177177
struct CSurfaceElementFEM; // Forward declaration to avoid problems.
178178
struct CSortBoundaryFaces {
@@ -189,7 +189,7 @@ struct CSortBoundaryFaces {
189189
* \class CVolumeElementFEM
190190
* \brief Class to store a volume element for the FEM solver.
191191
* \author E. van der Weide
192-
* \version 7.0.5 "Blackbird"
192+
* \version 7.0.6 "Blackbird"
193193
*/
194194
class CVolumeElementFEM {
195195
public:
@@ -283,7 +283,7 @@ class CVolumeElementFEM {
283283
* \class CPointFEM
284284
* \brief Class to a point for the FEM solver.
285285
* \author E. van der Weide
286-
* \version 7.0.5 "Blackbird"
286+
* \version 7.0.6 "Blackbird"
287287
*/
288288
struct CPointFEM {
289289
unsigned long globalID; /*!< \brief The global ID of this point in the grid. */
@@ -308,7 +308,7 @@ struct CPointFEM {
308308
* \class CInternalFaceElementFEM
309309
* \brief Class to store an internal face for the FEM solver.
310310
* \author E. van der Weide
311-
* \version 7.0.5 "Blackbird"
311+
* \version 7.0.6 "Blackbird"
312312
*/
313313
struct CInternalFaceElementFEM {
314314
unsigned short VTK_Type; /*!< \brief Element type using the VTK convention. */
@@ -353,7 +353,7 @@ struct CInternalFaceElementFEM {
353353
* \class CSurfaceElementFEM
354354
* \brief Class to store a surface element for the FEM solver.
355355
* \author E. van der Weide
356-
* \version 7.0.5 "Blackbird"
356+
* \version 7.0.6 "Blackbird"
357357
*/
358358
struct CSurfaceElementFEM {
359359
unsigned short VTK_Type; /*!< \brief Element type using the VTK convention. */
@@ -415,7 +415,7 @@ struct CSurfaceElementFEM {
415415
* \class CBoundaryFEM
416416
* \brief Class to store a boundary for the FEM solver.
417417
* \author E. van der Weide
418-
* \version 7.0.5 "Blackbird"
418+
* \version 7.0.6 "Blackbird"
419419
*/
420420
struct CBoundaryFEM {
421421
string markerTag; /*!< \brief Marker tag of this boundary. */
@@ -438,7 +438,7 @@ struct CBoundaryFEM {
438438
* \class CMeshFEM
439439
* \brief Base class for the FEM solver.
440440
* \author E. van der Weide
441-
* \version 7.0.5 "Blackbird"
441+
* \version 7.0.6 "Blackbird"
442442
*/
443443
class CMeshFEM: public CGeometry {
444444
protected:
@@ -712,7 +712,7 @@ class CMeshFEM: public CGeometry {
712712
* \class CMeshFEM_DG
713713
* \brief Class which contains all the variables for the DG FEM solver.
714714
* \author E. van der Weide
715-
* \version 7.0.5 "Blackbird"
715+
* \version 7.0.6 "Blackbird"
716716
*/
717717
class CMeshFEM_DG: public CMeshFEM {
718718
protected:

0 commit comments

Comments
 (0)