Skip to content

Commit c4a0b98

Browse files
authored
Merge branch 'develop' into SU2_master
2 parents 1e70ebe + 4379338 commit c4a0b98

File tree

159 files changed

+7627
-6214
lines changed

Some content is hidden

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

159 files changed

+7627
-6214
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@
2727
[submodule "subprojects/MLPCpp"]
2828
path = subprojects/MLPCpp
2929
url = https://github.com/EvertBunschoten/MLPCpp.git
30+
[submodule "externals/FADO"]
31+
path = externals/FADO
32+
url = https://github.com/pcarruscag/FADO.git

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ Thomas D. Economon
136136
Tim Albring
137137
TobiKattmann
138138
Trent Lukaczyk
139+
Vikram Bharadwaj
139140
Vinzenz Götz
140141
VivaanKhatri
141142
Wally Maier

Common/include/CConfig.hpp

Lines changed: 33 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ class CConfig {
108108
su2double Opt_RelaxFactor; /*!< \brief Scale factor for the line search. */
109109
su2double Opt_LineSearch_Bound; /*!< \brief Bounds for the line search. */
110110
su2double StartTime;
111-
unsigned short SmoothNumGrid; /*!< \brief Smooth the numerical grid. */
112111
bool ContinuousAdjoint, /*!< \brief Flag to know if the code is solving an adjoint problem. */
113112
Viscous, /*!< \brief Flag to know if the code is solving a viscous problem. */
114113
EquivArea, /*!< \brief Flag to know if the code is going to compute and plot the equivalent area. */
@@ -700,6 +699,7 @@ class CConfig {
700699
unsigned long StartConv_Iter; /*!< \brief Start convergence criteria at iteration. */
701700
su2double Cauchy_Eps; /*!< \brief Epsilon used for the convergence. */
702701
bool Restart, /*!< \brief Restart solution (for direct, adjoint, and linearized problems).*/
702+
Wrt_Restart_Compact, /*!< \brief Write compact restart files with minimum nr. of variables. */
703703
Read_Binary_Restart, /*!< \brief Read binary SU2 native restart files.*/
704704
Wrt_Restart_Overwrite, /*!< \brief Overwrite restart files or append iteration number.*/
705705
Wrt_Surface_Overwrite, /*!< \brief Overwrite surface output files or append iteration number.*/
@@ -804,6 +804,7 @@ class CConfig {
804804
nRefOriginMoment_Z; /*!< \brief Number of Z-coordinate moment computation origins. */
805805
unsigned short nMesh_Box_Size;
806806
short *Mesh_Box_Size; /*!< \brief Array containing the number of grid points in the x-, y-, and z-directions for the analytic RECTANGLE and BOX grid formats. */
807+
unsigned short Mesh_Box_PSolFEM; /*!< \brief FEM polynomial degree of the solution for the RECTANGLE and BOX grid formats. */
807808
string Mesh_FileName, /*!< \brief Mesh input file. */
808809
Mesh_Out_FileName, /*!< \brief Mesh output file. */
809810
Solution_FileName, /*!< \brief Flow solution input file. */
@@ -1004,7 +1005,7 @@ class CConfig {
10041005
bool ExtraOutput; /*!< \brief Check if extra output need. */
10051006
bool Wall_Functions; /*!< \brief Use wall functions with the turbulence model */
10061007
long ExtraHeatOutputZone; /*!< \brief Heat solver zone with extra screen output */
1007-
bool DeadLoad; /*!< \brief Application of dead loads to the FE analysis */
1008+
bool CentrifugalForce; /*!< \brief Application of centrifugal forces to the FE analysis */
10081009
bool PseudoStatic; /*!< \brief Application of dead loads to the FE analysis */
10091010
bool SteadyRestart; /*!< \brief Restart from a steady state for FSI problems. */
10101011
su2double Newmark_beta, /*!< \brief Parameter alpha for Newmark method. */
@@ -1013,10 +1014,13 @@ class CConfig {
10131014
su2double *Int_Coeffs; /*!< \brief Time integration coefficients for structural method. */
10141015
unsigned short nElasticityMod, /*!< \brief Number of different values for the elasticity modulus. */
10151016
nPoissonRatio, /*!< \brief Number of different values for the Poisson ratio modulus. */
1016-
nMaterialDensity; /*!< \brief Number of different values for the Material density. */
1017+
nMaterialDensity, /*!< \brief Number of different values for the Material density. */
1018+
nMaterialThermalExpansion; /*!< \brief Number of different values for thermal expansion coefficient. */
10171019
su2double *ElasticityMod, /*!< \brief Value of the elasticity moduli. */
10181020
*PoissonRatio, /*!< \brief Value of the Poisson ratios. */
1019-
*MaterialDensity; /*!< \brief Value of the Material densities. */
1021+
*MaterialDensity, /*!< \brief Value of the Material densities. */
1022+
*MaterialThermalExpansion, /*!< \brief Value of the thermal expansion coefficients. */
1023+
MaterialReferenceTemperature; /*!< \brief Value of the reference temperature for thermal expansion. */
10201024
unsigned short nElectric_Field, /*!< \brief Number of different values for the electric field in the membrane. */
10211025
nDim_Electric_Field; /*!< \brief Dimensionality of the problem. */
10221026
unsigned short nDim_RefNode; /*!< \brief Dimensionality of the vector . */
@@ -1109,7 +1113,7 @@ class CConfig {
11091113
bool Radiation; /*!< \brief Determines if a radiation model is incorporated. */
11101114
su2double CFL_Rad; /*!< \brief CFL Number for the radiation solver. */
11111115

1112-
array<su2double,5> default_cfl_adapt; /*!< \brief Default CFL adapt param array for the COption class. */
1116+
array<su2double,6> default_cfl_adapt; /*!< \brief Default CFL adapt param array for the COption class. */
11131117
su2double vel_init[3], /*!< \brief initial velocity array for the COption class. */
11141118
vel_inf[3], /*!< \brief freestream velocity array for the COption class. */
11151119
eng_cyl[7], /*!< \brief engine box array for the COption class. */
@@ -2389,6 +2393,16 @@ class CConfig {
23892393
*/
23902394
su2double GetMaterialDensity(unsigned short id_val) const { return MaterialDensity[id_val]; }
23912395

2396+
/*!
2397+
* \brief Get the thermal expansion coefficient.
2398+
*/
2399+
su2double GetMaterialThermalExpansion(unsigned short id_val) const { return MaterialThermalExpansion[id_val]; }
2400+
2401+
/*!
2402+
* \brief Temperature at which there is no stress from thermal expansion.
2403+
*/
2404+
su2double GetMaterialReferenceTemperature() const { return MaterialReferenceTemperature; }
2405+
23922406
/*!
23932407
* \brief Compressibility/incompressibility of the solids analysed using the structural solver.
23942408
* \return Compressible or incompressible.
@@ -5490,6 +5504,12 @@ class CConfig {
54905504
*/
54915505
bool GetRead_Binary_Restart(void) const { return Read_Binary_Restart; }
54925506

5507+
/*!
5508+
* \brief Flag for whether restart files contain only necessary variables.
5509+
* \return Flag <code>TRUE</code> then the code will write compact restart files.
5510+
*/
5511+
bool GetWrt_Restart_Compact(void) const { return Wrt_Restart_Compact; }
5512+
54935513
/*!
54945514
* \brief Flag for whether restart solution files are overwritten.
54955515
* \return Flag for overwriting. If Flag=false, iteration nr is appended to filename
@@ -6318,12 +6338,6 @@ class CConfig {
63186338
*/
63196339
bool GetAxisymmetric(void) const { return Axisymmetric; }
63206340

6321-
/*!
6322-
* \brief Get information about there is a smoothing of the grid coordinates.
6323-
* \return <code>TRUE</code> if there is smoothing of the grid coordinates; otherwise <code>FALSE</code>.
6324-
*/
6325-
unsigned short GetSmoothNumGrid(void) const { return SmoothNumGrid; }
6326-
63276341
/*!
63286342
* \brief Subtract one to the index of the finest grid (full multigrid strategy).
63296343
* \return Change the index of the finest grid.
@@ -8929,10 +8943,9 @@ class CConfig {
89298943
su2double GetAitkenDynMinInit(void) const { return AitkenDynMinInit; }
89308944

89318945
/*!
8932-
* \brief Decide whether to apply dead loads to the model.
8933-
* \return <code>TRUE</code> if the dead loads are to be applied, <code>FALSE</code> otherwise.
8946+
* \brief Decide whether to apply centrifugal forces to the model.
89348947
*/
8935-
bool GetDeadLoad(void) const { return DeadLoad; }
8948+
bool GetCentrifugalForce(void) const { return CentrifugalForce; }
89368949

89378950
/*!
89388951
* \brief Identifies if the mesh is matching or not (temporary, while implementing interpolation procedures).
@@ -9594,6 +9607,12 @@ class CConfig {
95949607
*/
95959608
su2double GetMeshBoxOffset(unsigned short val_iDim) const { return mesh_box_offset[val_iDim]; }
95969609

9610+
/*!
9611+
* \brief Get the polynomial degree of the FEM solution for the analytic RECTANGLE or BOX.
9612+
* \return The polynomial degree of the FEM solution.
9613+
*/
9614+
unsigned short GetMeshBoxPSolFEM(void) const { return Mesh_Box_PSolFEM; }
9615+
95979616
/*!
95989617
* \brief Get the number of screen output variables requested (maximum 6)
95999618
*/

Common/include/fem/fem_cgns_elements.hpp

Lines changed: 0 additions & 198 deletions
This file was deleted.

0 commit comments

Comments
 (0)