@@ -230,6 +230,9 @@ class CConfig {
230230 nMarker_CfgFile; /* !< \brief Total number of markers using the config file
231231 (note that using parallel computation this number can be different
232232 from nMarker_All). */
233+ bool Inlet_From_File; /* !< \brief True if the inlet profile is to be loaded from a file. */
234+ string Inlet_Filename; /* !< \brief Filename specifying an inlet profile. */
235+ su2double Inlet_Matching_Tol; /* !< \brief Tolerance used when matching a point to a point from the inlet file. */
233236 string *Marker_Euler, /* !< \brief Euler wall markers. */
234237 *Marker_FarField, /* !< \brief Far field markers. */
235238 *Marker_Custom,
@@ -417,6 +420,7 @@ class CConfig {
417420 unsigned short nGridMovement; /* !< \brief Number of grid movement types specified. */
418421 unsigned short nTurboMachineryKind; /* !< \brief Number turbomachinery types specified. */
419422 unsigned short nParamDV; /* !< \brief Number of parameters of the design variable. */
423+ string DV_Filename; /* !< \brief Filename for providing surface positions from an external parameterization. */
420424 su2double **ParamDV; /* !< \brief Parameters of the design variable. */
421425 su2double **CoordFFDBox; /* !< \brief Coordinates of the FFD boxes. */
422426 unsigned short **DegreeFFDBox; /* !< \brief Degree of the FFD boxes. */
@@ -726,20 +730,24 @@ class CConfig {
726730 Wrt_Vol_Sol, /* !< \brief Write a volume solution file */
727731 Wrt_Srf_Sol, /* !< \brief Write a surface solution file */
728732 Wrt_Csv_Sol, /* !< \brief Write a surface comma-separated values solution file */
733+ Wrt_Crd_Sol, /* !< \brief Write a binary file with the grid coordinates only. */
729734 Wrt_Residuals, /* !< \brief Write residuals to solution file */
730735 Wrt_Surface, /* !< \brief Write solution at each surface */
731736 Wrt_Limiters, /* !< \brief Write residuals to solution file */
732737 Wrt_SharpEdges, /* !< \brief Write residuals to solution file */
733738 Wrt_Halo, /* !< \brief Write rind layers in solution files */
739+ Wrt_Performance, /* !< \brief Write the performance summary at the end of a calculation. */
740+ Wrt_InletFile, /* !< \brief Write a template inlet profile file */
734741 Wrt_Slice, /* !< \brief Write 1D slice of a 2D cartesian solution */
735742 Plot_Section_Forces; /* !< \brief Write sectional forces for specified markers. */
736743 unsigned short Console_Output_Verb, /* !< \brief Level of verbosity for console output */
737744 Kind_Average; /* !< \brief Particular average for the marker analyze. */
738745 su2double Gamma, /* !< \brief Ratio of specific heats of the gas. */
739746 Bulk_Modulus, /* !< \brief Value of the bulk modulus for incompressible flows. */
740- ArtComp_Factor , /* !< \brief Value of the artificial compresibility factor for incompressible flows . */
747+ Beta_Factor , /* !< \brief Value of the epsilon^2 multiplier for Beta for the incompressible preconditioner . */
741748 Gas_Constant, /* !< \brief Specific gas constant. */
742749 Gas_ConstantND, /* !< \brief Non-dimensional specific gas constant. */
750+ Molecular_Weight, /* !< \brief Molecular weight of an incompressible ideal gas (g/mol). */
743751 Specific_Heat_Cp, /* !< \brief Specific heat at constant pressure. */
744752 Specific_Heat_CpND, /* !< \brief Non-dimensional specific heat at constant pressure. */
745753 Specific_Heat_Cp_Solid, /* !< \brief Specific heat in solids. */
@@ -838,7 +846,6 @@ class CConfig {
838846 su2double Thermal_Diffusivity; /* !< \brief Thermal diffusivity used in the heat solver. */
839847 su2double Cyclic_Pitch, /* !< \brief Cyclic pitch for rotorcraft simulations. */
840848 Collective_Pitch; /* !< \brief Collective pitch for rotorcraft simulations. */
841- string Motion_Filename; /* !< \brief Arbitrary mesh motion input base filename. */
842849 su2double Mach_Motion; /* !< \brief Mach number based on mesh velocity and freestream quantities. */
843850 su2double *Motion_Origin_X, /* !< \brief X-coordinate of the mesh motion origin. */
844851 *Motion_Origin_Y, /* !< \brief Y-coordinate of the mesh motion origin. */
@@ -1000,7 +1007,9 @@ class CConfig {
10001007 bool Body_Force; /* !< \brief Flag to know if a body force is included in the formulation. */
10011008 su2double *Body_Force_Vector; /* !< \brief Values of the prescribed body force vector. */
10021009 su2double *FreeStreamTurboNormal; /* !< \brief Direction to initialize the flow in turbomachinery computation */
1003- su2double Max_Beta; /* !< \brief Maximum Beta parameter (incompressible preconditioning) in the domain */
1010+ su2double Restart_Bandwidth_Agg; /* !< \brief The aggregate of the bandwidth for writing binary restarts (to be averaged later). */
1011+ su2double Max_Vel2; /* !< \brief The maximum velocity^2 in the domain for the incompressible preconditioner. */
1012+
10041013 ofstream *ConvHistFile; /* !< \brief Store the pointer to each history file */
10051014
10061015 /* --- all_options is a map containing all of the options. This is used during config file parsing
@@ -1545,10 +1554,10 @@ class CConfig {
15451554 su2double GetBulk_Modulus (void );
15461555
15471556 /* !
1548- * \brief Get the artificial compresibility factor .
1549- * \return Value of the artificial compresibility factor .
1557+ * \brief Get the epsilon^2 multiplier for Beta in the incompressible preconditioner .
1558+ * \return Value of the epsilon^2 multiplier for Beta in the incompressible preconditioner .
15501559 */
1551- su2double GetArtComp_Factor (void );
1560+ su2double GetBeta_Factor (void );
15521561
15531562 /* !
15541563 * \brief Get the value of specific gas constant.
@@ -1562,6 +1571,12 @@ class CConfig {
15621571 */
15631572 su2double GetGas_ConstantND (void );
15641573
1574+ /* !
1575+ * \brief Get the value of the molecular weight for an incompressible ideal gas (g/mol).
1576+ * \return Value of the molecular weight for an incompressible ideal gas (g/mol).
1577+ */
1578+ su2double GetMolecular_Weight (void );
1579+
15651580 /* !
15661581 * \brief Get the value of specific heat at constant pressure.
15671582 * \return Value of the constant: Cp
@@ -2825,6 +2840,12 @@ class CConfig {
28252840 */
28262841 unsigned short GetnMarker_Monitoring (void );
28272842
2843+ /* !
2844+ * \brief Get the total number of DV markers.
2845+ * \return Total number of DV markers.
2846+ */
2847+ unsigned short GetnMarker_DV (void );
2848+
28282849 /* !
28292850 * \brief Get the total number of moving markers.
28302851 * \return Total number of moving markers.
@@ -3037,6 +3058,12 @@ class CConfig {
30373058 */
30383059 bool GetWrt_Csv_Sol (void );
30393060
3061+ /* !
3062+ * \brief Get information about writing a binary coordinates file.
3063+ * \return <code>TRUE</code> means that a binary coordinates file will be written.
3064+ */
3065+ bool GetWrt_Crd_Sol (void );
3066+
30403067 /* !
30413068 * \brief Get information about writing residuals to volume solution file.
30423069 * \return <code>TRUE</code> means that residuals will be written to the solution file.
@@ -3067,6 +3094,24 @@ class CConfig {
30673094 */
30683095 bool GetWrt_Halo (void );
30693096
3097+ /* !
3098+ * \brief Get information about writing the performance summary at the end of a calculation.
3099+ * \return <code>TRUE</code> means that the performance summary will be written at the end of a calculation.
3100+ */
3101+ bool GetWrt_Performance (void );
3102+
3103+ /* !
3104+ * \brief Get information about writing a template inlet profile file.
3105+ * \return <code>TRUE</code> means that a template inlet profile file will be written.
3106+ */
3107+ bool GetWrt_InletFile (void );
3108+
3109+ /* !
3110+ * \brief Set information about writing a template inlet profile file.
3111+ * \param[in] val_wrt_inletfile - flag for whether to write a template inlet profile file.
3112+ */
3113+ void SetWrt_InletFile (bool val_wrt_inletfile);
3114+
30703115 /* !
30713116 * \brief Get information about writing a 1D slice of a 2D cartesian solution.
30723117 * \return <code>TRUE</code> means that a 1D slice of a 2D cartesian solution will be written.
@@ -4372,6 +4417,24 @@ class CConfig {
43724417 */
43734418 unsigned short GetKind_Inlet (void );
43744419
4420+ /* !
4421+ * \brief Check if the inlet profile(s) are specified in an input file
4422+ * \return True if an input file is to be used for the inlet profile(s)
4423+ */
4424+ bool GetInlet_Profile_From_File (void );
4425+
4426+ /* !
4427+ * \brief Get name of the input file for the specified inlet profile.
4428+ * \return Name of the input file for the specified inlet profile.
4429+ */
4430+ string GetInlet_FileName (void );
4431+
4432+ /* !
4433+ * \brief Get the tolerance used for matching two points on a specified inlet
4434+ * \return Tolerance used for matching a point to a specified inlet
4435+ */
4436+ su2double GetInlet_Profile_Matching_Tolerance (void );
4437+
43754438 /* !
43764439 * \brief Get the type of incompressible inlet from the list.
43774440 * \return Kind of the incompressible inlet.
@@ -7639,7 +7702,7 @@ class CConfig {
76397702 * \brief Get name of the arbitrary mesh motion input file.
76407703 * \return File name of the arbitrary mesh motion input file.
76417704 */
7642- string GetMotion_FileName (void );
7705+ string GetDV_Filename (void );
76437706
76447707 /* !
76457708 * \brief Set the config options.
@@ -8318,16 +8381,28 @@ class CConfig {
83188381 bool GetAD_Mode (void );
83198382
83208383 /* !
8321- * \brief Set the maximum Beta parameter (artificial compressibility) in the domain .
8322- * \param[in] Value of the max Beta parameter (artificial compressibility) .
8384+ * \brief Set the maximum velocity^2 in the domain for the incompressible preconditioner .
8385+ * \param[in] Value of the maximum velocity^2 in the domain for the incompressible preconditioner .
83238386 */
8324- void SetMax_Beta (su2double val_maxBeta );
8387+ void SetMax_Vel2 (su2double val_max_vel2 );
83258388
83268389 /* !
8327- * \brief Get the maximum Beta parameter (artificial compressibility) in the domain.
8328- * \return Value of the max Beta parameter (artificial compressibility) in the domain.
8390+ * \brief Get the maximum velocity^2 in the domain for the incompressible preconditioner.
8391+ * \return Value of the maximum velocity^2 in the domain for the incompressible preconditioner.
8392+ */
8393+ su2double GetMax_Vel2 (void );
8394+
8395+ /* !
8396+ * \brief Set the sum of the bandwidth for writing binary restarts (to be averaged later).
8397+ * \param[in] Sum of the bandwidth for writing binary restarts.
8398+ */
8399+ void SetRestart_Bandwidth_Agg (su2double val_restart_bandwidth_sum);
8400+
8401+ /* !
8402+ * \brief Set the sum of the bandwidth for writing binary restarts (to be averaged later).
8403+ * \return Sum of the bandwidth for writing binary restarts.
83298404 */
8330- su2double GetMax_Beta (void );
8405+ su2double GetRestart_Bandwidth_Agg (void );
83318406
83328407 /* !
83338408 * \brief Get the frequency for writing the surface solution file in Dual Time.
0 commit comments