LCOV - code coverage report
Current view: top level - include/kernels - INSTemperature.h (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 1 1 100.0 %
Date: 2025-08-14 10:14:56 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             : #pragma once
      11             : 
      12             : #include "Kernel.h"
      13             : 
      14             : // Forward Declarations
      15             : 
      16             : /**
      17             :  * This class computes the residual and Jacobian contributions for the
      18             :  * incompressible Navier-Stokes temperature (energy) equation.
      19             :  */
      20             : class INSTemperature : public Kernel
      21             : {
      22             : public:
      23             :   static InputParameters validParams();
      24             : 
      25             :   INSTemperature(const InputParameters & parameters);
      26             : 
      27         124 :   virtual ~INSTemperature() {}
      28             : 
      29             : protected:
      30             :   virtual Real computeQpResidual();
      31             :   virtual Real computeQpJacobian();
      32             :   virtual Real computeQpOffDiagJacobian(unsigned jvar);
      33             : 
      34             :   // Coupled variables
      35             :   const VariableValue & _u_vel;
      36             :   const VariableValue & _v_vel;
      37             :   const VariableValue & _w_vel;
      38             : 
      39             :   // Variable numberings
      40             :   unsigned _u_vel_var_number;
      41             :   unsigned _v_vel_var_number;
      42             :   unsigned _w_vel_var_number;
      43             : 
      44             :   // Required parameters
      45             :   const MaterialProperty<Real> & _rho;
      46             :   const MaterialProperty<Real> & _k;
      47             :   const MaterialProperty<Real> & _cp;
      48             : };

Generated by: LCOV version 1.14