LCOV - code coverage report
Current view: top level - src/fvbcs - INSFVSymmetryPressureBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 10 11 90.9 %
Date: 2025-08-14 10:14:56 Functions: 3 3 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 "INSFVSymmetryPressureBC.h"
      11             : #include "InputParameters.h"
      12             : 
      13             : registerMooseObject("NavierStokesApp", INSFVSymmetryPressureBC);
      14             : registerMooseObject("NavierStokesApp", INSFVSymmetryScalarBC);
      15             : 
      16             : InputParameters
      17        3803 : INSFVSymmetryPressureBC::validParams()
      18             : {
      19        3803 :   auto params = FVFluxBC::validParams();
      20        3803 :   params += INSFVSymmetryBC::validParams();
      21        3803 :   params.addClassDescription("Though not applied to velocity, this object ensures that the "
      22             :                              "flux (velocity times the advected quantity) into a "
      23             :                              "symmetry boundary is zero. When applied to pressure for the mass "
      24             :                              "equation, this makes the normal velocity zero since density is "
      25             :                              "constant");
      26        3803 :   return params;
      27           0 : }
      28             : 
      29        2031 : INSFVSymmetryPressureBC::INSFVSymmetryPressureBC(const InputParameters & params)
      30        2031 :   : FVFluxBC(params), INSFVSymmetryBC(params)
      31             : {
      32        2031 : }
      33             : 
      34             : ADReal
      35      616010 : INSFVSymmetryPressureBC::computeQpResidual()
      36             : {
      37      616010 :   return 0;
      38             : }

Generated by: LCOV version 1.14