totalPressureFvPatchScalarField: Updated handling of tangentialVelocity
This commit is contained in:
@ -116,10 +116,16 @@ void Foam::totalPressureFvPatchScalarField::updateCoeffs()
|
|||||||
const scalar t = this->db().time().userTimeValue();
|
const scalar t = this->db().time().userTimeValue();
|
||||||
updateCoeffs(p0_, Up - Upiov.tangentialVelocity()->value(t));
|
updateCoeffs(p0_, Up - Upiov.tangentialVelocity()->value(t));
|
||||||
}
|
}
|
||||||
}
|
else
|
||||||
|
{
|
||||||
updateCoeffs(p0_, Up);
|
updateCoeffs(p0_, Up);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
updateCoeffs(p0_, Up);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void Foam::totalPressureFvPatchScalarField::write(Ostream& os) const
|
void Foam::totalPressureFvPatchScalarField::write(Ostream& os) const
|
||||||
|
|||||||
Reference in New Issue
Block a user