|
3 | 3 | * \brief All the information about the definition of the physical problem. |
4 | 4 | * The subroutines and functions are in the <i>CConfig.cpp</i> file. |
5 | 5 | * \author F. Palacios, T. Economon, B. Tracey |
6 | | - * \version 7.0.7 "Blackbird" |
| 6 | + * \version 7.0.8 "Blackbird" |
7 | 7 | * |
8 | 8 | * SU2 Project Website: https://su2code.github.io |
9 | 9 | * |
@@ -600,8 +600,9 @@ class CConfig { |
600 | 600 | Kappa_4th_Flow, /*!< \brief JST 4th order dissipation coefficient for flow equations. */ |
601 | 601 | Kappa_2nd_Heat, /*!< \brief 2nd order dissipation coefficient for heat equation. */ |
602 | 602 | Kappa_4th_Heat, /*!< \brief 4th order dissipation coefficient for heat equation. */ |
603 | | - Cent_Jac_Fix_Factor; /*!< \brief Multiply the dissipation contribution to the Jacobian of central schemes |
| 603 | + Cent_Jac_Fix_Factor, /*!< \brief Multiply the dissipation contribution to the Jacobian of central schemes |
604 | 604 | by this factor to make the global matrix more diagonal dominant. */ |
| 605 | + Cent_Inc_Jac_Fix_Factor; /*!< \brief Multiply the dissipation contribution to the Jacobian of incompressible central schemes */ |
605 | 606 | su2double Geo_Waterline_Location; /*!< \brief Location of the waterline. */ |
606 | 607 |
|
607 | 608 | su2double Min_Beta_RoeTurkel, /*!< \brief Minimum value of Beta for the Roe-Turkel low Mach preconditioner. */ |
@@ -1109,7 +1110,6 @@ class CConfig { |
1109 | 1110 | unsigned short Comm_Level; /*!< \brief Level of MPI communications to be performed. */ |
1110 | 1111 | unsigned short Kind_Verification_Solution; /*!< \brief Verification solution for accuracy assessment. */ |
1111 | 1112 |
|
1112 | | - ofstream *ConvHistFile; /*!< \brief Store the pointer to each history file */ |
1113 | 1113 | bool Time_Domain; /*!< \brief Determines if the multizone problem is solved in time-domain */ |
1114 | 1114 | unsigned long nOuterIter, /*!< \brief Determines the number of outer iterations in the multizone problem */ |
1115 | 1115 | nInnerIter, /*!< \brief Determines the number of inner iterations in each multizone block */ |
@@ -1162,7 +1162,9 @@ class CConfig { |
1162 | 1162 | su2double *Gas_Composition, /*!< \brief Initial mass fractions of flow [dimensionless] */ |
1163 | 1163 | pnorm_heat; /*!< \brief pnorm for heat-flux. */ |
1164 | 1164 | bool frozen, /*!< \brief Flag for determining if mixture is frozen. */ |
1165 | | - ionization; /*!< \brief Flag for determining if free electron gas is in the mixture. */ |
| 1165 | + ionization, /*!< \brief Flag for determining if free electron gas is in the mixture. */ |
| 1166 | + vt_transfer_res_limit, /*!< \brief Flag for determining if residual limiting for source term VT-transfer is used. */ |
| 1167 | + monoatomic; /*!< \brief Flag for monoatomic mixture. */ |
1166 | 1168 | string GasModel, /*!< \brief Gas Model. */ |
1167 | 1169 | *Wall_Catalytic; /*!< \brief Pointer to catalytic walls. */ |
1168 | 1170 |
|
@@ -4624,6 +4626,12 @@ class CConfig { |
4624 | 4626 | */ |
4625 | 4627 | su2double GetCent_Jac_Fix_Factor(void) const { return Cent_Jac_Fix_Factor; } |
4626 | 4628 |
|
| 4629 | + /*! |
| 4630 | + * \brief Factor by which to multiply the dissipation contribution to Jacobians of incompressible central schemes. |
| 4631 | + * \return The factor. |
| 4632 | + */ |
| 4633 | + su2double GetCent_Inc_Jac_Fix_Factor(void) const { return Cent_Inc_Jac_Fix_Factor; } |
| 4634 | + |
4627 | 4635 | /*! |
4628 | 4636 | * \brief Get the kind of integration scheme (explicit or implicit) |
4629 | 4637 | * for the adjoint flow equations. |
@@ -5135,21 +5143,19 @@ class CConfig { |
5135 | 5143 | bool GetHold_GridFixed(void) const { return Hold_GridFixed; } |
5136 | 5144 |
|
5137 | 5145 | /*! |
| 5146 | + * \author H. Kline |
5138 | 5147 | * \brief Get the kind of objective function. There are several options: Drag coefficient, |
5139 | 5148 | * Lift coefficient, efficiency, etc. |
5140 | 5149 | * \note The objective function will determine the boundary condition of the adjoint problem. |
| 5150 | + * \param[in] val_obj |
5141 | 5151 | * \return Kind of objective function. |
5142 | 5152 | */ |
5143 | | - unsigned short GetKind_ObjFunc(void) const { return Kind_ObjFunc[0]; } |
| 5153 | + unsigned short GetKind_ObjFunc(unsigned short val_obj = 0) const { return Kind_ObjFunc[val_obj]; } |
5144 | 5154 |
|
5145 | 5155 | /*! |
5146 | | - * \author H. Kline |
5147 | | - * \brief Get the kind of objective function. There are several options: Drag coefficient, |
5148 | | - * Lift coefficient, efficiency, etc. |
5149 | | - * \note The objective function will determine the boundary condition of the adjoint problem. |
5150 | | - * \return Kind of objective function. |
| 5156 | + * \brief Similar to GetKind_ObjFunc but returns the corresponding string. |
5151 | 5157 | */ |
5152 | | - unsigned short GetKind_ObjFunc(unsigned short val_obj) const { return Kind_ObjFunc[val_obj]; } |
| 5158 | + string GetName_ObjFunc(unsigned short val_obj = 0) const; |
5153 | 5159 |
|
5154 | 5160 | /*! |
5155 | 5161 | * \author H. Kline |
@@ -5178,12 +5184,6 @@ class CConfig { |
5178 | 5184 | */ |
5179 | 5185 | su2double GetCoeff_ObjChainRule(unsigned short iVar) const { return Obj_ChainRuleCoeff[iVar]; } |
5180 | 5186 |
|
5181 | | - /*! |
5182 | | - * \author H. Kline |
5183 | | - * \brief Get the flag indicating whether to comput a combined objective. |
5184 | | - */ |
5185 | | - bool GetComboObj(void); |
5186 | | - |
5187 | 5187 | /*! |
5188 | 5188 | * \brief Get the kind of sensitivity smoothing technique. |
5189 | 5189 | * \return Kind of sensitivity smoothing technique. |
@@ -5270,6 +5270,16 @@ class CConfig { |
5270 | 5270 | */ |
5271 | 5271 | bool GetIonization(void) const { return ionization; } |
5272 | 5272 |
|
| 5273 | + /*! |
| 5274 | + * \brief Indicates whether the VT source residual is limited. |
| 5275 | + */ |
| 5276 | + bool GetVTTransferResidualLimiting(void) const { return vt_transfer_res_limit; } |
| 5277 | + |
| 5278 | + /*! |
| 5279 | + * \brief Indicates if mixture is monoatomic. |
| 5280 | + */ |
| 5281 | + bool GetMonoatomic(void) const { return monoatomic; } |
| 5282 | + |
5273 | 5283 | /*! |
5274 | 5284 | * \brief Information about computing and plotting the equivalent area distribution. |
5275 | 5285 | * \return <code>TRUE</code> or <code>FALSE</code> depending if we are computing the equivalent area. |
@@ -8992,16 +9002,6 @@ class CConfig { |
8992 | 9002 | type = top_optim_proj_type; param = top_optim_proj_param; |
8993 | 9003 | } |
8994 | 9004 |
|
8995 | | - /*! |
8996 | | - * \brief Retrieve the ofstream of the history file for the current zone. |
8997 | | - */ |
8998 | | - ofstream* GetHistFile(void) { return ConvHistFile; } |
8999 | | - |
9000 | | - /*! |
9001 | | - * \brief Set the ofstream of the history file for the current zone. |
9002 | | - */ |
9003 | | - void SetHistFile(ofstream *HistFile) { ConvHistFile = HistFile; } |
9004 | | - |
9005 | 9005 | /*! |
9006 | 9006 | * \brief Get the filenames of the individual config files |
9007 | 9007 | * \return File name of the config file for zone "index" |
|
0 commit comments