Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfooted committed Mar 29, 2024
1 parent 85ceb0c commit 946e7e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SU2_CFD/include/solvers/CFVMFlowSolverBase.inl
Original file line number Diff line number Diff line change
Expand Up @@ -1195,9 +1195,11 @@ void CFVMFlowSolverBase<V, R>::BC_Sym_Plane(CGeometry* geometry, CSolver** solve
vel[iDim] -= vp * UnitNormal[iDim];

nodes->SetVel_ResTruncError_Zero(iPoint);

su2double Solution[MAXNVAR] = {0.0};
for (unsigned short iVar = 0; iVar < nVar; iVar++)
Solution[iVar] = nodes->GetSolution(iPoint,iVar);
// overwrite solution with the new velocity
for(unsigned short iDim = 0; iDim < nDim; iDim++)
Solution[iDim+1] = vel[iDim];

Expand Down

0 comments on commit 946e7e8

Please sign in to comment.