Bugfix: FVM functionality must use fvMesh and fvPatch data only. Immersed boundary support

This commit is contained in:
Hrvoje Jasak 2018-12-04 12:31:46 +00:00
parent 4b4856b9f6
commit 4e4caff5c6

View file

@ -129,7 +129,7 @@ void Foam::leastSquaresVectors::makeLeastSquaresVectors() const
forAll (lsP.boundaryField(), patchI) forAll (lsP.boundaryField(), patchI)
{ {
const fvPatch& p = mesh().boundary()[patchI]; const fvPatch& p = mesh().boundary()[patchI];
const unallocLabelList& fc = p.patch().faceCells(); const unallocLabelList& fc = p.faceCells();
// Better version of d-vectors: Zeljko Tukovic, 25/Apr/2010 // Better version of d-vectors: Zeljko Tukovic, 25/Apr/2010
const vectorField pd = p.delta(); const vectorField pd = p.delta();