|
5 | 5 | * \author F. Palacios, T. Economon, B. Tracey |
6 | 6 | * \version 3.2.9 "eagle" |
7 | 7 | * |
8 | | - * SU2 Lead Developers: Dr. Francisco Palacios ([email protected]). |
| 8 | + * SU2 Lead Developers: Dr. Francisco Palacios ([email protected]). |
9 | 9 | * Dr. Thomas D. Economon ([email protected]). |
10 | 10 | * |
11 | 11 | * SU2 Developers: Prof. Juan J. Alonso's group at Stanford University. |
@@ -238,6 +238,7 @@ class CConfig { |
238 | 238 | double *ActDisk_PressJump; |
239 | 239 | double *ActDisk_TempJump; |
240 | 240 | double *ActDisk_Omega; |
| 241 | + unsigned short *ActDisk_Distribution; |
241 | 242 | double **Periodic_RotCenter; /*!< \brief Rotational center for each periodic boundary. */ |
242 | 243 | double **Periodic_RotAngles; /*!< \brief Rotation angles for each periodic boundary. */ |
243 | 244 | double **Periodic_Translation; /*!< \brief Translation vector for each periodic boundary. */ |
@@ -421,6 +422,7 @@ class CConfig { |
421 | 422 | bool Fixed_CL_Mode; /*!< \brief Activate fixed CL mode (external flow only). */ |
422 | 423 | double Target_CL; /*!< \brief Specify a target CL instead of AoA (external flow only). */ |
423 | 424 | double Damp_Fixed_CL; /*!< \brief Damping coefficient for fixed CL mode (external flow only). */ |
| 425 | + unsigned long Iter_Fixed_CL; /*!< \brief Iterations to re-evaluate the angle of attack (external flow only). */ |
424 | 426 | bool Update_AoA; /*!< \brief Boolean flag for whether to update the AoA for fixed lift mode on a given iteration. */ |
425 | 427 | double ChargeCoeff; /*!< \brief Charge coefficient (just for poisson problems). */ |
426 | 428 | double *U_FreeStreamND; /*!< \brief Reference variables at the infinity, free stream values. */ |
@@ -926,12 +928,13 @@ class CConfig { |
926 | 928 | } |
927 | 929 |
|
928 | 930 | void addActuatorDiskOption(const string & name, unsigned short & nMarker_ActDisk_Inlet, unsigned short & nMarker_ActDisk_Outlet, |
929 | | - string* & Marker_ActDisk_Inlet, string* & Marker_ActDisk_Outlet, |
930 | | - double** & ActDisk_Origin, double* & ActDisk_RootRadius, double* & ActDisk_TipRadius, |
931 | | - double* & ActDisk_PressJump, double* & ActDisk_TempJump, double* & ActDisk_Omega) { |
| 931 | + string* & Marker_ActDisk_Inlet, string* & Marker_ActDisk_Outlet, |
| 932 | + double** & ActDisk_Origin, double* & ActDisk_RootRadius, double* & ActDisk_TipRadius, |
| 933 | + double* & ActDisk_PressJump, double* & ActDisk_TempJump, double* & ActDisk_Omega, |
| 934 | + unsigned short* & ActDisk_Distribution) { |
932 | 935 | assert(option_map.find(name) == option_map.end()); |
933 | 936 | all_options.insert(pair<string, bool>(name, true)); |
934 | | - COptionBase* val = new COptionActuatorDisk(name, nMarker_ActDisk_Inlet, nMarker_ActDisk_Outlet, Marker_ActDisk_Inlet, Marker_ActDisk_Outlet, ActDisk_Origin, ActDisk_RootRadius, ActDisk_TipRadius, ActDisk_PressJump, ActDisk_TempJump, ActDisk_Omega); |
| 937 | + COptionBase* val = new COptionActuatorDisk(name, nMarker_ActDisk_Inlet, nMarker_ActDisk_Outlet, Marker_ActDisk_Inlet, Marker_ActDisk_Outlet, ActDisk_Origin, ActDisk_RootRadius, ActDisk_TipRadius, ActDisk_PressJump, ActDisk_TempJump, ActDisk_Omega, ActDisk_Distribution); |
935 | 938 | option_map.insert(pair<string, COptionBase *>(name, val)); |
936 | 939 | } |
937 | 940 |
|
@@ -4557,7 +4560,12 @@ class CConfig { |
4557 | 4560 | * \brief Get the rev / min of the actuator disk. |
4558 | 4561 | */ |
4559 | 4562 | double GetActDisk_Omega(string val_marker); |
4560 | | - |
| 4563 | + |
| 4564 | + /*! |
| 4565 | + * \brief Get the rev / min of the actuator disk. |
| 4566 | + */ |
| 4567 | + unsigned short GetActDisk_Distribution(string val_marker); |
| 4568 | + |
4561 | 4569 | /*! |
4562 | 4570 | * \brief Get Actuator Disk Outlet for boundary <i>val_marker</i> (actuator disk inlet). |
4563 | 4571 | * \return Actuator Disk Outlet from the config information for the marker <i>val_marker</i>. |
@@ -5155,7 +5163,13 @@ class CConfig { |
5155 | 5163 | * \return Damping coefficient for fixed CL mode. |
5156 | 5164 | */ |
5157 | 5165 | double GetDamp_Fixed_CL(void); |
5158 | | - |
| 5166 | + |
| 5167 | + /*! |
| 5168 | + * \brief Get the value of iterations to re-evaluate the angle of attack. |
| 5169 | + * \return Number of iterations. |
| 5170 | + */ |
| 5171 | + unsigned long GetIter_Fixed_CL(void); |
| 5172 | + |
5159 | 5173 | /*! |
5160 | 5174 | * \brief Set the value of the boolean for updating AoA in fixed lift mode. |
5161 | 5175 | * \param[in] val_update - the bool for whether to update the AoA. |
|
0 commit comments