Revert change: use fvMesh C for immersed boundary
This commit is contained in:
parent
0749aa1670
commit
18f62ca66a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Reference in a new issue