Nalu
Nalu copied to clipboard
NOC on/off not fully working
The user has an ability to specify NOC for the diffusion operator when using the edge-based scheme. However, it looks like this is not fully active for all of the equations - only continuity.
Add the following to all scalar equations (Momentum, Scalar, and HeatCond):
// extract noc
const std::string dofName = "pressure";
const double nocFac
= (realm_.get_noc_usage(dofName) == true) ? 1.0 : 0.0;