mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected nbr address in rotorDiskSource
This commit is contained in:
@ -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))
|
||||
|
||||
Reference in New Issue
Block a user