LCOV - code coverage report
Current view: top level - include/fvkernels - INSFVTurbulentAdvection.h (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 0 1 0.0 %
Date: 2025-08-14 10:14:56 Functions: 0 1 0.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             : #pragma once
      11             : 
      12             : #include "INSFVAdvectionKernel.h"
      13             : 
      14             : /**
      15             :  * Computes the advection term with the assumption that the advected quantity will have special wall
      16             :  * treatments associated with turbulence.
      17             :  */
      18             : class INSFVTurbulentAdvection : public INSFVAdvectionKernel
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             :   virtual void initialSetup() override;
      23             :   INSFVTurbulentAdvection(const InputParameters & params);
      24             : 
      25           0 :   bool hasMaterialTimeDerivative() const override { return false; }
      26             : 
      27             : protected:
      28             :   ADReal computeQpResidual() override;
      29             :   using INSFVAdvectionKernel::computeResidual;
      30             :   void computeResidual(const FaceInfo & fi) override;
      31             :   using INSFVAdvectionKernel::computeJacobian;
      32             :   void computeJacobian(const FaceInfo & fi) override;
      33             : 
      34             :   // Density
      35             :   const Moose::Functor<ADReal> & _rho;
      36             : 
      37             :   /// Wall boundaries
      38             :   const std::vector<BoundaryName> & _wall_boundary_names;
      39             : 
      40             :   /// List for wall treatment
      41             :   std::unordered_set<const Elem *> _wall_bounded;
      42             : 
      43             :   /// Whether to remove the derivative of this term wrt to velocity
      44             :   const bool _neglect_advection_derivatives;
      45             : };

Generated by: LCOV version 1.14