Skip to content

Commit

Permalink
Merge branch 'develop' into feature_AFT_2019_Model
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfooted authored Feb 10, 2025
2 parents 0de4e65 + 5db56f9 commit 5686134
Show file tree
Hide file tree
Showing 110 changed files with 4,972 additions and 4,195 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@
[submodule "subprojects/MLPCpp"]
path = subprojects/MLPCpp
url = https://github.com/EvertBunschoten/MLPCpp.git
[submodule "externals/FADO"]
path = externals/FADO
url = https://github.com/pcarruscag/FADO.git
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ Thomas D. Economon
Tim Albring
TobiKattmann
Trent Lukaczyk
Vikram Bharadwaj
Vinzenz Götz
VivaanKhatri
Wally Maier
Expand Down
45 changes: 32 additions & 13 deletions Common/include/CConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ class CConfig {
su2double Opt_RelaxFactor; /*!< \brief Scale factor for the line search. */
su2double Opt_LineSearch_Bound; /*!< \brief Bounds for the line search. */
su2double StartTime;
unsigned short SmoothNumGrid; /*!< \brief Smooth the numerical grid. */
bool ContinuousAdjoint, /*!< \brief Flag to know if the code is solving an adjoint problem. */
Viscous, /*!< \brief Flag to know if the code is solving a viscous problem. */
EquivArea, /*!< \brief Flag to know if the code is going to compute and plot the equivalent area. */
Expand Down Expand Up @@ -701,6 +700,7 @@ class CConfig {
unsigned long StartConv_Iter; /*!< \brief Start convergence criteria at iteration. */
su2double Cauchy_Eps; /*!< \brief Epsilon used for the convergence. */
bool Restart, /*!< \brief Restart solution (for direct, adjoint, and linearized problems).*/
Wrt_Restart_Compact, /*!< \brief Write compact restart files with minimum nr. of variables. */
Read_Binary_Restart, /*!< \brief Read binary SU2 native restart files.*/
Wrt_Restart_Overwrite, /*!< \brief Overwrite restart files or append iteration number.*/
Wrt_Surface_Overwrite, /*!< \brief Overwrite surface output files or append iteration number.*/
Expand Down Expand Up @@ -807,6 +807,7 @@ class CConfig {
nRefOriginMoment_Z; /*!< \brief Number of Z-coordinate moment computation origins. */
unsigned short nMesh_Box_Size;
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. */
unsigned short Mesh_Box_PSolFEM; /*!< \brief FEM polynomial degree of the solution for the RECTANGLE and BOX grid formats. */
string Mesh_FileName, /*!< \brief Mesh input file. */
Mesh_Out_FileName, /*!< \brief Mesh output file. */
Solution_FileName, /*!< \brief Flow solution input file. */
Expand Down Expand Up @@ -1008,7 +1009,7 @@ class CConfig {
bool ExtraOutput; /*!< \brief Check if extra output need. */
bool Wall_Functions; /*!< \brief Use wall functions with the turbulence model */
long ExtraHeatOutputZone; /*!< \brief Heat solver zone with extra screen output */
bool DeadLoad; /*!< \brief Application of dead loads to the FE analysis */
bool CentrifugalForce; /*!< \brief Application of centrifugal forces to the FE analysis */
bool PseudoStatic; /*!< \brief Application of dead loads to the FE analysis */
bool SteadyRestart; /*!< \brief Restart from a steady state for FSI problems. */
su2double Newmark_beta, /*!< \brief Parameter alpha for Newmark method. */
Expand All @@ -1017,10 +1018,13 @@ class CConfig {
su2double *Int_Coeffs; /*!< \brief Time integration coefficients for structural method. */
unsigned short nElasticityMod, /*!< \brief Number of different values for the elasticity modulus. */
nPoissonRatio, /*!< \brief Number of different values for the Poisson ratio modulus. */
nMaterialDensity; /*!< \brief Number of different values for the Material density. */
nMaterialDensity, /*!< \brief Number of different values for the Material density. */
nMaterialThermalExpansion; /*!< \brief Number of different values for thermal expansion coefficient. */
su2double *ElasticityMod, /*!< \brief Value of the elasticity moduli. */
*PoissonRatio, /*!< \brief Value of the Poisson ratios. */
*MaterialDensity; /*!< \brief Value of the Material densities. */
*MaterialDensity, /*!< \brief Value of the Material densities. */
*MaterialThermalExpansion, /*!< \brief Value of the thermal expansion coefficients. */
MaterialReferenceTemperature; /*!< \brief Value of the reference temperature for thermal expansion. */
unsigned short nElectric_Field, /*!< \brief Number of different values for the electric field in the membrane. */
nDim_Electric_Field; /*!< \brief Dimensionality of the problem. */
unsigned short nDim_RefNode; /*!< \brief Dimensionality of the vector . */
Expand Down Expand Up @@ -2400,6 +2404,16 @@ class CConfig {
*/
su2double GetMaterialDensity(unsigned short id_val) const { return MaterialDensity[id_val]; }

/*!
* \brief Get the thermal expansion coefficient.
*/
su2double GetMaterialThermalExpansion(unsigned short id_val) const { return MaterialThermalExpansion[id_val]; }

/*!
* \brief Temperature at which there is no stress from thermal expansion.
*/
su2double GetMaterialReferenceTemperature() const { return MaterialReferenceTemperature; }

/*!
* \brief Compressibility/incompressibility of the solids analysed using the structural solver.
* \return Compressible or incompressible.
Expand Down Expand Up @@ -5507,6 +5521,12 @@ class CConfig {
*/
bool GetRead_Binary_Restart(void) const { return Read_Binary_Restart; }

/*!
* \brief Flag for whether restart files contain only necessary variables.
* \return Flag <code>TRUE</code> then the code will write compact restart files.
*/
bool GetWrt_Restart_Compact(void) const { return Wrt_Restart_Compact; }

/*!
* \brief Flag for whether restart solution files are overwritten.
* \return Flag for overwriting. If Flag=false, iteration nr is appended to filename
Expand Down Expand Up @@ -6335,12 +6355,6 @@ class CConfig {
*/
bool GetAxisymmetric(void) const { return Axisymmetric; }

/*!
* \brief Get information about there is a smoothing of the grid coordinates.
* \return <code>TRUE</code> if there is smoothing of the grid coordinates; otherwise <code>FALSE</code>.
*/
unsigned short GetSmoothNumGrid(void) const { return SmoothNumGrid; }

/*!
* \brief Subtract one to the index of the finest grid (full multigrid strategy).
* \return Change the index of the finest grid.
Expand Down Expand Up @@ -8946,10 +8960,9 @@ class CConfig {
su2double GetAitkenDynMinInit(void) const { return AitkenDynMinInit; }

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

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

/*!
* \brief Get the polynomial degree of the FEM solution for the analytic RECTANGLE or BOX.
* \return The polynomial degree of the FEM solution.
*/
unsigned short GetMeshBoxPSolFEM(void) const { return Mesh_Box_PSolFEM; }

/*!
* \brief Get the number of screen output variables requested (maximum 6)
*/
Expand Down
198 changes: 0 additions & 198 deletions Common/include/fem/fem_cgns_elements.hpp

This file was deleted.

3 changes: 0 additions & 3 deletions Common/include/fem/fem_geometry_structure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@

#include "../geometry/CGeometry.hpp"
#include "fem_standard_element.hpp"
#ifdef HAVE_CGNS
#include "fem_cgns_elements.hpp"
#endif
#include "../wall_model.hpp"
#include "../linear_algebra/blas_structure.hpp"

Expand Down
8 changes: 0 additions & 8 deletions Common/include/geometry/CGeometry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -913,14 +913,6 @@ class CGeometry {
*/
inline virtual void SetMultiGridWallTemperature(const CGeometry* fine_grid, unsigned short val_marker) {}

/*!
* \brief A virtual member.
* \param[in] val_nSmooth - Number of smoothing iterations.
* \param[in] val_smooth_coeff - Relaxation factor.
* \param[in] config - Definition of the particular problem.
*/
inline virtual void SetCoord_Smoothing(unsigned short val_nSmooth, su2double val_smooth_coeff, CConfig* config) {}

/*!
* \brief A virtual member.
* \param[in] fine_grid - Geometrical definition of the child grid (for multigrid).
Expand Down
Loading

0 comments on commit 5686134

Please sign in to comment.