@@ -138,6 +138,7 @@ class CConfig {
138138 su2double Buffet_lambda; /* !< \brief Offset parameter for buffet sensor.*/
139139 su2double Damp_Engine_Inflow; /* !< \brief Damping factor for the engine inlet. */
140140 su2double Damp_Engine_Exhaust; /* !< \brief Damping factor for the engine exhaust. */
141+ unsigned long Bc_Eval_Freq; /* !< \brief Evaluation frequency for Engine and Actuator disk markers. */
141142 su2double Damp_Res_Restric, /* !< \brief Damping factor for the residual restriction. */
142143 Damp_Correc_Prolong; /* !< \brief Damping factor for the correction prolongation. */
143144 su2double Position_Plane; /* !< \brief Position of the Near-Field (y coordinate 2D, and z coordinate 3D). */
@@ -236,6 +237,7 @@ class CConfig {
236237 *Marker_MixingPlaneInterface, /* !< \brief MixingPlane interface boundary markers. */
237238 *Marker_TurboBoundIn, /* !< \brief Turbomachinery performance boundary markers. */
238239 *Marker_TurboBoundOut, /* !< \brief Turbomachinery performance boundary donor markers. */
240+ *Marker_Turbomachinery, /* !< \breif Turbomachinery markers */
239241 *Marker_NearFieldBound, /* !< \brief Near Field boundaries markers. */
240242 *Marker_Deform_Mesh, /* !< \brief Deformable markers at the boundary. */
241243 *Marker_Deform_Mesh_Sym_Plane, /* !< \brief Marker with symmetric deformation. */
@@ -442,6 +444,7 @@ class CConfig {
442444
443445 TURBO_PERF_KIND *Kind_TurboPerf; /* !< \brief Kind of turbomachynery architecture.*/
444446 TURBOMACHINERY_TYPE *Kind_TurboMachinery;
447+ su2vector<TURBO_INTERFACE_KIND> Kind_TurboInterface;
445448
446449 /* Turbomachinery objective functions */
447450 su2double *EntropyGeneration;
@@ -470,6 +473,7 @@ class CConfig {
470473 unsigned short * nDV_Value; /* !< \brief Number of values for each design variable (might be different than 1 if we allow arbitrary movement). */
471474 unsigned short nFFDBox; /* !< \brief Number of ffd boxes. */
472475 unsigned short nTurboMachineryKind; /* !< \brief Number turbomachinery types specified. */
476+ unsigned short nTurboInterfaces; /* !< \brief Number of turbomachiery interfaces */
473477 unsigned short nParamDV; /* !< \brief Number of parameters of the design variable. */
474478 string DV_Filename; /* !< \brief Filename for providing surface positions from an external parameterization. */
475479 string DV_Unordered_Sens_Filename; /* !< \brief Filename of volume sensitivities in an unordered ASCII format. */
@@ -750,6 +754,7 @@ class CConfig {
750754 *Marker_All_Turbomachinery, /* !< \brief Global index for Turbomachinery markers using the grid information. */
751755 *Marker_All_TurbomachineryFlag, /* !< \brief Global index for Turbomachinery markers flag using the grid information. */
752756 *Marker_All_MixingPlaneInterface, /* !< \brief Global index for MixingPlane interface markers using the grid information. */
757+ *Marker_All_Giles, /* !< \brief Global index for Giles markers using the grid information. */
753758 *Marker_All_DV, /* !< \brief Global index for design variable markers using the grid information. */
754759 *Marker_All_Moving, /* !< \brief Global index for moving surfaces using the grid information. */
755760 *Marker_All_Deform_Mesh, /* !< \brief Global index for deformable markers at the boundary. */
@@ -767,6 +772,7 @@ class CConfig {
767772 *Marker_CfgFile_Turbomachinery, /* !< \brief Global index for Turbomachinery using the config information. */
768773 *Marker_CfgFile_TurbomachineryFlag, /* !< \brief Global index for Turbomachinery flag using the config information. */
769774 *Marker_CfgFile_MixingPlaneInterface, /* !< \brief Global index for MixingPlane interface using the config information. */
775+ *Marker_CfgFile_Giles, /* !< \brief Global index for Giles markers flag using the config information. */
770776 *Marker_CfgFile_Moving, /* !< \brief Global index for moving surfaces using the config information. */
771777 *Marker_CfgFile_Deform_Mesh, /* !< \brief Global index for deformable markers at the boundary. */
772778 *Marker_CfgFile_Deform_Mesh_Sym_Plane, /* !< \brief Global index for markers with symmetric deformations. */
@@ -1051,7 +1057,8 @@ class CConfig {
10511057 long ParMETIS_pointWgt; /* !< \brief Load balancing weight given to points. */
10521058 long ParMETIS_edgeWgt; /* !< \brief Load balancing weight given to edges. */
10531059 unsigned short DirectDiff; /* !< \brief Direct Differentation mode. */
1054- bool DiscreteAdjoint; /* !< \brief AD-based discrete adjoint mode. */
1060+ bool DiscreteAdjoint, /* !< \brief AD-based discrete adjoint mode. */
1061+ DiscreteAdjointDebug; /* !< \brief Discrete adjoint debug mode using tags. */
10551062 su2double Const_DES; /* !< \brief Detached Eddy Simulation Constant. */
10561063 WINDOW_FUNCTION Kind_WindowFct; /* !< \brief Type of window (weight) function for objective functional. */
10571064 unsigned short Kind_HybridRANSLES; /* !< \brief Kind of Hybrid RANS/LES. */
@@ -1379,7 +1386,7 @@ class CConfig {
13791386 su2double** & RotCenter, su2double** & RotAngles, su2double** & Translation);
13801387
13811388 void addTurboPerfOption (const string & name, unsigned short & nMarker_TurboPerf,
1382- string* & Marker_TurboBoundIn, string* & Marker_TurboBoundOut);
1389+ string* & Marker_TurboBoundIn, string* & Marker_TurboBoundOut, string* & Marker_Turbomachinery );
13831390
13841391 void addActDiskOption (const string & name,
13851392 unsigned short & nMarker_ActDiskInlet, unsigned short & nMarker_ActDiskOutlet, string* & Marker_ActDiskInlet, string* & Marker_ActDiskOutlet,
@@ -3517,6 +3524,13 @@ class CConfig {
35173524 */
35183525 void SetMarker_All_MixingPlaneInterface (unsigned short val_marker, unsigned short val_mixpla_interface) { Marker_All_MixingPlaneInterface[val_marker] = val_mixpla_interface; }
35193526
3527+ /* !
3528+ * \brief Set if a marker <i>val_marker</i> is part of the Giles boundary (read from the config file).
3529+ * \param[in] val_marker - Index of the marker in which we are interested.
3530+ * \param[in] val_giles - 0 if not part of the Giles boundary or greater than 1 if it is part.
3531+ */
3532+ void SetMarker_All_Giles (unsigned short val_marker, unsigned short val_giles) { Marker_All_Giles[val_marker] = val_giles; }
3533+
35203534 /* !
35213535 * \brief Set if a marker <i>val_marker</i> is going to be affected by design variables <i>val_moving</i>
35223536 * (read from the config file).
@@ -3663,6 +3677,13 @@ class CConfig {
36633677 */
36643678 unsigned short GetMarker_All_TurbomachineryFlag (unsigned short val_marker) const { return Marker_All_TurbomachineryFlag[val_marker]; }
36653679
3680+ /* !
3681+ * \brief Get the Giles boundary information for a marker <i>val_marker</i>.
3682+ * \param[in] val_marker value of the marker on the grid.
3683+ * \return 0 if is not part of the MixingPlane Interface and greater than 1 if it is part.
3684+ */
3685+ unsigned short GetMarker_All_Giles (unsigned short val_marker) const { return Marker_All_Giles[val_marker]; }
3686+
36663687 /* !
36673688 * \brief Get the number of FSI interface markers <i>val_marker</i>.
36683689 * \param[in] void.
@@ -5339,6 +5360,12 @@ class CConfig {
53395360 */
53405361 TURBO_PERF_KIND GetKind_TurboPerf (unsigned short val_iZone) const { return Kind_TurboPerf[val_iZone]; };
53415362
5363+ /* !
5364+ * \brief gets interface kind for an interface marker in turbomachinery problem
5365+ * \return interface kind
5366+ */
5367+ TURBO_INTERFACE_KIND GetKind_TurboInterface (unsigned short interfaceIndex) const { return Kind_TurboInterface[interfaceIndex]; }
5368+
53425369 /* !
53435370 * \brief get outlet bounds name for Turbomachinery performance calculation.
53445371 * \return name of the bound.
@@ -6402,6 +6429,12 @@ class CConfig {
64026429 */
64036430 unsigned short GetMarker_CfgFile_MixingPlaneInterface (const string& val_marker) const ;
64046431
6432+ /* !
6433+ * \brief Get the Giles boundary information from the config definition for the marker <i>val_marker</i>.
6434+ * \return Plotting information of the boundary in the config information for the marker <i>val_marker</i>.
6435+ */
6436+ unsigned short GetMarker_CfgFile_Giles (const string& val_marker) const ;
6437+
64056438 /* !
64066439 * \brief Get the DV information from the config definition for the marker <i>val_marker</i>.
64076440 * \return DV information of the boundary in the config information for the marker <i>val_marker</i>.
@@ -6520,6 +6553,12 @@ class CConfig {
65206553 */
65216554 su2double GetMinLogResidual (void ) const { return MinLogResidual; }
65226555
6556+ /* !
6557+ * \brief Evaluation frequency for Engine and Actuator disk markers.
6558+ * \return Value Evaluation frequency .
6559+ */
6560+ unsigned long GetBc_Eval_Freq (void ) const { return Bc_Eval_Freq; }
6561+
65236562 /* !
65246563 * \brief Value of the damping factor for the engine inlet bc.
65256564 * \return Value of the damping factor.
@@ -8911,6 +8950,12 @@ class CConfig {
89118950 */
89128951 bool GetDiscrete_Adjoint (void ) const { return DiscreteAdjoint; }
89138952
8953+ /* !
8954+ * \brief Get the indicator whether a debug run for the discrete adjoint solver will be started.
8955+ * \return the discrete adjoint debug indicator.
8956+ */
8957+ bool GetDiscrete_Adjoint_Debug (void ) const { return DiscreteAdjointDebug; }
8958+
89148959 /* !
89158960 * \brief Get the number of subiterations while a ramp is applied.
89168961 * \return Number of FSI subiters.
0 commit comments