totalPressureFvPatchScalarField: Updated handling of tangentialVelocity

This commit is contained in:
Henry Weller
2022-02-04 15:07:08 +00:00
parent 66600b5497
commit 05bb716bf8

View File

@ -116,9 +116,15 @@ void Foam::totalPressureFvPatchScalarField::updateCoeffs()
const scalar t = this->db().time().userTimeValue();
updateCoeffs(p0_, Up - Upiov.tangentialVelocity()->value(t));
}
else
{
updateCoeffs(p0_, Up);
}
}
else
{
updateCoeffs(p0_, Up);
}
updateCoeffs(p0_, Up);
}