From 5a9fba7a78a99f43f621aabf5ff8f46a7b348438 Mon Sep 17 00:00:00 2001 From: Yeongdo Park Date: Thu, 6 Sep 2018 08:09:20 +0000 Subject: [PATCH] modified patch normal field type --- flowRateTiltedInletVelocityFvPatchVectorField.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flowRateTiltedInletVelocityFvPatchVectorField.C b/flowRateTiltedInletVelocityFvPatchVectorField.C index 3ecb5e8..6f52306 100644 --- a/flowRateTiltedInletVelocityFvPatchVectorField.C +++ b/flowRateTiltedInletVelocityFvPatchVectorField.C @@ -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 n = patch().nf(); + vectorField n(patch().nf()); scalarField B(Foam::asin(n & axis_));