Revert change: use fvMesh C for immersed boundary

This commit is contained in:
Hrvoje Jasak 2018-05-15 10:53:12 +01:00
parent 0749aa1670
commit 18f62ca66a

View file

@ -146,8 +146,8 @@ tmp<vectorField> fvPatch::Cn() const
// Get reference to global cell centres
// Bugfix: access cell centres from fvMesh data, not polyMesh.
// HJ, 30/Nov/2017
// const vectorField& gcc = boundaryMesh().mesh().C().internalField();
const vectorField& gcc = boundaryMesh().mesh().cellCentres();
const vectorField& gcc = boundaryMesh().mesh().C().internalField();
// const vectorField& gcc = boundaryMesh().mesh().cellCentres();
forAll (faceCells, faceI)
{