Skip to content

Commit 5686134

Browse files
authored
Merge branch 'develop' into feature_AFT_2019_Model
2 parents 0de4e65 + 5db56f9 commit 5686134

File tree

110 files changed

+4972
-4195
lines changed

Some content is hidden

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

110 files changed

+4972
-4195
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: 32 additions & 13 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. */
@@ -701,6 +700,7 @@ class CConfig {
701700
unsigned long StartConv_Iter; /*!< \brief Start convergence criteria at iteration. */
702701
su2double Cauchy_Eps; /*!< \brief Epsilon used for the convergence. */
703702
bool Restart, /*!< \brief Restart solution (for direct, adjoint, and linearized problems).*/
703+
Wrt_Restart_Compact, /*!< \brief Write compact restart files with minimum nr. of variables. */
704704
Read_Binary_Restart, /*!< \brief Read binary SU2 native restart files.*/
705705
Wrt_Restart_Overwrite, /*!< \brief Overwrite restart files or append iteration number.*/
706706
Wrt_Surface_Overwrite, /*!< \brief Overwrite surface output files or append iteration number.*/
@@ -807,6 +807,7 @@ class CConfig {
807807
nRefOriginMoment_Z; /*!< \brief Number of Z-coordinate moment computation origins. */
808808
unsigned short nMesh_Box_Size;
809809
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. */
810+
unsigned short Mesh_Box_PSolFEM; /*!< \brief FEM polynomial degree of the solution for the RECTANGLE and BOX grid formats. */
810811
string Mesh_FileName, /*!< \brief Mesh input file. */
811812
Mesh_Out_FileName, /*!< \brief Mesh output file. */
812813
Solution_FileName, /*!< \brief Flow solution input file. */
@@ -1008,7 +1009,7 @@ class CConfig {
10081009
bool ExtraOutput; /*!< \brief Check if extra output need. */
10091010
bool Wall_Functions; /*!< \brief Use wall functions with the turbulence model */
10101011
long ExtraHeatOutputZone; /*!< \brief Heat solver zone with extra screen output */
1011-
bool DeadLoad; /*!< \brief Application of dead loads to the FE analysis */
1012+
bool CentrifugalForce; /*!< \brief Application of centrifugal forces to the FE analysis */
10121013
bool PseudoStatic; /*!< \brief Application of dead loads to the FE analysis */
10131014
bool SteadyRestart; /*!< \brief Restart from a steady state for FSI problems. */
10141015
su2double Newmark_beta, /*!< \brief Parameter alpha for Newmark method. */
@@ -1017,10 +1018,13 @@ class CConfig {
10171018
su2double *Int_Coeffs; /*!< \brief Time integration coefficients for structural method. */
10181019
unsigned short nElasticityMod, /*!< \brief Number of different values for the elasticity modulus. */
10191020
nPoissonRatio, /*!< \brief Number of different values for the Poisson ratio modulus. */
1020-
nMaterialDensity; /*!< \brief Number of different values for the Material density. */
1021+
nMaterialDensity, /*!< \brief Number of different values for the Material density. */
1022+
nMaterialThermalExpansion; /*!< \brief Number of different values for thermal expansion coefficient. */
10211023
su2double *ElasticityMod, /*!< \brief Value of the elasticity moduli. */
10221024
*PoissonRatio, /*!< \brief Value of the Poisson ratios. */
1023-
*MaterialDensity; /*!< \brief Value of the Material densities. */
1025+
*MaterialDensity, /*!< \brief Value of the Material densities. */
1026+
*MaterialThermalExpansion, /*!< \brief Value of the thermal expansion coefficients. */
1027+
MaterialReferenceTemperature; /*!< \brief Value of the reference temperature for thermal expansion. */
10241028
unsigned short nElectric_Field, /*!< \brief Number of different values for the electric field in the membrane. */
10251029
nDim_Electric_Field; /*!< \brief Dimensionality of the problem. */
10261030
unsigned short nDim_RefNode; /*!< \brief Dimensionality of the vector . */
@@ -2400,6 +2404,16 @@ class CConfig {
24002404
*/
24012405
su2double GetMaterialDensity(unsigned short id_val) const { return MaterialDensity[id_val]; }
24022406

2407+
/*!
2408+
* \brief Get the thermal expansion coefficient.
2409+
*/
2410+
su2double GetMaterialThermalExpansion(unsigned short id_val) const { return MaterialThermalExpansion[id_val]; }
2411+
2412+
/*!
2413+
* \brief Temperature at which there is no stress from thermal expansion.
2414+
*/
2415+
su2double GetMaterialReferenceTemperature() const { return MaterialReferenceTemperature; }
2416+
24032417
/*!
24042418
* \brief Compressibility/incompressibility of the solids analysed using the structural solver.
24052419
* \return Compressible or incompressible.
@@ -5507,6 +5521,12 @@ class CConfig {
55075521
*/
55085522
bool GetRead_Binary_Restart(void) const { return Read_Binary_Restart; }
55095523

5524+
/*!
5525+
* \brief Flag for whether restart files contain only necessary variables.
5526+
* \return Flag <code>TRUE</code> then the code will write compact restart files.
5527+
*/
5528+
bool GetWrt_Restart_Compact(void) const { return Wrt_Restart_Compact; }
5529+
55105530
/*!
55115531
* \brief Flag for whether restart solution files are overwritten.
55125532
* \return Flag for overwriting. If Flag=false, iteration nr is appended to filename
@@ -6335,12 +6355,6 @@ class CConfig {
63356355
*/
63366356
bool GetAxisymmetric(void) const { return Axisymmetric; }
63376357

6338-
/*!
6339-
* \brief Get information about there is a smoothing of the grid coordinates.
6340-
* \return <code>TRUE</code> if there is smoothing of the grid coordinates; otherwise <code>FALSE</code>.
6341-
*/
6342-
unsigned short GetSmoothNumGrid(void) const { return SmoothNumGrid; }
6343-
63446358
/*!
63456359
* \brief Subtract one to the index of the finest grid (full multigrid strategy).
63466360
* \return Change the index of the finest grid.
@@ -8946,10 +8960,9 @@ class CConfig {
89468960
su2double GetAitkenDynMinInit(void) const { return AitkenDynMinInit; }
89478961

89488962
/*!
8949-
* \brief Decide whether to apply dead loads to the model.
8950-
* \return <code>TRUE</code> if the dead loads are to be applied, <code>FALSE</code> otherwise.
8963+
* \brief Decide whether to apply centrifugal forces to the model.
89518964
*/
8952-
bool GetDeadLoad(void) const { return DeadLoad; }
8965+
bool GetCentrifugalForce(void) const { return CentrifugalForce; }
89538966

89548967
/*!
89558968
* \brief Identifies if the mesh is matching or not (temporary, while implementing interpolation procedures).
@@ -9611,6 +9624,12 @@ class CConfig {
96119624
*/
96129625
su2double GetMeshBoxOffset(unsigned short val_iDim) const { return mesh_box_offset[val_iDim]; }
96139626

9627+
/*!
9628+
* \brief Get the polynomial degree of the FEM solution for the analytic RECTANGLE or BOX.
9629+
* \return The polynomial degree of the FEM solution.
9630+
*/
9631+
unsigned short GetMeshBoxPSolFEM(void) const { return Mesh_Box_PSolFEM; }
9632+
96149633
/*!
96159634
* \brief Get the number of screen output variables requested (maximum 6)
96169635
*/

Common/include/fem/fem_cgns_elements.hpp

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

Common/include/fem/fem_geometry_structure.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030

3131
#include "../geometry/CGeometry.hpp"
3232
#include "fem_standard_element.hpp"
33-
#ifdef HAVE_CGNS
34-
#include "fem_cgns_elements.hpp"
35-
#endif
3633
#include "../wall_model.hpp"
3734
#include "../linear_algebra/blas_structure.hpp"
3835

Common/include/geometry/CGeometry.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -913,14 +913,6 @@ class CGeometry {
913913
*/
914914
inline virtual void SetMultiGridWallTemperature(const CGeometry* fine_grid, unsigned short val_marker) {}
915915

916-
/*!
917-
* \brief A virtual member.
918-
* \param[in] val_nSmooth - Number of smoothing iterations.
919-
* \param[in] val_smooth_coeff - Relaxation factor.
920-
* \param[in] config - Definition of the particular problem.
921-
*/
922-
inline virtual void SetCoord_Smoothing(unsigned short val_nSmooth, su2double val_smooth_coeff, CConfig* config) {}
923-
924916
/*!
925917
* \brief A virtual member.
926918
* \param[in] fine_grid - Geometrical definition of the child grid (for multigrid).

0 commit comments

Comments
 (0)