You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* \brief Container to hold Variables for streamwise Periodic flow as they are often used together in places.
2275
+
*/
2276
+
structStreamwisePeriodicValues {
2277
+
su2double Streamwise_Periodic_PressureDrop; /*!< \brief Value of prescribed pressure drop [Pa] which results in an artificial body force vector. */
2278
+
su2double Streamwise_Periodic_MassFlow; /*!< \brief Value of current massflow [kg/s] which results in a delta p and therefore an artificial body force vector. */
2279
+
su2double Streamwise_Periodic_IntegratedHeatFlow; /*!< \brief Value of of the net sum of heatflow [W] into the domain. */
2280
+
su2double Streamwise_Periodic_InletTemperature; /*!< \brief Area avg static Temp [K] at the periodic inlet. Used for adaptive outlet heatsink. */
Copy file name to clipboardExpand all lines: SU2_CFD/include/numerics/flow/flow_sources.hpp
+6-8Lines changed: 6 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -40,10 +40,7 @@ class CSourceBase_Flow : public CNumerics {
40
40
protected:
41
41
su2double* residual = nullptr;
42
42
su2double** jacobian = nullptr;
43
-
su2double
44
-
Streamwise_Periodic_MassFlow, /*!< \brief Value of current massflow [kg/s] which results in a delta p and therefore an artificial body force vector. */
45
-
Streamwise_Periodic_IntegratedHeatFlow, /*!< \brief Value of of the net sum of heatflow [W] into the domain. */
46
-
Streamwise_Periodic_InletTemperature; /*!< \brief Area avg static Temp [K] at the periodic inlet. Used for adaptive outlet heatsink. */
43
+
structStreamwisePeriodicValues SPvals;
47
44
48
45
/*!
49
46
* \brief Constructor of the class.
@@ -65,10 +62,11 @@ class CSourceBase_Flow : public CNumerics {
65
62
* \param[in] integratedHeat - integrated heatflow over heatflux boundaries [W].
66
63
* \param[in] inletTemp - massflow averaged periodic inlet temperature [K].
vector<CFluidModel*> FluidModel; /*!< \brief fluid model used in the solver. */
42
-
su2double
43
-
Streamwise_Periodic_MassFlow,/*!< \brief Value of current massflow [kg/s] which results in a delta p and therefore an artificial body force vector. */
44
-
Streamwise_Periodic_IntegratedHeatFlow,/*!< \brief Value of of the net sum of heatflow [W] into the domain. */
45
-
Streamwise_Periodic_InletTemperature; /*!< \brief Area avg static Temp [K] at the periodic inlet. Used for adaptive outlet heatsink. */
42
+
su2double Streamwise_Periodic_PressureDrop; /*!< \brief Value of prescribed pressure drop [Pa] which results in an artificial body force vector. */
43
+
su2double Streamwise_Periodic_MassFlow;/*!< \brief Value of current massflow [kg/s] which results in a delta p and therefore an artificial body force vector. */
44
+
su2double Streamwise_Periodic_IntegratedHeatFlow;/*!< \brief Value of of the net sum of heatflow [W] into the domain. */
45
+
su2double Streamwise_Periodic_InletTemperature; /*!< \brief Area avg static Temp [K] at the periodic inlet. Used for adaptive outlet heatsink. */
46
46
47
47
/*!
48
48
* \brief Preprocessing actions common to the Euler and NS solvers.
@@ -400,6 +400,12 @@ class CIncEulerSolver : public CFVMFlowSolverBase<CIncEulerVariable, INCOMPRESSI
0 commit comments