LCOV - code coverage report
Current view: top level - src/fvkernels - PINSFVMomentumAdvection.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: ba1ead Lines: 8 9 88.9 %
Date: 2025-08-13 06:50:25 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://mooseframework.inl.gov
       3             : //*
       4             : //* All rights reserved, see COPYRIGHT for full restrictions
       5             : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
       6             : //*
       7             : //* Licensed under LGPL 2.1, please see LICENSE for details
       8             : //* https://www.gnu.org/licenses/lgpl-2.1.html
       9             : 
      10             : #include "PINSFVMomentumAdvection.h"
      11             : #include "FVUtils.h"
      12             : #include "MathFVUtils.h"
      13             : #include "NS.h"
      14             : #include "INSFVRhieChowInterpolator.h"
      15             : #include "BernoulliPressureVariable.h"
      16             : 
      17             : registerMooseObject("NavierStokesApp", PINSFVMomentumAdvection);
      18             : 
      19             : InputParameters
      20       10504 : PINSFVMomentumAdvection::validParams()
      21             : {
      22       10504 :   auto params = INSFVMomentumAdvection::validParams();
      23       10504 :   params.addClassDescription("Object for advecting superficial momentum, e.g. rho*u_d, "
      24             :                              "in the porous media momentum equation");
      25       10504 :   params.addRequiredParam<MooseFunctorName>(NS::porosity, "Porosity");
      26       10504 :   return params;
      27           0 : }
      28             : 
      29        5914 : PINSFVMomentumAdvection::PINSFVMomentumAdvection(const InputParameters & params)
      30        5914 :   : INSFVMomentumAdvection(params), _eps(getFunctor<ADReal>(NS::porosity))
      31             : {
      32        5914 : }

Generated by: LCOV version 1.14