Skip to content

Commit 3e61320

Browse files
committed
initial commit
Signed-off-by: jtneedels <jneedels@stanford.edu>
1 parent cea9862 commit 3e61320

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

SU2_CFD/include/solvers/CFVMFlowSolverBase.inl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2577,20 +2577,13 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
25772577
const auto& thermal_conductivity_tr = nodes->GetThermalConductivity(iPoint);
25782578
const auto& thermal_conductivity_ve = nodes->GetThermalConductivity_ve(iPoint);
25792579
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);
25872580

25882581
su2double dTn = GeometryToolbox::DotProduct(nDim, Grad_PrimVar[T_INDEX], UnitNormal);
25892582
su2double dTven = GeometryToolbox::DotProduct(nDim, Grad_PrimVar[TVE_INDEX], UnitNormal);
25902583

25912584
/*--- Surface energy balance: trans-rot heat flux, vib-el heat flux,
25922585
enthalpy transport due to mass diffusion ---*/
2593-
HeatFlux[iMarker][iVertex] = thermal_conductivity_tr*dTn + thermal_conductivity_ve*dTven + sumJhs;
2586+
HeatFlux[iMarker][iVertex] = thermal_conductivity_tr*dTn + thermal_conductivity_ve*dTven;
25942587
}
25952588

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

0 commit comments

Comments
 (0)