Nalu icon indicating copy to clipboard operation
Nalu copied to clipboard

NOC on/off not fully working

Open spdomin opened this issue 2 years ago • 0 comments

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;

spdomin avatar Mar 21 '22 18:03 spdomin