Skip to content

Commit 4374f7e

Browse files
committed
Merge remote-tracking branch 'origin/develop' into feature_NEMO_euler_implicit
2 parents e4890a7 + bba499e commit 4374f7e

5 files changed

Lines changed: 11 additions & 18 deletions

File tree

AUTHORS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,15 @@ Ethan Alan Hereth
7070
Florian Dittmann
7171
Francisco D. Palacios
7272
Gaurav Bansal
73+
Giacomo Baldan
7374
Giulio Gori
7475
Guillaume Bâty
7576
Harichand M V
7677
HL Kline
7778
IndianaStokes
7879
J. Sinsay
7980
JSmith36
81+
Jacob Needels
8082
Jairo Paes Cavalcante Filho
8183
Jason Howison
8284
Jayant Mukhopadhaya
@@ -124,7 +126,6 @@ aaronyicongfu
124126
aeroamit
125127
anilvar
126128
band-a-prend
127-
baldang
128129
chamsolli
129130
costat
130131
daniel-linton
@@ -134,7 +135,6 @@ erangit
134135
flo
135136
fmpmorgado
136137
garcgutierrez
137-
jtneedels
138138
juliendm
139139
jvanoostrom
140140
mcolonno

Common/include/code_config.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
* You should have received a copy of the GNU Lesser General Public
2525
* License along with SU2. If not, see <http://www.gnu.org/licenses/>.
2626
*/
27-
2827
#pragma once
2928

3029
#include <type_traits>

SU2_CFD/include/output/filewriter/CCGNSFileWriter.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
#pragma once
2929

3030
#ifdef HAVE_CGNS
31+
#ifdef __MINGW32__
32+
#include <basetsd.h>
33+
#endif
3134
#include "cgnslib.h"
3235
#endif
3336

@@ -79,7 +82,7 @@ class CCGNSFileWriter final : public CFileWriter {
7982
* \brief Write sorted data to file in CGNS file format.
8083
*/
8184
void Write_Data() override;
82-
85+
8386
private:
8487
#ifdef HAVE_CGNS
8588
/*!

SU2_CFD/include/solvers/CFVMFlowSolverBase.inl

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2392,7 +2392,7 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
23922392

23932393
unsigned long iVertex, iPoint, iPointNormal;
23942394
unsigned short iMarker, iMarker_Monitoring, iDim, jDim;
2395-
unsigned short T_INDEX = 0, TVE_INDEX = 0, VEL_INDEX = 0, RHOS_INDEX = 0;
2395+
unsigned short T_INDEX = 0, TVE_INDEX = 0, VEL_INDEX = 0;
23962396
su2double Viscosity = 0.0, WallDist[3] = {0.0}, Area, Density = 0.0, GradTemperature = 0.0,
23972397
UnitNormal[3] = {0.0}, TauElem[3] = {0.0}, TauTangent[3] = {0.0}, Tau[3][3] = {{0.0}}, Cp,
23982398
thermal_conductivity, MaxNorm = 8.0, Grad_Vel[3][3] = {{0.0}}, Grad_Temp[3] = {0.0}, AxiFactor;
@@ -2572,25 +2572,16 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
25722572

25732573
} else {
25742574

2575-
unsigned short iSpecies, nSpecies = config->GetnSpecies();
2576-
25772575
const auto& thermal_conductivity_tr = nodes->GetThermalConductivity(iPoint);
25782576
const auto& thermal_conductivity_ve = nodes->GetThermalConductivity_ve(iPoint);
25792577
const auto& Grad_PrimVar = nodes->GetGradient_Primitive(iPoint);
2580-
const auto& Ds = nodes->GetDiffusionCoeff(iPoint);
2581-
const auto& hs = nodes->GetEnthalpys(iPoint);
2582-
2583-
/*--- Compute enthalpy transport to surface due to mass diffusion ---*/
2584-
su2double sumJhs = 0.0;
2585-
for (iSpecies = 0; iSpecies < nSpecies; iSpecies++)
2586-
sumJhs += Ds[iSpecies]*hs[iSpecies]*GeometryToolbox::DotProduct(nDim, Grad_PrimVar[RHOS_INDEX+iSpecies], UnitNormal);
25872578

25882579
su2double dTn = GeometryToolbox::DotProduct(nDim, Grad_PrimVar[T_INDEX], UnitNormal);
25892580
su2double dTven = GeometryToolbox::DotProduct(nDim, Grad_PrimVar[TVE_INDEX], UnitNormal);
25902581

25912582
/*--- Surface energy balance: trans-rot heat flux, vib-el heat flux,
25922583
enthalpy transport due to mass diffusion ---*/
2593-
HeatFlux[iMarker][iVertex] = thermal_conductivity_tr*dTn + thermal_conductivity_ve*dTven + sumJhs;
2584+
HeatFlux[iMarker][iVertex] = thermal_conductivity_tr*dTn + thermal_conductivity_ve*dTven;
25942585
}
25952586

25962587
/*--- Note that y+, and heat are computed at the

SU2_CFD/src/output/COutput.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
* License along with SU2. If not, see <http://www.gnu.org/licenses/>.
2626
*/
2727

28+
#include "../../../Common/include/geometry/CGeometry.hpp"
29+
#include "../../include/solvers/CSolver.hpp"
30+
2831
#include "../../include/output/COutput.hpp"
2932
#include "../../include/output/filewriter/CFVMDataSorter.hpp"
3033
#include "../../include/output/filewriter/CFEMDataSorter.hpp"
@@ -44,9 +47,6 @@
4447
#include "../../include/output/filewriter/CSU2MeshFileWriter.hpp"
4548

4649

47-
#include "../../../Common/include/geometry/CGeometry.hpp"
48-
#include "../../include/solvers/CSolver.hpp"
49-
5050
COutput::COutput(const CConfig *config, unsigned short ndim, bool fem_output):
5151
rank(SU2_MPI::GetRank()),
5252
size(SU2_MPI::GetSize()),

0 commit comments

Comments
 (0)