Skip to content
Snippets Groups Projects
Commit 8f4683c8 authored by andy's avatar andy
Browse files

BUG: Corrected nbr address in rotorDiskSource

parent fe205102
Branches
Tags
No related merge requests found
......@@ -203,7 +203,7 @@ void Foam::fv::rotorDiskSource::setFaceArea(vector& axis, const bool correct)
{
const label faceI = pp.start() + j;
const label own = cellAddr[mesh_.faceOwner()[faceI]];
const bool nbr = nbrFaceCellAddr[faceI - nInternalFaces];
const label nbr = nbrFaceCellAddr[faceI - nInternalFaces];
const vector nf = Sfp[j]/magSfp[j];
if ((own != -1) && (nbr == -1) && ((nf & axis) > tol))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment