@@ -1097,6 +1097,7 @@ class CConfig {
10971097 bool SpatialFourier; /* !< \brief option for computing the fourier transforms for subsonic non-reflecting BC. */
10981098 bool RampMotionFrame; /* !< \brief option for ramping up or down the motion Frame values */
10991099 bool RampOutlet; /* !< \brief option for ramping up or down the outlet values */
1100+ bool RampMUSCL;
11001101 bool RampRotatingFrame; /* !< \brief option for ramping up or down the motion Frame values */
11011102 bool RampTranslationFrame; /* !< \brief option for ramping up or down the outlet values */
11021103 bool RampOutletMassFlow; /* !< \brief option for ramping up or down the motion Frame values */
@@ -1113,6 +1114,11 @@ class CConfig {
11131114 array<su2double, N_POLY_COEFFS> kt_polycoeffs{{0.0 }}; /* !< \brief Array for thermal conductivity polynomial coefficients. */
11141115 bool Body_Force; /* !< \brief Flag to know if a body force is included in the formulation. */
11151116
1117+ su2double rampMUSCLValue; /* !< \brief Current value of the MUSCL ramp */
1118+ su2double RampMUSCLPower; /* !< \brief Exponent by which to raise the MUSCL ramp to the power of */
1119+ MUSCL_RAMP_TYPE Kind_MUSCLRamp;
1120+ unsigned long *rampMUSCLCoeff; /* !< \brief ramp MUSCL value coefficients for the COption class. */
1121+
11161122 ENUM_STREAMWISE_PERIODIC Kind_Streamwise_Periodic; /* !< \brief Kind of Streamwise periodic flow (pressure drop or massflow) */
11171123 bool Streamwise_Periodic_Temperature; /* !< \brief Use real periodicity for Energy equation or otherwise outlet source term. */
11181124 su2double Streamwise_Periodic_PressureDrop; /* !< \brief Value of prescribed pressure drop [Pa] which results in an artificial body force vector. */
@@ -5179,6 +5185,12 @@ class CConfig {
51795185 */
51805186 bool GetRampOutflow (void ) const { return RampOutlet; }
51815187
5188+ /* !
5189+ * \brief Get MUSCL ramp option.
5190+ * \return Ramp MUSCL option
5191+ */
5192+ bool GetMUSCLRamp (void ) const { return RampMUSCL; }
5193+
51825194 /* !
51835195 * \brief General interface for accessing ramp coefficient information
51845196 * \return coeff for ramps
@@ -5189,6 +5201,37 @@ class CConfig {
51895201 else return 0 ;
51905202 };
51915203
5204+ /* !
5205+ * \brief Interface for accessing MUSCL ramp coefficient information
5206+ * \return coeff for ramps
5207+ */
5208+ unsigned long GetMUSCLRampCoeff (RAMP_COEFF val_coeff) const {
5209+ return rampMUSCLCoeff[val_coeff];
5210+ }
5211+
5212+ /* !
5213+ * \brief Set MUSCL ramp value.
5214+ */
5215+ void SetMUSCLRampValue (su2double ramp_value) { rampMUSCLValue = ramp_value; }
5216+
5217+ /* !
5218+ * \brief Get MUSCL ramp value.
5219+ * \return Ramp MUSCL value
5220+ */
5221+ su2double GetMUSCLRampValue (void ) const { return rampMUSCLValue; }
5222+
5223+ /* !
5224+ * \brief Get MUSCL ramp power.
5225+ * \return Ramp MUSCL power
5226+ */
5227+ su2double GetMUSCLRampPower (void ) const { return RampMUSCLPower; }
5228+
5229+ /* !
5230+ * \brief Get MUSCL ramp kind.
5231+ * \return Ramp MUSCL kind
5232+ */
5233+ MUSCL_RAMP_TYPE GetKind_MUSCLRamp (void ) const { return Kind_MUSCLRamp; }
5234+
51925235 /* !
51935236 * \brief Generic interface for setting monitor outlet values for the ramp.
51945237 */
0 commit comments