From ac33056c5c2cea0a1bb18c3db4047ad8d7732548 Mon Sep 17 00:00:00 2001 From: Max Aehle Date: Fri, 17 Sep 2021 15:24:03 +0200 Subject: [PATCH] Register TauWall as preaccumulation input --- SU2_CFD/src/numerics/flow/flow_diffusion.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SU2_CFD/src/numerics/flow/flow_diffusion.cpp b/SU2_CFD/src/numerics/flow/flow_diffusion.cpp index 4f76a70b4a1..153f9069562 100644 --- a/SU2_CFD/src/numerics/flow/flow_diffusion.cpp +++ b/SU2_CFD/src/numerics/flow/flow_diffusion.cpp @@ -365,6 +365,7 @@ CNumerics::ResidualType<> CAvgGrad_Flow::ComputeResidual(const CConfig* config) AD::SetPreaccIn(PrimVar_Grad_i, nDim+1, nDim); AD::SetPreaccIn(PrimVar_Grad_j, nDim+1, nDim); AD::SetPreaccIn(turb_ke_i); AD::SetPreaccIn(turb_ke_j); + AD::SetPreaccIn(TauWall_i); AD::SetPreaccIn(TauWall_j); AD::SetPreaccIn(Normal, nDim); unsigned short iVar, jVar, iDim; @@ -549,6 +550,7 @@ CNumerics::ResidualType<> CAvgGradInc_Flow::ComputeResidual(const CConfig* confi AD::SetPreaccIn(PrimVar_Grad_i, nVar, nDim); AD::SetPreaccIn(PrimVar_Grad_j, nVar, nDim); AD::SetPreaccIn(turb_ke_i); AD::SetPreaccIn(turb_ke_j); + AD::SetPreaccIn(TauWall_i); AD::SetPreaccIn(TauWall_j); AD::SetPreaccIn(Normal, nDim); unsigned short iVar, jVar, iDim; @@ -866,6 +868,7 @@ CNumerics::ResidualType<> CGeneralAvgGrad_Flow::ComputeResidual(const CConfig* c AD::SetPreaccIn(PrimVar_Grad_i, nDim+1, nDim); AD::SetPreaccIn(PrimVar_Grad_j, nDim+1, nDim); AD::SetPreaccIn(turb_ke_i); AD::SetPreaccIn(turb_ke_j); + AD::SetPreaccIn(TauWall_i); AD::SetPreaccIn(TauWall_j); AD::SetPreaccIn(Normal, nDim); unsigned short iVar, jVar, iDim;