mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
MRFZone: Filter-out excluded patches from ddtCorr
This commit is contained in:
@ -235,6 +235,14 @@ void Foam::MRFZone::zero
|
|||||||
phibf[patchi][includedFaces_[patchi][i]] = Zero;
|
phibf[patchi][includedFaces_[patchi][i]] = Zero;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
forAll(excludedFaces_, patchi)
|
||||||
|
{
|
||||||
|
forAll(excludedFaces_[patchi], i)
|
||||||
|
{
|
||||||
|
phibf[patchi][excludedFaces_[patchi][i]] = Zero;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user