From f3fb9b38c1b8482da79299b12f1158a67aa7c182 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Wed, 24 Apr 2019 12:26:20 +0100 Subject: [PATCH] coordinateSystems::cylindrical: Corrected addressing of the rotation tensor for a cellZone --- .../coordinateSystems/coordinateRotation/cylindrical.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.C b/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.C index 184a7b2013..de8aeeed02 100644 --- a/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.C +++ b/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.C @@ -209,7 +209,7 @@ void Foam::cylindrical::updateCells vector dir = cc[celli] - origin_; dir /= mag(dir) + vSmall; - R[celli] = this->R(dir); + R[i] = this->R(dir); } }