Revert non-orthogonality treatment for non-coupled BCs.

This commit is contained in:
Henry
2014-07-06 20:20:16 +01:00
committed by Andrew Heather
parent 145029c67f
commit e9a7c2baae
3 changed files with 3 additions and 13 deletions

View File

@ -46,15 +46,6 @@ wedgeFvPatch::wedgeFvPatch(const polyPatch& patch, const fvBoundaryMesh& bm)
{} {}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
Foam::tmp<Foam::vectorField> Foam::wedgeFvPatch::delta() const
{
const vectorField nHat(nf());
return nHat*(nHat & (Cf() - Cn()));
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam } // End namespace Foam

View File

@ -83,9 +83,6 @@ public:
{ {
return wedgePolyPatch_.cellT(); return wedgePolyPatch_.cellT();
} }
//- Return cell-centre to face normal vector
virtual tmp<vectorField> delta() const;
}; };

View File

@ -140,7 +140,9 @@ const Foam::scalarField& Foam::fvPatch::magSf() const
Foam::tmp<Foam::vectorField> Foam::fvPatch::delta() const Foam::tmp<Foam::vectorField> Foam::fvPatch::delta() const
{ {
return Cf() - Cn(); // Use patch-normal delta for all non-coupled BCs
const vectorField nHat(nf());
return nHat*(nHat & (Cf() - Cn()));
} }