Join GitHub today
Fixed the calculation of the Darcy velocity in staggered TH #2127
Follow up PR #2124, this PR fixes a bug in the calculation of the Darcy velocity in the staggered TH. The bug is caused by passing wrong parameters to the arguments of the velocity calculation function.
To fix the bug and also make the source code more readable, process indices are introduced in the local assembler of the staggered scheme for HT.
Due to the partitioning of nodal/element properties being available now, the number of parallel compute cores for the two related benchmarks are increased to three from one.
@chleh That benchmark, which sounds like a sensitive analysis, gets slightly difference between the reference result and the result by the present master branch by using either the monolithic scheme or the staggered scheme. Since that benchmark is marked as LARGE, it is not checked on jenkins. For which change in the code for the slight discrepancy on results is still under investigating . The other benchmarks are OK.