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. */
995
-
su2double *Body_Force_Vector; /*!< \brief Values of the prescribed body force vector. */
996
995
997
996
unsignedshort Kind_Streamwise_Periodic; /*!< \brief Flag to know if a body force is included in the formulation, used for periodic BC as inlet & outlet. */
998
997
bool Streamwise_Periodic_Temperature; /*!< \brief Use real periodicity for Energy equation or oterwise outlet source term. */
Copy file name to clipboardExpand all lines: Common/include/geometry/CPhysicalGeometry.hpp
+2-2Lines changed: 2 additions & 2 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 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. Size nDim.*/
111
111
112
112
public:
113
113
/*--- This is to suppress Woverloaded-virtual, omitting it has no negative impact. ---*/
@@ -471,7 +471,7 @@ class CPhysicalGeometry final : public CGeometry {
471
471
* \brief For streamwise periodicity, find a unique reference node on the designated inlet.
472
472
* \param[in] config - Definition of the particular problem.
Copy file name to clipboardExpand all lines: Common/src/CConfig.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4598,8 +4598,8 @@ void CConfig::SetPostprocessing(unsigned short val_software, unsigned short val_
4598
4598
SU2_MPI::Error("No MARKER_ISOTHERMAL marker allowed with STREAMWISE_PERIODIC_TEMPERATURE= YES, only MARKER_HEATFLUX & MARKER_SYM.", CURRENT_FUNCTION);
4599
4599
if (DiscreteAdjoint && Kind_Streamwise_Periodic == MASSFLOW)
4600
4600
SU2_MPI::Error("Discrete Adjoint currently not validated for prescribed MASSFLOW.", CURRENT_FUNCTION);
4601
-
if (Ref_Inc_NonDim != DIMENSIONAL && false)
4602
-
SU2_MPI::Error("Streamwise Periodicity only works with \"INC_NONDIM= DIMENSIONAL\"", CURRENT_FUNCTION);
4601
+
if (Ref_Inc_NonDim != DIMENSIONAL)
4602
+
SU2_MPI::Error("Streamwise Periodicity only works with \"INC_NONDIM= DIMENSIONAL\", the nondimensionalization with source terms doesn;t work in general.", CURRENT_FUNCTION);
4603
4603
if (Axisymmetric)
4604
4604
SU2_MPI::Error("Streamwise Periodicity terms does not not have axisymmetric corrections.", CURRENT_FUNCTION);
const su2double delta_p = config->GetStreamwise_Periodic_PressureDrop() / config->GetPressure_Ref(); /*!< \brief Value of prescribed pressure drop which results in an artificial body force vector. */
695
+
/*!< \brief Value of prescribed pressure drop which results in an artificial body force vector. */
0 commit comments