Skip to content

Commit f6c9576

Browse files
authored
Update CScalarSolver.inl
Added comment on use of current density
1 parent c4890d0 commit f6c9576

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

SU2_CFD/include/solvers/CScalarSolver.inl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ void CScalarSolver<VariableType>::CompleteImplicitIteration(CGeometry* geometry,
503503
SU2_OMP_FOR_STAT(omp_chunk_size)
504504
for (unsigned long iPoint = 0; iPoint < nPointDomain; iPoint++) {
505505
/*--- Multiply the Solution var with density to get the conservative transported quantity, if necessary. ---*/
506+
/* Note that for consistency with residual and jacobian calaulcations, use of current density for conservative variables
507+
* of the old solution is used. see pull request https://github.com/su2code/SU2/pull/2458*/
506508
const su2double density = flowNodes->GetDensity(iPoint);
507509

508510
for (unsigned short iVar = 0; iVar < nVar; iVar++) {

0 commit comments

Comments
 (0)