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
bool Body_Force; /*!< \brief Flag to know if a body force is included in the formulation. */
998
998
999
-
unsignedshort Kind_Streamwise_Periodic; /*!< \brief Flag to know if a body force is included in the formulation, used for periodic BC as inlet & outlet.*/
1000
-
bool Streamwise_Periodic_Temperature; /*!< \brief Use real periodicity for Energy equation or oterwise outlet source term. */
999
+
unsignedshort Kind_Streamwise_Periodic; /*!< \brief Kind of Streamwise periodic flow (pressure drop or massflow)*/
1000
+
bool Streamwise_Periodic_Temperature; /*!< \brief Use real periodicity for Energy equation or otherwise outlet source term. */
1001
1001
su2double Streamwise_Periodic_PressureDrop, /*!< \brief Value of prescribed pressure drop [Pa] which results in an artificial body force vector. */
1002
1002
Streamwise_Periodic_TargetMassFlow, /*!< \brief Value of prescribed massflow [kg/s] which results in an delta p and therefore an artificial body force vector. */
Copy file name to clipboardExpand all lines: Common/include/geometry/CPhysicalGeometry.hpp
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ class CPhysicalGeometry final : public CGeometry {
107
107
vector<int> GlobalMarkerStorageDispl;
108
108
vector<su2double> GlobalRoughness_Height;
109
109
110
-
su2double Streamwise_Periodic_RefNode[MAXNDIM] = {0}; /*!< \brief Coordinates of the reference node [m] on the receiving periodic marker, for recovered pressure/temperature computation only. Size nDim.*/
110
+
su2double Streamwise_Periodic_RefNode[MAXNDIM] = {0}; /*!< \brief Coordinates of the reference node [m] on the receiving periodic marker, for recovered pressure/temperature computation only.*/
111
111
112
112
public:
113
113
/*--- This is to suppress Woverloaded-virtual, omitting it has no negative impact. ---*/
@@ -467,12 +467,6 @@ class CPhysicalGeometry final : public CGeometry {
/* DESCRIPTION: Apply a body force as a source term for periodic boundary conditions (NONE, PRESSURE_DROP, MASSFLOW)*/
1108
+
/* DESCRIPTION: Apply a body force as a source term for periodic boundary conditions \n Options: NONE, PRESSURE_DROP, MASSFLOW \n DEFAULT: NONE \ingroup Config*/
/* DESCRIPTION: Heatflux boundary at streamwise periodic 'outlet', choose heat [W] such that net domain heatflux is zero. Only active if STREAMWISE_PERIODIC_TEMPERATURE is active. */
1112
+
/* DESCRIPTION: Heatflux boundary at streamwise periodic 'outlet', choose heat [W] such that net domain heatflux is zero. Only active if STREAMWISE_PERIODIC_TEMPERATURE is active. \n DEFAULT: 0.0 \ingroup Config */
/* DESCRIPTION: Delta pressure [Pa] on which basis body force will be computed, serves as initial value if MASSFLOW is chosen */
1114
+
/* DESCRIPTION: Delta pressure [Pa] on which basis body force will be computed, serves as initial value if MASSFLOW is chosen. \n DEFAULT: 1.0 \ingroup Config*/
/*!\brief OUTPUT_PRECISION \n DESCRIPTION: Set <ofstream>.precision(value) to specified value for SU2_DOT and HISTORY output. Useful for exact gradient validation. */
1939
+
/*!\brief OUTPUT_PRECISION \n DESCRIPTION: Set <ofstream>.precision(value) to specified value for SU2_DOT and HISTORY output. Useful for exact gradient validation. \n DEFAULT: 6 \ingroup Config */
@@ -4602,10 +4602,10 @@ void CConfig::SetPostprocessing(unsigned short val_software, unsigned short val_
4602
4602
4603
4603
/*--- Check feassbility for Streamwise Periodic flow ---*/
4604
4604
if (Kind_Streamwise_Periodic != NONE) {
4605
-
if (Kind_Solver == INC_EULER)
4606
-
SU2_MPI::Error("Streamwise Periodic Flow + Incompressible Euler: Not tested yet.", CURRENT_FUNCTION);
4607
4605
if (Kind_Regime != INCOMPRESSIBLE)
4608
4606
SU2_MPI::Error("Streamwise Periodic Flow currently only implemented for incompressible flow.", CURRENT_FUNCTION);
4607
+
if (Kind_Solver == INC_EULER)
4608
+
SU2_MPI::Error("Streamwise Periodic Flow + Incompressible Euler: Not tested yet.", CURRENT_FUNCTION);
4609
4609
if (nMarker_PerBound != 2)
4610
4610
SU2_MPI::Error("Streamwise Periodic Flow currently only implemented for one Periodic Marker pair. Combining Streamwise and Spanwise periodicity not possible in the moment.", CURRENT_FUNCTION);
4611
4611
if (Energy_Equation && Streamwise_Periodic_Temperature && nMarker_Isothermal != 0)
Copy file name to clipboardExpand all lines: SU2_CFD/include/numerics/flow/flow_sources.hpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,9 @@ class CSourceBase_Flow : public CNumerics {
41
41
su2double* residual = nullptr;
42
42
su2double** jacobian = nullptr;
43
43
su2double
44
-
Streamwise_Periodic_MassFlow, /*!< \brief Value of current massflow [kg/s] which results in an delta p and therefore an artificial body force vector. */
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
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. */
46
+
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/solvers/CIncEulerSolver.hpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,9 @@ class CIncEulerSolver : public CFVMFlowSolverBase<CIncEulerVariable, INCOMPRESSI
40
40
protected:
41
41
vector<CFluidModel*> FluidModel; /*!< \brief fluid model used in the solver. */
42
42
su2double
43
-
Streamwise_Periodic_MassFlow, /*!< \brief Value of current massflow [kg/s] which results in an delta p and therefore an artificial body force vector. */
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
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. */
45
+
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.
0 commit comments