mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
pressureInletOutletVelocityFvPatchVectorField: Corrected limiting of the scaling factor
This commit is contained in:
@ -220,7 +220,7 @@ void Foam::pressureInletOutletVelocityFvPatchVectorField::updateCoeffs()
|
||||
// scalarField magSqrUt(magSqr(tangentialVelocity_));
|
||||
// scalarField scale
|
||||
// (
|
||||
// max(sqrt((magSqrUt - magSqr(refValue()))/magSqrUt), scalar(0))
|
||||
// sqrt(max(magSqrUt - magSqr(refValue()), scalar(0))/magSqrUt)
|
||||
// );
|
||||
// refValue() += scale*tangentialVelocity_;
|
||||
refValue() += tangentialVelocity_;
|
||||
|
||||
Reference in New Issue
Block a user