modified patch normal field type

This commit is contained in:
Yeongdo Park 2018-09-06 08:09:20 +00:00
parent dd8777480a
commit 5a9fba7a78

View file

@ -173,7 +173,7 @@ void Foam::flowRateTiltedInletVelocityFvPatchVectorField::updateCoeffs()
// a simpler way of doing this would be nice
const scalar avgU = -flowRate_->value(t)/gSum(patch().magSf());
tmp<vectorField> n = patch().nf();
vectorField n(patch().nf());
scalarField B(Foam::asin(n & axis_));