Skip to content

Commit 575be82

Browse files
committed
Re-add Jacobians for HeatTransfer BC with moving walls.
1 parent 063ab9e commit 575be82

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

SU2_CFD/src/solvers/CNSSolver.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,9 @@ void CNSSolver::BC_HeatFlux_Wall_Generic(const CGeometry *geometry, const CConfi
547547
Together with cv=R/(gamma-1) the following Jacobian contributions for the energy equation can be derived. ---*/
548548
Jacobian_i[nDim+1][0] += Transfer_Coefficient * dTdrho * Area;
549549

550+
for (unsigned short iDim = 0; iDim < nDim; iDim++)
551+
Jacobian_i[nDim+1][iDim+1] -= Transfer_Coefficient * dTdrhoe * nodes->GetVelocity(iPoint, iDim) * Area;
552+
550553
Jacobian_i[nDim+1][nDim+1] += Transfer_Coefficient * dTdrhoe * Area;
551554

552555
}

0 commit comments

Comments
 (0)