Skip to content

Commit 21d94fd

Browse files
authored
Merge branch 'develop' into feature_newton
2 parents 05cd390 + 9ab0335 commit 21d94fd

32 files changed

Lines changed: 668 additions & 1776 deletions

Common/include/CConfig.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ class CConfig {
660660
nMarker_ZoneInterface, /*!< \brief Number of markers in the zone interface. */
661661
nMarker_Plotting, /*!< \brief Number of markers to plot. */
662662
nMarker_Analyze, /*!< \brief Number of markers to analyze. */
663-
nMarker_Moving, /*!< \brief Number of markers in motion (DEFORMING, MOVING_WALL, or FLUID_STRUCTURE). */
663+
nMarker_Moving, /*!< \brief Number of markers in motion (DEFORMING, MOVING_WALL). */
664664
nMarker_PyCustom, /*!< \brief Number of markers that are customizable in Python. */
665665
nMarker_DV, /*!< \brief Number of markers affected by the design variables. */
666666
nMarker_WallFunctions; /*!< \brief Number of markers for which wall functions must be applied. */
@@ -670,7 +670,7 @@ class CConfig {
670670
*Marker_Plotting, /*!< \brief Markers to plot. */
671671
*Marker_Analyze, /*!< \brief Markers to analyze. */
672672
*Marker_ZoneInterface, /*!< \brief Markers in the FSI interface. */
673-
*Marker_Moving, /*!< \brief Markers in motion (DEFORMING, MOVING_WALL, or FLUID_STRUCTURE). */
673+
*Marker_Moving, /*!< \brief Markers in motion (DEFORMING, MOVING_WALL). */
674674
*Marker_PyCustom, /*!< \brief Markers that are customizable in Python. */
675675
*Marker_DV, /*!< \brief Markers affected by the design variables. */
676676
*Marker_WallFunctions; /*!< \brief Markers for which wall functions must be applied. */

Common/include/option_structure.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ enum ENUM_MAIN_SOLVER {
176176
INC_NAVIER_STOKES =5, /*!< \brief Definition of the incompressible Navier-Stokes' solver. */
177177
INC_RANS = 6, /*!< \brief Definition of the incompressible Reynolds-averaged Navier-Stokes' (RANS) solver. */
178178
HEAT_EQUATION = 7, /*!< \brief Definition of the finite volume heat solver. */
179-
FLUID_STRUCTURE_INTERACTION = 8, /*!< \brief Definition of a FSI solver. */
180179
FEM_ELASTICITY = 9, /*!< \brief Definition of a FEM solver. */
181180
ADJ_EULER = 10, /*!< \brief Definition of the continuous adjoint Euler's solver. */
182181
ADJ_NAVIER_STOKES = 11, /*!< \brief Definition of the continuous adjoint Navier-Stokes' solver. */
@@ -231,7 +230,6 @@ static const MapType<string, ENUM_MAIN_SOLVER> Solver_Map = {
231230
MakePair("DISC_ADJ_FEM_RANS", DISC_ADJ_FEM_RANS)
232231
MakePair("DISC_ADJ_FEM_NS", DISC_ADJ_FEM_NS)
233232
MakePair("DISC_ADJ_FEM", DISC_ADJ_FEM)
234-
MakePair("FLUID_STRUCTURE_INTERACTION", FLUID_STRUCTURE_INTERACTION)
235233
MakePair("TEMPLATE_SOLVER", TEMPLATE_SOLVER)
236234
MakePair("MULTIPHYSICS", MULTIPHYSICS)
237235
};
@@ -698,7 +696,6 @@ enum ENUM_SURFACEMOVEMENT {
698696
MOVING_WALL = 2, /*!< \brief Simulation with moving wall. */
699697
AEROELASTIC = 3, /*!< \brief Simulation with aeroelastic motion. */
700698
AEROELASTIC_RIGID_MOTION = 4, /*!< \brief Simulation with rotation and aeroelastic motion. */
701-
FLUID_STRUCTURE = 5, /*!< \brief Fluid structure deformation. */
702699
EXTERNAL = 6, /*!< \brief Simulation with external motion. */
703700
EXTERNAL_ROTATION = 7, /*!< \brief Simulation with external rotation motion. */
704701
};
@@ -707,7 +704,6 @@ static const MapType<string, ENUM_SURFACEMOVEMENT> SurfaceMovement_Map = {
707704
MakePair("MOVING_WALL", MOVING_WALL)
708705
MakePair("AEROELASTIC_RIGID_MOTION", AEROELASTIC_RIGID_MOTION)
709706
MakePair("AEROELASTIC", AEROELASTIC)
710-
MakePair("FLUID_STRUCTURE", FLUID_STRUCTURE)
711707
MakePair("EXTERNAL", EXTERNAL)
712708
MakePair("EXTERNAL_ROTATION", EXTERNAL_ROTATION)
713709
};

Common/src/CConfig.cpp

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3128,13 +3128,6 @@ void CConfig::SetnZone(){
31283128

31293129
}
31303130

3131-
/*--- Temporary fix until Multizone Disc. Adj. solver is ready ---- */
3132-
3133-
if (Kind_Solver == FLUID_STRUCTURE_INTERACTION){
3134-
3135-
nZone = GetnZone(Mesh_FileName, Mesh_FileFormat);
3136-
3137-
}
31383131
}
31393132

31403133
void CConfig::SetPostprocessing(unsigned short val_software, unsigned short val_izone, unsigned short val_nDim) {
@@ -3577,11 +3570,7 @@ void CConfig::SetPostprocessing(unsigned short val_software, unsigned short val_
35773570
}
35783571
}
35793572

3580-
if ((nKind_SurfaceMovement > 1) && GetSurface_Movement(FLUID_STRUCTURE)) {
3581-
SU2_MPI::Error("FSI in combination with moving surfaces is currently not supported.", CURRENT_FUNCTION);
3582-
}
3583-
3584-
if ((nKind_SurfaceMovement != nMarker_Moving) && !GetSurface_Movement(FLUID_STRUCTURE)) {
3573+
if (nKind_SurfaceMovement != nMarker_Moving) {
35853574
SU2_MPI::Error("Number of KIND_SURFACE_MOVEMENT must match number of MARKER_MOVING", CURRENT_FUNCTION);
35863575
}
35873576

@@ -5604,7 +5593,6 @@ void CConfig::SetOutput(unsigned short val_software, unsigned short val_izone) {
56045593
case RIGID_MOTION: cout << "rigid mesh motion." << endl; break;
56055594
case MOVING_HTP: cout << "HTP moving." << endl; break;
56065595
case ROTATING_FRAME: cout << "rotating reference frame." << endl; break;
5607-
case FLUID_STRUCTURE: cout << "fluid-structure motion." << endl; break;
56085596
case EXTERNAL: cout << "externally prescribed motion." << endl; break;
56095597
}
56105598
}
@@ -8315,7 +8303,6 @@ bool CConfig::GetVolumetric_Movement() const {
83158303

83168304
if (GetSurface_Movement(AEROELASTIC) ||
83178305
GetSurface_Movement(AEROELASTIC_RIGID_MOTION)||
8318-
GetSurface_Movement(FLUID_STRUCTURE) ||
83198306
GetSurface_Movement(EXTERNAL) ||
83208307
GetSurface_Movement(EXTERNAL_ROTATION)){
83218308
volumetric_movement = true;

0 commit comments

Comments
 (0)