mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: waveModel - set U to zero in else branch
This commit is contained in:
@ -384,6 +384,10 @@ void Foam::waveModel::correct(const scalar t)
|
|||||||
|
|
||||||
U_[facei].x() += UCorr;
|
U_[facei].x() += UCorr;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
U_[facei] = vector::zero;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user