mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Revert non-orthogonality treatment for non-coupled BCs.
This commit is contained in:
@ -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()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user