Revert non-orthogonality treatment for non-coupled BCs.
This commit is contained in:
parent
983483df90
commit
7ea650d4ca
3 changed files with 3 additions and 13 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -83,9 +83,6 @@ public:
|
||||||
{
|
{
|
||||||
return wedgePolyPatch_.cellT();
|
return wedgePolyPatch_.cellT();
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Return cell-centre to face normal vector
|
|
||||||
virtual tmp<vectorField> delta() const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue