Skip to content

Commit 1c1cfff

Browse files
committed
Refined cirterion on decision of keeping or overwriting existing grid
velocities, should fix test case 'sine_gust'.
1 parent eb8a6ec commit 1c1cfff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SU2_CFD/src/iteration/CFluidIteration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ void CFluidIteration::SetWind_GustField(CConfig* config, CGeometry** geometry, C
388388

389389
for (iPoint = 0; iPoint < geometry[iMGlevel]->GetnPoint(); iPoint++) {
390390
/*--- Reset the Grid Velocity to zero if there is no grid movement ---*/
391-
if (Kind_Grid_Movement == GUST && !(config->GetFSI_Simulation()) && !(config->GetDynamic_Grid())) {
391+
if (Kind_Grid_Movement == GUST && !(config->GetFSI_Simulation()) && !(config->GetDeform_Mesh())) {
392392
for (iDim = 0; iDim < nDim; iDim++) geometry[iMGlevel]->nodes->SetGridVel(iPoint, iDim, 0.0);
393393
}
394394

0 commit comments

Comments
 (0)