BUG: faNVDscheme: incorrect lPN calculation for corner processor edges
Summary
As of now, the lPN edge field, calculated by edgeInterpolation, is only utilized by the faNVDscheme (and related schemes like Gamma). The calculation of the boundary field for lPN relies on the makeDeltaCoeffs function ((link)). However, when a finite-area corner edge is shared between two processors, the delta coefficients are incorrectly calculated, as shown in issue #3243 (closed). This results in incorrect lPN values for the affected edge.
Steps to reproduce
pack_2074_corner_processor_fa_edge_24Oct24.zip
Environment information
- api = 2406
- HEAD = e4f4c73b
- compiler = Clang (system) = clang version 15.0.7
- mpi = SYSTEMOPENMPI = mpirun (Open MPI) 1.10.7.0.5e373bf1fd
- OS = Description: openSUSE Leap 15.5
- opts = linux64ClangDPInt32Opt
Possible fixes
A potential solution could be to introduce a makeLPN function within the faPatch classes, designed to handle lPN calculations separately. This would differentiate its algorithm from that of makeDeltaCoeffs, allowing for more accurate processing, especially in cases where edges are shared between processors.